/* ============ AUTH DRAWER STYLES ============ */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 345px;
    max-width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.auth-drawer.open {
    transform: translateX(0);
}

.auth-drawer-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px 30px;
    min-height: 280px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(0, 0, 0, 0.85) 100%),
                url('/public/asset/reception.png');
                
    background-size: cover;
    background-position: center;
}

.auth-drawer-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.auth-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(248, 246, 242, 0.8);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.auth-close-btn:hover {
    color: var(--warm-gold);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--warm-gold);
}

.auth-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInDown 0.4s ease;
}

.auth-logo {
    height: 115px;
    width: auto;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    animation: fadeIn 0.5s ease;
}

.auth-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    color: var(--warm-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    animation: fadeInUp 0.5s ease 0.1s both;
}

.auth-header-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 30px;
    padding: 6px;
    width: 70%;
    animation: slideUp 0.4s ease 0.2s both;
}

.auth-header-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(248, 246, 242, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 24px;
}

.auth-header-tab:hover {
    color: rgba(248, 246, 242, 0.9);
}

.auth-header-tab.active {
    background: var(--warm-gold);
    color: var(--deep-charcoal);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-content {
    padding: 40px 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(248, 246, 242, 0.7);
}

.form-group input {
    background: rgba(248, 246, 242, 0.05);
    border: 1px solid rgba(248, 246, 242, 0.1);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--ivory-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--warm-gold);
    background: rgba(248, 246, 242, 0.08);
}

.form-group input::placeholder {
    color: rgba(248, 246, 242, 0.4);
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: rgba(248, 246, 242, 0.5);
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--warm-gold);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(248, 246, 242, 0.7);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--warm-gold);
}

.forgot-password-link {
    background: none;
    border: none;
    color: var(--warm-gold);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--champagne-gold);
}

.auth-primary-btn {
    background: var(--warm-gold);
    border: none;
    color: var(--deep-charcoal);
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-primary-btn:hover {
    background: var(--champagne-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.auth-secondary-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--warm-gold);
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-secondary-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--warm-gold);
}

/* Mobile Auth Drawer */
@media (max-width: 768px) {
    .auth-drawer {
        width: 100%;
        max-width: 100%;
    }

    .auth-drawer-header {
        padding: 30px 20px 20px;
        min-height: 240px;
    }

    .auth-drawer-header::before {
        display: none;
    }

    .auth-close-btn {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .auth-header-content {
        gap: 8px;
    }

    .auth-logo {
        height: 80px;
    }

    .auth-tagline {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .auth-header-tabs {
        width: 85%;
        padding: 5px;
    }

    .auth-header-tab {
        padding: 10px 12px;
        font-size: 10px;
    }

    .auth-content {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .auth-primary-btn,
    .auth-secondary-btn {
        padding: 14px;
        font-size: 12px;
    }
}

/* Scoped CSS for auth drawer to ensure white fonts */
.auth-drawer .form-group label {
    color: rgba(248, 246, 242, 0.8) !important;
}

.auth-drawer .auth-header-tab {
    color: rgba(248, 246, 242, 0.7) !important;
}

.auth-drawer .auth-header-tab:hover {
    color: rgba(248, 246, 242, 0.9) !important;
}

.auth-drawer .auth-tagline {
    color: var(--warm-gold) !important;
}
