/* --------------------------------------------------------------------------
   16. AUTHENTICATION & LOGIN/REGISTER FORMS
   -------------------------------------------------------------------------- */
.auth-container {
    max-width: 480px;
    margin: 3.5rem auto 4.5rem;
    padding: 0 1rem;
    position: relative;
}
.booking-form {
    background: var(--surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2.75rem 2.5rem 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
    width: 100%;
}
[data-theme="dark"] .auth-card {
    background: linear-gradient(180deg, rgba(26, 28, 35, 0.95) 0%, rgba(18, 19, 24, 0.98) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(212, 160, 23, 0.06);
    border-color: rgba(212, 160, 23, 0.28);
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient, linear-gradient(90deg, #d4a017, #f6e27a, #d4a017));
}
.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-crest-pod {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gold-subtle, rgba(212, 160, 23, 0.1));
    border: 1.5px solid var(--border-gold, #d4a017);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.15);
    position: relative;
}
.auth-crest-pod svg {
    width: 32px;
    height: 32px;
    color: var(--gold-dark, #b8860b);
}
[data-theme="dark"] .auth-crest-pod svg {
    color: #f6e27a;
}
.auth-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.25;
}
.auth-card-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 340px;
    margin: 0 auto;
}
.btn-auth-google {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}
[data-theme="dark"] .btn-auth-google {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}
.btn-auth-google:hover {
    border-color: var(--gold);
    background: var(--gold-subtle, rgba(212, 160, 23, 0.08));
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.btn-auth-google svg {
    flex-shrink: 0;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.6rem 0;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-tabs-segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-alt, rgba(0, 0, 0, 0.04));
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    gap: 4px;
    box-sizing: border-box;
}
[data-theme="dark"] .auth-tabs-segmented {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}
.auth-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.auth-tab-btn svg {
    width: 15px;
    height: 15px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}
.auth-tab-btn:hover {
    color: var(--text);
}
.auth-tab-btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-gold, #d4a017);
}
.auth-tab-btn.active svg {
    opacity: 1;
    color: var(--gold-dark, #b8860b);
}
[data-theme="dark"] .auth-tab-btn.active {
    background: #242731;
    color: #fff;
    border-color: rgba(212, 160, 23, 0.5);
}
[data-theme="dark"] .auth-tab-btn.active svg {
    color: #f6e27a;
}
.auth-field-group {
    margin-bottom: 1.25rem;
    text-align: left;
}
.auth-field-label-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}
.auth-field-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim, var(--text-muted));
}
.auth-forgot-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--highlight, #b8860b);
    text-decoration: none;
    transition: color 0.2s ease;
}
.auth-forgot-link:hover {
    text-decoration: underline;
    color: var(--gold);
}
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.auth-input-icon {
    position: absolute;
    left: 1rem;
    width: 18px;
    height: 18px;
    color: var(--text-dim);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 1;
}
.auth-input-wrapper input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--input-bg, var(--surface));
    border: 1.5px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
    height: 48px;
    font-family: 'Inter', sans-serif;
}
.auth-input-wrapper input::placeholder {
    color: var(--text-dim) !important;
    opacity: 0.65 !important;
}
.auth-input-wrapper input.has-trailing {
    padding-right: 3rem;
}
.auth-input-wrapper input:hover {
    border-color: var(--border-gold, #d4a017);
}
.auth-input-wrapper input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-subtle, rgba(212, 160, 23, 0.15));
}
.auth-input-wrapper:focus-within .auth-input-icon {
    color: var(--gold-dark, #b8860b);
}
[data-theme="dark"] .auth-input-wrapper:focus-within .auth-input-icon {
    color: #f6e27a;
}
.pw-toggle-btn {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0.45rem;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}
.pw-toggle-btn:hover {
    color: var(--text);
    background: var(--gold-subtle, rgba(212, 160, 23, 0.1));
}
.pw-toggle-btn svg {
    width: 18px;
    height: 18px;
}
.auth-field-hint {
    font-size: 0.76rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.auth-submit-btn {
    width: 100%;
    height: 48px;
    padding: 0.85rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.25);
    box-sizing: border-box;
}
.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}
.auth-trust-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.95rem 0.5rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
}
.auth-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: left;
}
.auth-trust-item svg {
    width: 14px;
    height: 14px;
    color: var(--gold-dark, #b8860b);
    flex-shrink: 0;
}
[data-theme="dark"] .auth-trust-item svg {
    color: #f6e27a;
}
.auth-switch-box {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.auth-switch-link {
    font-weight: 700;
    color: var(--highlight, #b8860b);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.auth-switch-link:hover {
    color: var(--gold);
    text-decoration: underline;
}
.auth-terms-note {
    font-size: 0.74rem;
    color: var(--text-dim);
    line-height: 1.45;
    text-align: center;
    margin-top: 1rem;
}
.auth-terms-note a {
    color: var(--highlight, #b8860b);
    text-decoration: none;
}
.auth-terms-note a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .container:has(.auth-container) {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1.5rem;
    }
    .auth-container {
        margin: 1rem auto 2.5rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    .auth-card {
        padding: 1.75rem 1.15rem 1.5rem;
        border-radius: 16px;
    }
    .auth-card-title {
        font-size: 1.5rem;
    }
    .auth-card-subtitle {
        font-size: 0.85rem;
    }
    .auth-crest-pod {
        width: 56px;
        height: 56px;
        margin-bottom: 0.85rem;
    }
    .auth-crest-pod svg {
        width: 26px;
        height: 26px;
    }
    .auth-tabs-segmented {
        margin-bottom: 1.25rem;
    }
    .auth-tab-btn {
        padding: 0.6rem 0.35rem;
        font-size: 0.78rem;
        gap: 0.35rem;
    }
    .auth-trust-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem 0.5rem;
        padding: 0.85rem 0.25rem;
    }
    .auth-trust-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-content: center;
    }
}



/* --------------------------------------------------------------------------
   SUPPLEMENTAL: RESET PASSWORD VIEW
   -------------------------------------------------------------------------- */
.reset-wrapper {
    max-width: 480px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    text-align: center;
}

.reset-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.reset-badge {
    display: inline-block;
    background: var(--gold-subtle);
    border: 1px solid var(--border-gold);
    color: var(--highlight);
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.reset-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.reset-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

