/* Guest login only. RSVP and admin styles are independent. */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: #1c1917; background: #fff; font-family: 'Jost', sans-serif; -webkit-font-smoothing: antialiased; }
.login-page { display: flex; min-height: 100vh; min-height: 100svh; }
.login-bg-panel { flex: 1; position: relative; background-size: cover; background-position: center; }
.login-mobile-photo { display: none; }
.login-bg-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(28,25,23,.4), rgba(28,25,23,.15)); }
.login-form-panel { width: 32%; min-width: 440px; max-width: 560px; padding: 60px 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; }
.login-heading { width: 100%; text-align: center; }
.login-tagline { font-family: 'Pinyon Script', cursive; font-size: 36px; line-height: 1.3; color: #c3a567; margin-bottom: 6px; }
.login-heading h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; line-height: 1.35; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; margin: 0 auto 8px; overflow-wrap: anywhere; }
.login-subtitle { color: #78716c; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 36px; }
.login-step { width: 100%; }
.field-group { margin-bottom: 22px; }
.field-group label { display: block; color: #78716c; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.field-group input:not([type='hidden']) { width: 100%; height: 50px; padding: 12px 16px; background: #fff; color: #1c1917; border: 1px solid #e7e5e4; border-radius: 4px; font: 400 15px 'Jost', sans-serif; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.field-group input::placeholder { color: #b4b1ad; opacity: 1; }
.field-group input:focus { outline: 2px solid rgba(201,169,110,.45); outline-offset: 1px; border-color: #c9a96e; }
.login-submit { width: 100%; min-height: 46px; padding: 13px 18px; border: 1px solid #c3a567; border-radius: 4px; background: #c3a567; color: #fff; font: 500 11px 'Jost', sans-serif; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.login-submit:hover { background: #ac8d53; border-color: #ac8d53; }
.login-submit:focus-visible, .back-button:focus-visible { outline: 2px solid #ac8d53; outline-offset: 3px; }
.login-submit:disabled { cursor: wait; opacity: .7; }
.login-footer { padding-top: 32px; color: #78716c; font-size: 13px; text-align: center; letter-spacing: .3px; }
.iti { width: 100%; }
.iti--separate-dial-code .iti__selected-flag { background: #faf8f2; border-radius: 4px 0 0 4px; }
.iti__dropdown-content { max-height: 260px; max-width: calc(100vw - 48px); border: 1px solid #e7e5e4; border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.iti__country-list { max-width: 100%; white-space: normal; font-size: 14px; }
.field-group .iti__search-input { position: sticky; top: 0; z-index: 3; height: 42px; border: 0; border-bottom: 1px solid #e7e5e4; border-radius: 0; box-shadow: none; }
.iti__country { display: flex; align-items: center; }
.iti__country-name { flex: 1; }
.iti__flag-box { flex-shrink: 0; }
.alert { padding: 12px 14px; margin-bottom: 20px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.alert-danger { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.alert-success { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.back-button { border: 0; padding: 0; margin-bottom: 20px; color: #78716c; background: none; font: 400 13px 'Jost', sans-serif; cursor: pointer; }
.login-step h2 { margin: 0 0 8px; font: 400 22px 'Playfair Display', Georgia, serif; }
.otp-description { color: #78716c; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; margin: 0 0 22px; }
@media (max-width: 1100px) and (min-width: 900px) {
    .login-form-panel { min-width: 400px; padding: 48px 36px; }
}
@media (max-width: 899px) {
    .login-page { flex-direction: column; }
    .login-bg-panel { flex: none; min-height: 0; background-image: none; }
    .login-bg-panel::after { display: none; }
    .login-mobile-photo { display: block; width: 100%; height: 42vh; height: clamp(280px, 42svh, 380px); object-fit: cover; object-position: center 8%; }
    .login-form-panel { width: 100%; min-width: 0; max-width: none; padding: 28px 24px; flex: 1; }
    .login-heading, .login-step { max-width: 420px; }
    .login-tagline { font-size: 30px; }
    .login-heading h1 { font-size: 22px; }
    .login-subtitle { margin-bottom: 24px; }
    .field-group { margin-bottom: 16px; }
    .field-group label { margin-bottom: 6px; }
    .login-footer { padding-top: 24px; }
}
