/* Standalone login, matching the current site's centered card. */
.auth-page{background:var(--color-white);min-height:100svh}
.auth-shell{width:min(100% - 32px,380px);margin-inline:auto;padding-block:64px 32px}
.auth-topbar{display:flex;justify-content:center;margin-bottom:9px;color:var(--color-ink-soft-2);font-size:.9rem;font-weight:700}
.auth-topbar a{display:inline-flex;align-items:center;min-height:44px}
.auth-topbar a:hover{color:var(--color-gold-deep)}
.auth-layout{border:1px solid var(--color-line-2);border-radius:16px;background:var(--color-white)}
.auth-card{min-height:440px;padding:30px;text-align:center}
.auth-brand{display:block;width:243px;max-width:100%;margin:0 auto 20px}
.auth-card h1{margin:0 0 10px;color:var(--color-ink-soft-2);font-size:.95rem;line-height:1.7}
.auth-description{margin:0 0 24px;color:var(--color-ink-soft-2);font-size:.8rem;line-height:1.9}
.auth-form label:not(.sr-only){display:block;margin-bottom:10px;color:var(--color-ink-soft-2);font-size:.8rem;font-weight:700}
.auth-form input{width:100%;height:52px;padding:12px;border:2px solid var(--color-gold);border-radius:10px;background:var(--color-white);color:var(--color-ink-soft-2);direction:ltr;font-size:1rem;text-align:center}
.auth-form input::placeholder{color:var(--color-muted-2)}
.auth-form input[aria-invalid="true"]{border-color:var(--color-coral-hover)}
.auth-field-help{margin:10px 0 18px;color:var(--color-muted);font-size:.7rem;line-height:1.9}
.auth-field-help b{color:var(--color-ink);white-space:nowrap}
.auth-submit{display:flex;justify-content:center;align-items:center;width:100%;min-height:52px;margin-top:20px;padding:12px;border:0;border-radius:10px;background:var(--color-gold);color:var(--color-ink);font-size:.95rem;font-weight:700}
.auth-submit:hover{background:var(--color-gold-light)}
.auth-submit:disabled{opacity:.6;cursor:default}
.auth-terms{margin:20px 0 0;color:var(--color-ink-soft-2);font-size:.8rem;line-height:1.9}
.auth-terms a:hover{color:var(--color-gold-deep);text-decoration:underline}
.auth-field-help a{color:var(--color-gold-deep);text-decoration:underline}
.auth-number-row,.auth-resend-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.auth-number-row b{color:var(--color-ink-soft-2);font-size:.9rem}
.auth-text-button{min-height:44px;padding:4px 0;border:0;background:none;color:var(--color-gold-deep);font-size:.75rem;font-weight:700}
.auth-text-button:hover{text-decoration:underline}
.auth-text-button:disabled{color:var(--color-muted);cursor:default;text-decoration:none}
.auth-form .auth-code{letter-spacing:.5em;font-size:1.2rem}
.auth-resend-row{margin:0;color:var(--color-muted);font-size:.7rem}
.auth-error{margin:12px 0 0;color:var(--color-coral-hover);font-size:.75rem;line-height:1.9}
.auth-success-icon{display:grid;place-items:center;width:56px;height:56px;margin:24px auto 16px;border-radius:50%;background:var(--color-gold-pale);color:var(--color-gold-deep)}
.auth-success svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-success h2{margin:0;color:var(--color-ink);font-size:1rem}
.auth-success p{margin:12px 0 24px;color:var(--color-muted);font-size:.8rem;line-height:2}
.auth-success .auth-text-button{margin-top:12px}
.auth-page [hidden]{display:none}
@media(max-width:640px){.auth-shell{padding-top:24px}.auth-card{padding-inline:24px}}

.auth-guest-checkout{margin:14px 0 0;text-align:center}
.auth-guest-checkout a{color:var(--color-gold-deep);font-size:.82rem;font-weight:700}
.auth-guest-checkout a:hover{text-decoration:underline;text-underline-offset:3px}


.auth-submit.is-loading,.auth-text-button.is-loading{position:relative;color:transparent!important;pointer-events:none}
.auth-submit.is-loading::after,.auth-text-button.is-loading::after{content:"";position:absolute;top:50%;left:50%;border-style:solid;border-radius:50%;animation:myajil-spin .6s linear infinite}
.auth-submit.is-loading::after{width:18px;height:18px;margin:-9px 0 0 -9px;border-width:2px;border-color:rgba(255,255,255,.45);border-top-color:#fff}
.auth-text-button.is-loading::after{width:14px;height:14px;margin:-7px 0 0 -7px;border-width:2px;border-color:var(--color-gold-line);border-top-color:var(--color-gold-deep)}
@media(prefers-reduced-motion:reduce){.auth-submit.is-loading::after,.auth-text-button.is-loading::after{animation-duration:1.4s}}

