/* Notification Bell + Dropdown (shared across all pages) */
.nav-notification {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-notification-btn {
    background: none;
    border: none;
    color: var(--text, #e8e8e8);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    position: relative;
}

.nav-notification-btn:hover {
    background: rgba(255,255,255,.08);
}

.nav-notification-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: #121212f0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    z-index: 1000;
    overflow: hidden;
}

.nav-notification-dropdown.open {
    display: flex;
    flex-direction: column;
}

.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.notif-dropdown-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #e8e8e8);
}

.notif-dropdown-header a {
    font-size: 12px;
    color: var(--accent, #22c55e);
    text-decoration: none;
    cursor: pointer;
}

.notif-dropdown-header a:hover { text-decoration: underline; }

.notif-dropdown-body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}

.notif-dropdown-footer {
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.notif-dropdown-footer a {
    font-size: 13px;
    color: var(--accent, #22c55e);
    text-decoration: none;
}

.notif-dropdown-footer a:hover { text-decoration: underline; }

.notif-item {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text, #e8e8e8);
    transition: background .1s;
    border-left: 3px solid transparent;
}

.notif-item:hover { background: rgba(255,255,255,.04); }

.notif-item.unread {
    border-left-color: var(--accent, #22c55e);
    background: rgba(34,197,94,.04);
}

.notif-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.notif-type-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.6);
}

.notif-time {
    font-size: 11px;
    color: rgba(255,255,255,.4);
}

.notif-item-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.4;
}

.notif-item-body {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notif-empty {
    text-align: center;
    padding: 32px 16px;
    color: rgba(255,255,255,.35);
    font-size: 13px;
}

@media (max-width: 879px) {
    .nav-notification-dropdown {
        width: 320px;
        right: -40px;
    }
}
