/* Main Navigation Styles */
.brand-logo {
    background: rgba(99, 102, 241, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-dropdown {
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.05);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.01em;
    margin: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-chevron {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.user-profile.active .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
    animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.dropdown-user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.dropdown-user-email {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0.2rem 0 0 0;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-item {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

.logout-icon {
    font-size: 1.1rem;
}

.change-password-item {
    text-decoration: none;
}

.change-password-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
}

/* Auth Buttons */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    filter: brightness(1.1);
}

.nav-login-btn:active {
    transform: translateY(0);
}

.nav-login-btn span {
    font-size: 1.1rem;
}
