body .glass-header-bg {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(48, 147, 247, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
}

body .glass-header-bg::before {
    display: none;
}

body.scrolled .glass-header-bg {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(48, 147, 247, 0.12);
}

body .glass-header a,
body .glass-header button {
    color: #1f3b5c;
}

body .glass-header .tilt-btn {
    box-shadow: none !important;
    text-shadow: none !important;
}

body .glass-header .logo-text-3d {
    filter: none !important;
    transition: none !important;
}

body .glass-header .auth-text-btn {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #64748B !important;
}

body .glass-header .auth-text-btn:hover {
    background: transparent !important;
    border-color: transparent !important;
    opacity: 0.7;
}

/* ========== User Dropdown ========== */
.user-dropdown-wrapper {
    position: relative;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-dropdown-trigger:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: #1f6feb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.user-email-short {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.user-dropdown-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    width: max-content;
    max-width: 320px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.user-dropdown-wrapper:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-user-info {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    background: #1f6feb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-avatar svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.dropdown-email {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    line-height: 1.4;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s ease;
    cursor: pointer;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
}

.dropdown-item:hover {
    background: #f3f4f6;
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.dropdown-logout {
    color: #dc2626;
}

.dropdown-logout svg {
    color: #dc2626;
}

.dropdown-logout:hover {
    background: #fef2f2;
}

.dropdown-form {
    display: block;
}
