/* Ocurus Studio — auth pages (sign in). Mirrors docs/design/admin-2026/Login.dc.html */
.os-auth-body { min-height: 100vh; }
.os-auth { display: grid; grid-template-columns: 560px minmax(0, 1fr); min-height: 100vh; background: var(--os-bg); }
.os-auth__form { display: flex; flex-direction: column; padding: 40px 64px 32px; background: #0D1220; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.os-auth__logo { height: 24px; width: auto; align-self: flex-start; display: block; }
.os-auth__grow { flex-grow: 1; }
.os-auth__stack { display: flex; flex-direction: column; gap: 28px; }
.os-auth__head { display: flex; flex-direction: column; gap: 8px; }
.os-auth__head h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: #FFFFFF; }
.os-auth__head p { margin: 0; font-size: 14px; color: var(--os-muted); }
.os-auth__fields { display: flex; flex-direction: column; gap: 14px; }
.os-auth__label-row { display: flex; justify-content: space-between; align-items: baseline; }
.os-auth__label-row a { font-size: 12px; }
.os-auth__input { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 10px; background: #111827; border: 1px solid rgba(255, 255, 255, 0.10); color: var(--os-muted); }
.os-auth__input:focus-within { border-color: var(--os-accent); box-shadow: 0 0 0 3px rgba(59, 107, 255, 0.2); }
.os-auth__input.is-invalid { border-color: var(--os-danger); }
.os-auth__input input { flex-grow: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #FFFFFF; font: inherit; font-size: 14px; height: 100%; }
.os-auth__input input::placeholder { color: var(--os-faint); }
.os-auth__input input:-webkit-autofill { -webkit-text-fill-color: #FFFFFF; -webkit-box-shadow: 0 0 0 40px #111827 inset; }
.os-auth__eye { background: none; border: 0; padding: 0; color: var(--os-muted); cursor: pointer; display: inline-flex; }
.os-auth__eye:hover { color: #FFFFFF; }
.os-auth__submit { height: 46px; font-size: 15px; margin-top: 4px; width: 100%; }
.os-auth__or { display: flex; align-items: center; gap: 12px; }
.os-auth__or span:first-child, .os-auth__or span:last-child { flex-grow: 1; height: 1px; background: rgba(255, 255, 255, 0.08); }
.os-auth__social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.os-auth__social a { height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); color: #E6EAF2; font-size: 13px; font-weight: 600; }
.os-auth__social a:hover { border-color: rgba(255, 255, 255, 0.3); color: #FFFFFF; background: rgba(255, 255, 255, 0.04); }
.os-auth__foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--os-muted); }
.os-auth__foot a { font-weight: 600; }
.os-auth__alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; background: var(--os-ember-soft); border: 1px solid rgba(255, 158, 82, 0.35); color: #E6EAF2; }
.os-auth__alert--ok { background: var(--os-ok-soft); border-color: rgba(74, 222, 128, 0.35); }

/* ---------- right panel: the showcase tour in an iframe ---------- */
.os-auth__panel { position: relative; overflow: hidden; background: #0A0E17; }
.os-auth__tour { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #0A0E17; opacity: 0; transition: opacity 0.6s ease; }
.os-auth__panel.is-ready .os-auth__tour { opacity: 1; }
.os-auth__tour-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--os-faint); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; background: radial-gradient(90% 80% at 60% 45%, #1A2540 0%, #101A33 45%, #0A0E17 100%); transition: opacity 0.6s ease; pointer-events: none; }
.os-auth__panel.is-ready .os-auth__tour-wait { opacity: 0; }
@keyframes os-spin { to { transform: rotate(360deg); } }
.os-dot { width: 8px; height: 8px; border-radius: 4px; display: inline-block; flex: none; }
.os-dot--accent { background: #3B6BFF; box-shadow: 0 0 10px #3B6BFF; }
.os-auth__lang { font-family: var(--os-mono); font-size: 11px; color: var(--os-faint); }
.os-auth__lang a { color: inherit; }

/* ---------- extras shared by every auth page ---------- */
.os-auth__back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--os-muted); align-self: flex-start; }
.os-auth__back:hover { color: #FFFFFF; }
.os-auth__mark { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--os-accent-soft); color: var(--os-accent-ink); border: 1px solid rgba(59, 107, 255, 0.35); }
.os-auth__alert--danger { background: var(--os-danger-soft); border-color: rgba(248, 113, 113, 0.4); }
.os-auth__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--os-dim); }
.os-auth__perks li { display: flex; align-items: center; gap: 10px; }
.os-dot--ok { background: var(--os-ok); box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); }
.os-auth__strength { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.os-auth__strength span { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.10); transition: background 0.2s; }
.os-auth__strength span.is-1 { background: var(--os-danger); } .os-auth__strength span.is-2 { background: var(--os-ember); } .os-auth__strength span.is-3 { background: #FBBF24; } .os-auth__strength span.is-4 { background: var(--os-ok); }
.os-auth__strength-label { min-height: 14px; }
.os-auth__eye.is-on { color: var(--os-accent-ink); }
.os-auth__submit[disabled] { opacity: 0.75; cursor: progress; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.os-auth__spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #FFFFFF; animation: os-spin 0.8s linear infinite; display: inline-block; }
.os-auth__input input:-webkit-autofill, .os-auth__input input:-webkit-autofill:focus { transition: background-color 9999s ease-in-out 0s; }

@media (max-width: 1024px) {
  .os-auth { grid-template-columns: minmax(0, 1fr); }
  .os-auth__panel { display: none; }
  .os-auth__form { border-right: 0; padding: 32px 24px; }
}
