/* ==========================================================================
   OUR FUTURE — Auth pages (register / login). Split brand + form layout, RTL.
   ========================================================================== */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 940px) { .auth { grid-template-columns: 1fr; } .auth__brand { display: none; } }

.auth__brand {
  background: var(--grad-brand-deep); color: #fff; position: relative; overflow: hidden;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-8);
}
.auth__brand::after { content: ""; position: absolute; inset-block-start: -120px; inset-inline-start: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.auth__brand .logo__word { color: #fff; }
.auth__brand-body { position: relative; }
.auth__brand h2 { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.2; }
.auth__brand p { color: rgba(255,255,255,.85); margin-top: var(--s-3); font-size: 1.05rem; }
.auth__points { list-style: none; display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-7); }
.auth__points li { display: flex; align-items: flex-start; gap: var(--s-3); }
.auth__points .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.auth__points .ic svg { width: 15px; height: 15px; }
.auth__points b { display: block; }
.auth__points small { color: rgba(255,255,255,.75); }
.auth__brand-foot { position: relative; color: rgba(255,255,255,.7); font-size: var(--fs-sm); }
.auth__brand-foot .row { display: flex; align-items: center; gap: var(--s-3); }
.auth__stars { color: #ffcf5c; }

.auth__panel { display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 1rem + 3vw, 3rem); background: var(--bg); }
.auth__card { width: 100%; max-width: 460px; }
.auth__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-6); }
.auth__top .logo { display: none; }
@media (max-width: 940px) { .auth__top .logo { display: inline-flex; } }

.auth-steps { display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.auth-steps__bar { flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--ink-100); overflow: hidden; }
.auth-steps__bar i { display: block; height: 100%; width: 0; background: var(--grad-brand); transition: width var(--dur-3) var(--ease-out); }
.auth-steps__bar.is-active i, .auth-steps__bar.is-done i { width: 100%; }
.auth h1 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); }
.auth__sub { color: var(--color-text-soft); margin-top: var(--s-2); margin-bottom: var(--s-5); }

.auth-step { display: none; }
.auth-step.is-current { display: block; animation: authIn var(--dur-3) var(--ease-out); }
@keyframes authIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pw-wrap { position: relative; }
.pw-wrap .input { padding-inline-end: 2.6rem; }
.pw-wrap .pw-toggle { position: absolute; inset-inline-end: .5rem; inset-block-start: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-500); }
.pw-wrap .pw-toggle:hover { background: var(--surface-2); }
.pw-wrap .pw-toggle svg { width: 18px; height: 18px; }
.pw-meter { height: 5px; border-radius: var(--r-pill); background: var(--ink-100); margin-top: var(--s-2); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; transition: width var(--dur-2), background-color var(--dur-2); }
.pw-hint { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: 4px; }

.slug { display: flex; align-items: stretch; }
.slug__prefix { display: flex; align-items: center; padding: 0 var(--s-3); background: var(--surface-2); border: 1px solid var(--color-border); border-inline-end: none; border-start-start-radius: var(--r-md); border-end-start-radius: var(--r-md); color: var(--color-text-muted); font-size: var(--fs-sm); font-family: var(--font-mono); white-space: nowrap; }
.slug .input { border-start-start-radius: 0; border-end-start-radius: 0; }

.auth__actions { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
.auth__actions .btn { flex: 1; }
.auth__alt { text-align: center; margin-top: var(--s-5); color: var(--color-text-soft); font-size: var(--fs-sm); }
.auth__alt a { color: var(--brand-700); font-weight: 600; }

.summary-list { display: flex; flex-direction: column; gap: var(--s-2); background: var(--surface-2); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: var(--s-4); margin: var(--s-4) 0; }
.summary-list .row { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-sm); }
.summary-list .row .k { color: var(--color-text-muted); }
.summary-list .row .v { font-weight: 600; color: var(--color-heading); }
