/* ============================================================
   SƠN TÙNG YACHT — AUTHENTICATION & ACCOUNT STYLES
   Designed with Luxury Maritime Aesthetic: Deep Navy, Emerald Sea & Champagne Gold
   ============================================================ */

/* Guest auth pages (Login, Register, Forgot Password, Reset Password) */
.auth-page:not(.account-page),
body.has-no-header .site-main.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(24px, 5vh, 48px) 16px !important;
    position: relative;
    box-sizing: border-box;
    background-color: #061c28;
    background-image: radial-gradient(circle at center, rgba(1, 31, 57, 0.22) 0%, rgba(6, 28, 40, 0.94) 75%),
                      url('/assets/sontung/images/DJI_20251030163720_0288_D-Copy-2048x1377.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.auth-page:not(.account-page)::before,
body.has-no-header .site-main.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 23, 38, 0.82) 0%, rgba(7, 30, 48, 0.88) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Floating Return to Home Button */
.auth-back-home {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.auth-back-home:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF !important;
    transform: translateX(-3px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
    .auth-back-home {
        top: 14px;
        left: 14px;
        padding: 6px 13px;
        font-size: 12px;
    }
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    margin: auto;
}

.auth-container--wide {
    max-width: 480px;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: clamp(26px, 4vw, 36px);
    box-sizing: border-box;
}

.auth-header {
    text-align: center;
    margin-bottom: 22px;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}

.auth-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.auth-title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: clamp(20px, 2.6vw, 24px) !important;
    font-weight: 800 !important;
    color: #071E2C !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.auth-subtitle {
    font-size: 13.5px !important;
    color: #64748B !important;
    margin: 0 !important;
    line-height: 1.55 !important;
}

/* Tab Switcher */
.auth-nav-tabs {
    display: flex;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
    gap: 4px;
    border: 1px solid #E2E8F0;
}

.auth-nav-tab {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.auth-nav-tab.active {
    background: #FFFFFF;
    color: #071E2C;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Alerts */
.auth-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.auth-alert--danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.auth-alert--success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
}

.auth-alert svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

/* Form Controls */
.auth-form-group {
    margin-bottom: 16px;
    position: relative;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}

.auth-label .optional-tag {
    font-size: 11.5px;
    font-weight: 400;
    color: #94A3B8;
    margin-left: 4px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-input-wrapper:focus-within {
    background: #FFFFFF;
    border-color: #011F39;
    box-shadow: 0 0 0 3.5px rgba(1, 31, 57, 0.15);
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    color: #94A3B8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: #011F39;
}

.auth-input {
    width: 100%;
    height: 46px;
    padding: 10px 14px 10px 42px;
    font-size: 14px;
    font-family: inherit;
    color: #0F172A;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.auth-input::placeholder {
    color: #94A3B8;
}

.auth-input.is-invalid ~ .auth-input-icon,
.auth-form-group.has-error .auth-input-icon {
    color: #EF4444;
}

.auth-form-group.has-error .auth-input-wrapper,
.auth-input-wrapper:has(.auth-input.is-invalid) {
    border-color: #EF4444;
    background: #FFF5F5;
}

.auth-error-feedback {
    font-size: 12px;
    color: #DC2626;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* Password Toggle */
.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94A3B8;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.auth-password-toggle:hover {
    color: #011F39;
}

.auth-password-toggle svg {
    width: 18px;
    height: 18px;
}

/* Extras row (Remember me & Forgot password) */
.auth-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #475569;
    user-select: none;
    font-weight: 500;
}

.auth-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    accent-color: #011F39;
    cursor: pointer;
}

.auth-link {
    color: #011F39;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #071E2C;
    text-decoration: underline;
}

/* Submit Button */
.auth-btn-submit {
    width: 100%;
    height: 48px;
    background: #0B1E2E;
    color: #FFFFFF !important;
    border: none;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(11, 30, 46, 0.25);
    transition: all 0.25s ease;
}

.auth-btn-submit:hover {
    background: #14344E;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(11, 30, 46, 0.35);
    transform: translateY(-1px);
}

.auth-btn-submit:active {
    transform: translateY(0);
}

.auth-btn-submit.btn-loading {
    pointer-events: none;
    opacity: 0.85;
}

/* Footer / Switcher text */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
    font-size: 13.5px;
    color: #64748B;
}

/* Brand Copyright Tagline */
.auth-brand-copy {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.3px;
}

/* ============================================================
   CUSTOMER ACCOUNT DASHBOARD STYLES (SƠN TÙNG YACHT LUXURY)
   ============================================================ */
.account-page {
    min-height: calc(100vh - 100px);
    min-height: calc(100dvh - 100px);
    background-color: #F8FAFC;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(1, 31, 57, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(1, 31, 57, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, #EDF2F7 0%, #F8FAFC 180px, #F8FAFC 100%);
    padding-top: clamp(115px, 14vh, 145px) !important;
    padding-bottom: clamp(75px, 10vh, 130px) !important;
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
    display: block;
    position: relative;
}

.account-container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Luxury Welcome Header */
.account-welcome-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: clamp(22px, 3vw, 32px);
    padding-bottom: 22px;
    border-bottom: 1px solid #E2E8F0;
    flex-wrap: wrap;
}

.account-welcome-content {
    flex: 1 1 340px;
}

.account-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #011F39;
    background: #FDF3F2;
    border: 1px solid #FBE3E1;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.account-badge-pill svg {
    color: #0B3458;
}

.account-page-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    font-weight: 700 !important;
    color: #011F39 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25 !important;
}

.account-page-subtitle {
    font-size: 13.5px !important;
    color: #64748B !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.account-welcome-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.account-stat-chip {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 8px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 96px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.stat-chip-label {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stat-chip-val {
    font-size: 15px;
    font-weight: 800;
    color: #011F39;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-chip-val--active {
    color: #011F39;
}

.online-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 2.5px rgba(16, 185, 129, 0.25);
}

/* Grid Layout */
.account-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 960px) {
    .account-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Luxury Account Cards */
.account-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px -5px rgba(1, 31, 57, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.025);
    padding: clamp(22px, 3vw, 32px);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Sidebar Profile Header */
.account-profile-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 18px;
    position: relative;
}

.account-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
}

.account-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #071E2C 0%, #011F39 100%);
    color: #FFFFFF;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(1, 31, 57, 0.25);
    border: 3px solid #FFFFFF;
    outline: 2px solid rgba(1, 31, 57, 0.25);
}

.account-avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #D97706;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2.5px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.account-name {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #011F39;
    margin: 0 0 4px;
    line-height: 1.3;
}

/* Fixed email wrapping: graceful truncation with tooltip */
.account-email {
    font-size: 13px;
    color: #64748B;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin: 0 auto 8px;
    padding: 0 4px;
}

.account-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.2px;
    margin-top: 2px;
}

.account-tier-badge svg {
    color: #16A34A;
}

.account-phone-badge {
    font-size: 12.5px;
    color: #011F39;
    margin-top: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Sidebar Navigation Items */
.account-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-nav-item a,
.account-nav-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.nav-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F1F5F9;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.account-nav-item a:hover {
    background: #F1F5F9;
    color: #011F39;
    transform: translateX(3px);
}

.account-nav-item a:hover .nav-icon-box {
    background: #E2E8F0;
    color: #011F39;
}

.account-nav-item a.active {
    background: linear-gradient(135deg, #011F39 0%, #083358 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(1, 31, 57, 0.22);
}

.account-nav-item a.active .nav-icon-box {
    background: rgba(255, 255, 255, 0.16);
    color: #F4C32F;
}

.nav-counter-badge {
    background: #F1F5F9;
    color: #011F39;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.account-nav-item a.active .nav-counter-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.account-nav-item.logout-item {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
}

.account-nav-item.logout-item button {
    color: #E11D48;
}

.account-nav-item.logout-item button:hover {
    background: #FFF1F2;
    color: #BE123C;
    transform: translateX(3px);
}

.account-nav-item.logout-item button .nav-icon-box {
    background: #FFE4E6;
    color: #E11D48;
}

/* Tab Card Content Header */
.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #F1F5F9;
}

.account-card-title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    font-size: clamp(18px, 2.2vw, 21px) !important;
    font-weight: 800 !important;
    color: #011F39 !important;
    margin: 0 0 5px 0 !important;
    letter-spacing: -0.2px;
}

.account-card-subtitle {
    font-size: 13.5px !important;
    color: #64748B !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.account-card-icon-tag {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FDF3F2;
    border: 1px solid #FBE3E1;
    color: #011F39;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form Controls & Action Buttons */
.account-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 640px) {
    .account-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #011F39;
    background: #FBE3E1;
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 8px;
}

.readonly-wrapper {
    background: #F1F5F9 !important;
    border-color: #E2E8F0 !important;
}

.readonly-wrapper .auth-input {
    color: #64748B !important;
    cursor: not-allowed;
}

.account-btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #011F39 0%, #0B3458 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(1, 31, 57, 0.3);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.account-btn-save:hover {
    background: linear-gradient(135deg, #0B3458 0%, #011F39 100%);
    box-shadow: 0 6px 20px rgba(1, 31, 57, 0.4);
    transform: translateY(-2px);
}

.account-btn-save:active {
    transform: translateY(0);
}

/* Tab 2: Bookings History */
.account-empty-state {
    text-align: center;
    padding: clamp(40px, 6vw, 60px) 20px;
}

.account-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.account-empty-title {
    font-size: 16px;
    font-weight: 700;
    color: #011F39;
    margin: 0 0 8px;
}

.account-empty-desc {
    font-size: 13.5px;
    color: #64748B;
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.account-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #011F39;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(1, 31, 57, 0.25);
    transition: all 0.25s ease;
}

.account-btn-explore:hover {
    background: #011F39;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 31, 57, 0.35);
}

.booking-item-card {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    background: #FFFFFF;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.booking-item-card:hover {
    border-color: #011F39;
    box-shadow: 0 6px 20px rgba(1, 31, 57, 0.08);
    transform: translateY(-2px);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.booking-code-badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #011F39;
    background: #FDF3F2;
    border: 1px solid #FBE3E1;
    padding: 4px 12px;
    border-radius: 999px;
}

.booking-date-badge {
    font-size: 12px;
    color: #94A3B8;
    margin-left: 6px;
}

.booking-status-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.booking-status--confirmed {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.booking-status--cancelled {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.booking-status--pending {
    background: #FEF9C3;
    color: #854D0E;
    border: 1px solid #FEF08A;
}

.booking-yacht-title {
    font-size: 16px;
    font-weight: 800;
    color: #011F39;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-details-row {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #64748B;
    flex-wrap: wrap;
    align-items: center;
}

.booking-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-detail-item strong {
    color: #1E293B;
}

.booking-total-price {
    color: #D93B2B !important;
    font-weight: 800 !important;
    font-size: 14.5px;
}

/* Tab 3: Security & Password */
.security-hint-box {
    background: #FFF9E8;
    border: 1px solid #F6DE8D;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: #011F39;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.security-hint-box svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

/* Header Dropdown Menu */
.header-account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    display: none;
    z-index: 1050;
    animation: authDropdownFade 0.2s ease-out;
}

.header-account-dropdown.show {
    display: block;
}

@keyframes authDropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-account-dropdown-header {
    padding: 10px 16px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.header-account-dropdown-name {
    font-size: 14px;
    font-weight: 700;
    color: #011F39;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-account-dropdown-email {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-account-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13.5px;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.header-account-dropdown-item:hover {
    background: #FDF3F2;
    color: #011F39;
}

.header-account-dropdown-item.logout {
    color: #dc2626;
    border-top: 1px solid #f1f5f9;
    margin-top: 6px;
    padding-top: 11px;
}

.header-account-dropdown-item.logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}
