/* ============================================================
   دفتر ERP — Auth (Login / Register) Premium
   ============================================================ */

.auth-page--premium {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background: #060b18;
  padding: 2rem 1.5rem;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-page--premium::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(124, 146, 114, 0.14), transparent),
    radial-gradient(ellipse 60% 45% at 10% 90%, rgba(24, 40, 56, 0.55), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ── Animated background ── */
.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  animation: authOrbFloat 24s ease-in-out infinite;
  will-change: transform;
}

.auth-orb--1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(24, 40, 56, 0.55) 0%, transparent 68%);
  top: -100px;
  right: -80px;
}

.auth-orb--2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124, 146, 114, 0.28) 0%, transparent 68%);
  bottom: -60px;
  left: -60px;
  animation-delay: -8s;
}

.auth-orb--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124, 146, 114, 0.18) 0%, transparent 68%);
  top: 45%;
  left: 40%;
  animation-delay: -14s;
}

.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 146, 114, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 146, 114, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black, transparent);
}

@keyframes authOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-16px, 12px, 0); }
}

/* ── Layout ── */
.auth-page--premium .auth-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  animation: authWrapIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes authWrapIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  color: rgba(241, 245, 249, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
}

.auth-back:hover {
  color: #7C9272;
  transform: translateX(4px);
}

.auth-back svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  display: block;
}

/* ── Card ── */
.auth-page--premium .auth-card {
  background: rgba(18, 28, 42, 0.96);
  border: 1px solid rgba(124, 146, 114, 0.18);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  padding: 2rem 1.85rem 1.75rem;
  border-radius: 20px;
  outline: none;
}

.auth-page--premium .auth-brand {
  margin-bottom: 1.65rem;
  animation: authBrandIn 0.6s ease-out 0.15s both;
}

@keyframes authBrandIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-page--premium .auth-brand h1 {
  color: #f8fafc;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #f8fafc, #7C9272);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-page--premium .auth-brand p {
  color: #94a3b8;
}

.auth-page--premium .auth-logo.brand-logo-wrap {
  width: 64px;
  height: 64px;
  min-height: 64px;
  margin: 0 auto 0.85rem;
  background: rgba(238, 242, 235, 0.96);
  border-radius: 16px;
  padding: 8px;
  border: 1px solid rgba(124, 146, 114, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auth-page--premium .brand-logo--auth {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
}

/* ── Tabs ── */
.auth-page--premium .auth-tabs {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 146, 114, 0.15);
  padding: 0.3rem;
  border-radius: 12px;
  position: relative;
  margin-bottom: 1.35rem;
}

.auth-page--premium .auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 0.5rem;
  border-radius: 9px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: #94a3b8;
  transition: color 0.25s;
}

.auth-page--premium .auth-tab.active {
  color: #182838;
  background: transparent;
  box-shadow: none;
}

.auth-tabs-indicator {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  bottom: 0.3rem;
  width: calc(50% - 0.3rem);
  border-radius: 9px;
  background: linear-gradient(135deg, #7C9272, #A3B396);
  box-shadow: 0 4px 16px rgba(124, 146, 114, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.auth-tabs-indicator--signup {
  transform: translateX(calc(-100% - 0.3rem));
}

/* ── Forms ── */
.auth-page--premium .auth-form .form-group label {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.auth-label-row label {
  margin-bottom: 0 !important;
}

.auth-forgot-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: #7C9272;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, opacity 0.2s;
}

.auth-forgot-link:hover {
  color: #A3B396;
  text-decoration: underline;
}

.auth-page--premium .auth-back-login {
  margin-top: 0.65rem;
  border-radius: 11px;
  border-color: rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
}

.auth-page--premium .auth-back-login:hover {
  border-color: rgba(124, 146, 114, 0.4);
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.07);
}

.auth-page--premium.is-forgot .auth-tabs {
  opacity: 0.35;
  pointer-events: none;
}

.auth-page--premium .auth-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border-radius: 11px;
  padding: 0.72rem 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.2s;
}

.auth-page--premium .auth-form .form-control::placeholder {
  color: #64748b;
}

.auth-page--premium .auth-form .form-control:focus {
  outline: none;
  border-color: rgba(124, 146, 114, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(124, 146, 114, 0.15);
  transform: translateY(-1px);
}

.auth-panel {
  animation: authPanelIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes authPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-page--premium .btn-primary {
  background: linear-gradient(135deg, #7C9272, #657A5C);
  border: 1px solid rgba(124, 146, 114, 0.5);
  color: #182838;
  font-weight: 700;
  border-radius: 11px;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  position: relative;
  overflow: hidden;
}

.auth-page--premium .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform 0.6s;
}

.auth-page--premium .btn-primary:hover:not(:disabled)::after {
  transform: translateX(-120%);
}

.auth-page--premium .btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 146, 114, 0.35);
  filter: brightness(1.05);
}

.auth-page--premium .btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-page--premium .btn-primary.is-loading {
  color: transparent;
}

.auth-page--premium .btn-primary.is-loading::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(24, 40, 56, 0.25);
  border-top-color: #182838;
  border-radius: 50%;
  animation: authSpin 0.7s linear infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

.auth-page--premium .auth-hint {
  color: #64748b;
  line-height: 1.55;
}

.auth-page--premium .auth-footer-note {
  color: #64748b;
  margin-top: 1.25rem;
}

.auth-page--premium .auth-footer-note a {
  color: #7C9272;
  text-decoration: none;
  font-weight: 600;
}

.auth-page--premium .auth-footer-note a:hover {
  text-decoration: underline;
}

.auth-page--premium .message.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.auth-page--premium .message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  animation: authShake 0.45s ease;
}

@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ── Success overlay ── */
.auth-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 24, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.auth-success-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.auth-success-inner {
  text-align: center;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
}

.auth-success-overlay.is-active .auth-success-inner {
  transform: scale(1);
  opacity: 1;
}

.auth-success-ring {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 146, 114, 0.2), rgba(124, 146, 114, 0.05));
  border: 2px solid rgba(124, 146, 114, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: authSuccessPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes authSuccessPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

.auth-success-check {
  width: 44px;
  height: 44px;
  color: #7C9272;
}

.auth-success-check svg {
  width: 100%;
  height: 100%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: authCheckDraw 0.5s ease 0.35s forwards;
}

@keyframes authCheckDraw {
  to { stroke-dashoffset: 0; }
}

.auth-success-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.35rem;
}

.auth-success-sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

.auth-success-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7C9272;
  opacity: 0;
  animation: authParticle 1s ease-out forwards;
}

@keyframes authParticle {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

.auth-page--premium .auth-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  background: rgba(238, 242, 235, 0.96);
  color: #182838;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 146, 114, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .auth-orb,
  .auth-panel,
  .auth-page--premium .auth-wrap,
  .auth-page--premium .auth-brand {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .auth-page--premium .auth-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ── Email confirm page ── */
.auth-wrap--confirm {
  max-width: 460px;
}

.auth-confirm-card {
  text-align: center;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.auth-confirm-brand {
  margin-bottom: 1.35rem;
}

.auth-confirm-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 0.9rem;
  background: rgba(238, 242, 235, 0.96);
  border-radius: 16px;
  padding: 8px;
  border: 1px solid rgba(124, 146, 114, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  outline: none;
}

.auth-confirm-brand h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #f8fafc;
  background: linear-gradient(135deg, #f8fafc, #7C9272);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-confirm-brand p {
  margin: 0.35rem 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.auth-confirm-state {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0 0.25rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-confirm-state.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.auth-confirm-title {
  margin: 0.35rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.45;
}

.auth-confirm-sub {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 28rem;
}

.auth-confirm-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(124, 146, 114, 0.2);
  border-top-color: #7C9272;
  animation: authSpin 0.8s linear infinite;
  margin-bottom: 0.35rem;
}

.auth-confirm-check {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.45rem;
  color: #A3B396;
  background: rgba(124, 146, 114, 0.14);
  border: 1.5px solid rgba(124, 146, 114, 0.55);
  box-shadow: none;
  outline: none;
  animation: authSuccessPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-confirm-check svg {
  width: 34px;
  height: 34px;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: authConfirmDraw 0.55s ease 0.18s forwards;
}

@keyframes authConfirmDraw {
  to { stroke-dashoffset: 0; }
}

.auth-confirm-progress {
  width: min(220px, 70%);
  height: 4px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.auth-confirm-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7C9272, #A3B396);
  animation: authConfirmBar 2s linear forwards;
}

@keyframes authConfirmBar {
  from { width: 0; }
  to { width: 100%; }
}

.auth-confirm-error-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.45rem;
  color: #F0A8A8;
  background: rgba(127, 45, 45, 0.35);
  border: 1.5px solid rgba(196, 92, 92, 0.65);
  box-shadow: none;
  outline: none;
}

.auth-confirm-error-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.auth-confirm-actions {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (prefers-reduced-motion: reduce) {
  .auth-confirm-spinner,
  .auth-confirm-check,
  .auth-confirm-check svg,
  .auth-confirm-progress span,
  .auth-confirm-state {
    animation: none !important;
    transition: none !important;
  }

  .auth-confirm-state.is-visible {
    opacity: 1;
    transform: none;
  }

  .auth-confirm-progress span {
    width: 100%;
  }
}
.password-field{position:relative}.password-field .form-control{padding-left:3rem}.password-toggle{position:absolute;left:.45rem;top:50%;transform:translateY(-50%);width:2.15rem;height:2.15rem;border:0;background:transparent;color:var(--text-muted,#64748b);display:grid;place-items:center;cursor:pointer;border-radius:.5rem}.password-toggle:hover,.password-toggle:focus-visible{background:rgba(15,118,110,.1);color:var(--primary,#0f766e);outline:none}.password-toggle svg{width:1.15rem;height:1.15rem}.auth-legal{line-height:1.7}.auth-legal a{color:var(--primary,#0f766e);font-weight:700}

.auth-consent{display:flex;align-items:flex-start;gap:.65rem;margin:.15rem 0 .8rem;color:#cbd5e1;font-size:.82rem;line-height:1.7;cursor:pointer}.auth-consent input{width:1.05rem;height:1.05rem;margin-top:.28rem;flex:0 0 auto;accent-color:#7c9272}.auth-consent a{color:#a9c29d;font-weight:700;text-decoration:underline;text-underline-offset:2px}.auth-consent a:hover{color:#c5dabd}.auth-consent:has(input:focus-visible){outline:2px solid rgba(124,146,114,.45);outline-offset:4px;border-radius:5px}

/* OTP verification + orbit success */
.auth-wrap--otp{max-width:420px}
.auth-otp-card .auth-brand p{color:#94a3b8;font-size:.9rem}
.otp-email-line{text-align:center;color:#a9c29d;font-weight:700;margin:0 0 1.1rem;word-break:break-all;direction:ltr}
.otp-stage{
  --otp-ice:#dceaff;
  --otp-ok:#2ee6a8;
  --otp-bad:#ff4d6a;
  position:relative;min-height:3.4rem;margin:0 0 1rem;
  display:flex;align-items:center;justify-content:center;
}
.otp-stage.is-orbiting{min-height:13rem}
.otp-digits{display:flex;gap:.45rem;justify-content:center;direction:ltr;flex-wrap:nowrap;width:100%;position:relative;z-index:2}
.otp-digit{
  width:2.65rem;height:3.15rem;text-align:center;font-size:1.3rem;font-weight:800;
  border:1px solid rgba(148,163,184,.35);border-radius:.75rem;
  background:rgba(15,23,42,.55);color:#f8fafc;caret-color:#a9c29d;
  will-change:transform,opacity;
}
.otp-digit:focus{outline:none;border-color:#7c9272;box-shadow:0 0 0 3px rgba(124,146,114,.25)}
.otp-digit.is-orbit-slot{
  position:absolute;left:0;top:0;z-index:3;
  pointer-events:none;
  border-radius:.85rem;
  border:1.5px solid rgba(220,234,255,.55);
  box-shadow:0 0 14px rgba(220,234,255,.22);
  color:var(--otp-ice);
  background:rgba(15,23,42,.9);
  font-size:1.1rem;
  font-weight:800;
  line-height:1;
  display:grid;place-items:center;
  padding:0;
  box-sizing:border-box;
}
.otp-orbit{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:1}
.otp-orbit[hidden]{display:none!important}
.otp-orbit__ring{width:11rem;height:11rem;opacity:0;transform:scale(.92);pointer-events:none}
.otp-stage.is-orbiting.is-ring-ready .otp-orbit__ring{
  opacity:1;transform:scale(1);
  transition:opacity .35s ease,transform .4s cubic-bezier(.22,1,.36,1);
}
.otp-orbit__path{
  stroke:var(--otp-ice);
  stroke-opacity:.55;
  stroke-width:1.5;
  stroke-dasharray:2 8;
}
.otp-stage.is-success .otp-orbit__path{stroke:var(--otp-ok);stroke-opacity:.7}
.otp-orbit__hub{
  position:absolute;width:8px;height:8px;border-radius:50%;
  background:rgba(220,234,255,.4);
  box-shadow:0 0 0 5px rgba(220,234,255,.08);
  opacity:0;transform:scale(.5);
}
.otp-stage.is-orbiting.is-ring-ready .otp-orbit__hub{
  opacity:1;transform:scale(1);
  transition:opacity .3s ease,transform .35s ease;
}
.otp-stage.is-success .otp-orbit__hub{
  opacity:0;
  transform:scale(.4);
  transition:opacity .25s ease,transform .25s ease;
}
.otp-stage.is-success .otp-orbit__ring{
  opacity:0;
  transform:scale(.92);
  transition:opacity .28s ease,transform .28s ease;
}
.otp-success{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;z-index:4;
  animation:otpSuccessIn .55s cubic-bezier(.22,1,.36,1) both;
}
.otp-success[hidden]{display:none!important}
.otp-success-mark{
  width:68px;height:68px;
  display:grid;place-items:center;
  background:rgba(46,230,168,.1);
  border:1.75px solid rgba(46,230,168,.88);
  border-radius:14px;
  box-shadow:0 0 0 4px rgba(46,230,168,.1),0 8px 22px rgba(46,230,168,.16);
}
.otp-success-check{width:40px;height:40px;overflow:visible}
.otp-success-path{
  stroke:var(--otp-ok);stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:48;stroke-dashoffset:48;
  animation:otpCheckDraw .45s cubic-bezier(.22,1,.36,1) .15s forwards;
}
.otp-success-text{margin:0;color:#b8ffe6;font-weight:700;font-size:.95rem;letter-spacing:.01em;opacity:0;animation:otpTextIn .4s ease .3s forwards}
@keyframes otpSuccessIn{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}
@keyframes otpCheckDraw{to{stroke-dashoffset:0}}
@keyframes otpTextIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.otp-resend-row{display:flex;flex-direction:column;align-items:center;gap:.35rem;margin-top:1rem}
.otp-resend-row .btn-link{background:none;border:0;color:#a9c29d;font-weight:700;cursor:pointer;padding:.25rem .5rem;font-size:.9rem}
.otp-resend-row .btn-link:disabled{opacity:.4;cursor:not-allowed;color:#64748b}
.otp-resend-row .btn-link.is-ready{opacity:1;color:#c5dabd}
.otp-cooldown{color:#94a3b8;font-size:.8rem;text-align:center}
@media(max-width:420px){
  .otp-digits{gap:.32rem}
  .otp-digit{width:2.35rem;height:2.9rem;font-size:1.15rem}
  .otp-orbit__ring{width:9.75rem;height:9.75rem}
  .otp-success-mark{width:60px;height:60px;border-radius:12px}
  .otp-success-check{width:36px;height:36px}
  .otp-stage.is-orbiting{min-height:11.75rem}
}
