/* ==== NOTIFICATIONS DROPDOWN ==== */
.notifications-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    max-height: 480px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid rgba(234, 236, 239, 0.08);
    background: var(--Night-Black, #0b0e11);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.notifications-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==== HEADER ==== */
.notifications-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(234, 236, 239, 0.08);
}

.notifications-dropdown-title {
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}

.notifications-dropdown-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    color: var(--Muted-Gray, #8b949e);
    cursor: pointer;
    transition: all 0.2s ease;
}

.notifications-dropdown-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--Silver-White, #eaecef);
    transform: rotate(90deg);
}

/* ==== BODY ==== */
.notifications-dropdown-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    max-height: 400px;
}

.notifications-dropdown-body::-webkit-scrollbar {
    width: 6px;
}

.notifications-dropdown-body::-webkit-scrollbar-track {
    background: transparent;
}

.notifications-dropdown-body::-webkit-scrollbar-thumb {
    background: rgba(139, 148, 158, 0.3);
    border-radius: 3px;
}

.notifications-dropdown-body::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 148, 158, 0.5);
}

/* ==== NOTIFICATION ITEMS ==== */
.notification-item {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.notification-content {
    flex: 1;
    color: var(--Silver-White, #eaecef);
    font-family: Inter;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.notification-content p {
    margin: 0;
    padding: 0;
}

/* ==== EMPTY STATE ==== */
.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 16px;
}

.notification-empty svg {
    color: var(--Muted-Gray, #8b949e);
    opacity: 0.5;
}

.notification-empty-text {
    color: var(--Muted-Gray, #8b949e);
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

/* ==== RESPONSIVE STYLES ==== */

/* Tablets (768px - 1023px) */
@media (max-width: 768px) {
    .notifications-dropdown {
        width: 320px;
        max-height: 420px;
    }

    .notifications-dropdown-body {
        max-height: 340px;
    }

    .notification-item {
        padding: 10px 16px;
    }

    .notification-content {
        font-size: 12px;
        line-height: 16px;
    }

    .notifications-dropdown-header {
        padding: 14px 16px;
    }

    .notifications-dropdown-title {
        font-size: 15px;
        line-height: 22px;
    }
}

/* Mobile portrait (320px - 480px) */
@media (max-width: 480px) {
    .notifications-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 70vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }

    .notifications-dropdown.active {
        transform: translateY(0);
    }

    .notifications-dropdown-body {
        max-height: calc(70vh - 80px);
    }

    .notifications-dropdown-header {
        padding: 12px 16px;
    }

    .notifications-dropdown-title {
        font-size: 14px;
        line-height: 20px;
    }

    .notifications-dropdown-close {
        width: 26px;
        height: 26px;
    }

    .notification-item {
        padding: 10px 14px;
    }

    .notification-content {
        font-size: 11px;
        line-height: 16px;
    }

    .notification-empty {
        padding: 40px 16px;
    }

    .notification-empty svg {
        width: 40px;
        height: 40px;
    }

    .notification-empty-text {
        font-size: 13px;
        line-height: 18px;
    }
}

/* Extra small mobile (max 360px) */
@media (max-width: 360px) {
    .notifications-dropdown-body {
        max-height: calc(70vh - 70px);
    }

    .notification-item {
        padding: 8px 12px;
        gap: 8px;
    }

    .notification-content {
        font-size: 10px;
        line-height: 14px;
    }
}

