/* Notifications & Dropdowns */
.nav-icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.notif-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
    border: 2px solid var(--bg-surface);
}

.notif-badge.hidden {
    display: none;
}

.glass-dropdown {
    position: absolute;
    top: 100%;
    right: -80px;
    /* Center align relative to button roughly */
    width: 320px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-top: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform-origin: top right;
    animation: dropdown-enter 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2000;
    overflow: hidden;
}

.glass-dropdown.hidden {
    display: none;
}

@keyframes dropdown-enter {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.text-btn {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 0.8rem;
    cursor: pointer;
}

.notif-list {
    max-height: 300px;
    overflow-y: auto;
}

.notif-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 12px;
    transition: background 0.2s;
    cursor: pointer;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notif-item.unread {
    background: rgba(10, 132, 255, 0.05);
}

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.notif-content {
    flex: 1;
}

.notif-text {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.empty-state {
    padding: 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}