/* ============================================================
   GET STARTUPS — Auth pages (login / signup / verify / success)
   Depends on: theme.css (tokens) + navbar.css (top bar)
   ============================================================ */

body{
  background:#F3F7F6;
  overflow:hidden;
  min-height:100vh;
}

.auth-topbar{
  position:relative;
  z-index:1;
  max-width:1320px;
  margin:0 auto;
  padding:18px clamp(16px,3vw,40px) 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.auth-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
  text-decoration:none;
  font-size:17px;
  font-weight:800;
}

.auth-brand img{
  width:34px;
  height:34px;
  display:block;
}

.auth-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border:1px solid #D6E5DD;
  border-radius:12px;
  background:rgba(255,255,255,.9);
  color:var(--ink);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.auth-back:hover{
  background:#fff;
  border-color:#C9DCD3;
  transform:translateY(-1px);
}

/* soft decorative blobs behind the cards */
.auth-bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  overflow:hidden;
}
.auth-bg span{
  position:absolute;
  border-radius:50%;
  background:rgba(10,164,88,.07);
}
.auth-bg span:nth-child(1){ width:420px; height:420px; top:-120px; left:-140px; }
.auth-bg span:nth-child(2){ width:300px; height:300px; bottom:-90px; right:-70px; background:rgba(10,164,88,.05); }
.auth-bg span:nth-child(3){ width:180px; height:180px; top:22%; right:6%; background:rgba(10,164,88,.04); }

/* ---------- LAYOUT ---------- */
.auth-wrap{
  position:relative;
  z-index:1;
  max-width:1320px;
  margin:0 auto;
  min-height:calc(100vh - 64px);
  padding:clamp(16px,2.2vh,24px) clamp(16px,3vw,40px) clamp(20px,3vh,30px);
  display:flex;
  align-items:center;
}
.auth-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(20px,2.4vw,30px);
  align-items:stretch;
  direction:ltr; /* panel left, form right — children reset to rtl */
  width:100%;
  min-height:min(700px, calc(100vh - 110px));
}
.auth-grid > *{ direction:rtl; }

/* ---------- LEFT: GREEN PANEL ---------- */
.auth-panel{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  min-height:100%;
  padding:clamp(24px,2.8vh,36px) clamp(22px,2.2vw,34px);
  background:linear-gradient(155deg, #17A95F 0%, #0AA458 45%, #099450 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-shadow:0 30px 60px -40px rgba(10,80,50,.55);
  animation:fadeUp .8s ease both;
}
/* faint circles inside the panel */
.auth-panel::before,
.auth-panel::after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  pointer-events:none;
}
.auth-panel::before{ width:260px; height:260px; top:-70px; left:-60px; }
.auth-panel::after{ width:340px; height:340px; bottom:-150px; left:-110px; background:rgba(255,255,255,.05); }

.auth-panel-inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  max-width:540px;
}

.auth-eyebrow{
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.82);
  margin:0;
  letter-spacing:.01em;
}
.auth-panel h1{
  margin:0;
  font-size:clamp(22px,2.05vw,30px);
  font-weight:800;
  line-height:1.3;
  color:#fff;
}
.auth-panel > .auth-panel-inner > p{
  margin:0;
  font-size:clamp(13px,1vw,15px);
  line-height:1.75;
  color:rgba(255,255,255,.88);
  max-width:500px;
}

/* feature pills */
.auth-points{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:4px;
}
.auth-point{
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,.13);
  border-radius:14px;
  padding:12px 14px;
  font-size:13px;
  font-weight:600;
  color:#fff;
  line-height:1.6;
  animation:fadeUp .7s ease both;
}
.auth-point:nth-child(1){ animation-delay:.08s; }
.auth-point:nth-child(2){ animation-delay:.16s; }
.auth-point:nth-child(3){ animation-delay:.24s; }
.auth-point:nth-child(4){ animation-delay:.32s; }
.auth-point .dot{
  width:22px;height:22px;
  border-radius:50%;
  background:#fff;
  flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  color:var(--green-600);
}
.auth-point .dot svg{ width:12px;height:12px; }
/* last pill = the reassurance note, visually quieter */
.auth-point.is-muted{
  background:rgba(0,0,0,.10);
  color:rgba(255,255,255,.9);
  font-weight:500;
  font-size:12px;
}
.auth-point.is-muted .dot{
  background:rgba(255,255,255,.35);
  color:#fff;
}

/* ---------- RIGHT: FORM CARD ---------- */
.auth-card{
  background:#fff;
  border:1px solid rgba(20,37,33,.06);
  border-radius:28px;
  min-height:100%;
  padding:clamp(24px,2.8vh,36px) clamp(22px,2.2vw,34px);
  box-shadow:0 26px 60px -44px rgba(20,37,33,.35);
  display:flex;
  flex-direction:column;
  justify-content:center;
  animation:fadeUp .8s .1s ease both;
}
.auth-card h2{
  margin:0 0 10px;
  font-size:clamp(24px,2.15vw,30px);
  font-weight:800;
  color:var(--ink);
  line-height:1.35;
}
.auth-card .auth-sub{
  margin:0 0 20px;
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
}

/* fields */
.field{ margin-bottom:14px; }
.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--ink);
  margin-bottom:8px;
}
.input-shell{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid #DDE7E2;
  border-radius:14px;
  padding:6px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.input-shell:focus-within{
  border-color:var(--green-600);
  box-shadow:0 0 0 4px rgba(10,164,88,.10);
}
.input-shell .ic{
  width:34px;height:34px;
  border-radius:10px;
  flex-shrink:0;
  order:2;               /* icon sits on the visual left in RTL */
  background:#EAF6F0;
  color:var(--green-600);
  display:flex;align-items:center;justify-content:center;
}
.input-shell .ic svg{ width:15px;height:15px; }
.input-shell input{
  order:1;
  flex:1;
  min-width:0;
  border:none;
  background:transparent;
  outline:none;
  height:40px;
  padding:0 10px;
  font-family:inherit;
  font-size:13px;
  color:var(--ink);
  text-align:right;
}
.input-shell input::placeholder{ color:#9BAAA4; }

/* password reveal */
.pw-toggle{
  order:0;
  flex-shrink:0;
  width:34px;height:34px;
  border:none;
  background:transparent;
  color:#9BAAA4;
  cursor:pointer;
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  transition:color .2s ease, background .2s ease;
}
.pw-toggle:hover{ color:var(--green-600); background:#F2F8F5; }
.pw-toggle svg{ width:16px;height:16px; }

/* remember + forgot row */
.field-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:2px 0 16px;
}
.checkbox{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  font-weight:600;
  color:var(--muted);
  cursor:pointer;
  user-select:none;
}
.checkbox input{
  appearance:none;
  -webkit-appearance:none;
  width:18px;height:18px;
  border:1.5px solid #CBD9D3;
  border-radius:5px;
  background:#fff;
  cursor:pointer;
  position:relative;
  flex-shrink:0;
  transition:background .2s ease, border-color .2s ease;
}
.checkbox input:checked{
  background:var(--green-600);
  border-color:var(--green-600);
}
.checkbox input:checked::after{
  content:"";
  position:absolute;
  inset:0;
  background:no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.checkbox input:focus-visible{ box-shadow:0 0 0 4px rgba(10,164,88,.14); }
.link-green{
  font-size:12.5px;
  font-weight:700;
  color:var(--green-600);
  text-decoration:none;
}
.link-green:hover{ text-decoration:underline; text-underline-offset:3px; }

/* buttons */
.btn-block{
  width:100%;
  height:50px;
  border-radius:14px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}
.btn-block[disabled],
.btn-block.is-loading{
  opacity:.75;
  cursor:wait;
}
.btn-google{
  width:100%;
  height:50px;
  border-radius:14px;
  border:1px solid #DDE7E2;
  background:#fff;
  color:var(--ink);
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:background .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-google:hover{ background:#F7FBF9; border-color:#C9DCD3; transform:translateY(-1px); }
.btn-google svg{ width:17px;height:17px; }

/* "or" divider */
.divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin:16px 0;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}
.divider::before,
.divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#E4EDE8;
}

/* footer links inside card */
.auth-alt{
  margin:16px 0 0;
  text-align:center;
  font-size:12.5px;
  font-weight:600;
  color:var(--muted);
}
.auth-alt a{
  color:var(--green-600);
  font-weight:700;
  text-decoration:none;
  margin-inline-start:4px;
}
.auth-alt a:hover{ text-decoration:underline; text-underline-offset:3px; }
.auth-terms{
  margin:14px 0 0;
  text-align:center;
  font-size:11px;
  line-height:1.8;
  color:#8B9A94;
}
.auth-terms a{ color:#8B9A94; text-decoration:underline; text-underline-offset:2px; }

/* inline validation */
.field-error{
  display:none;
  margin:7px 2px 0;
  font-size:12px;
  font-weight:600;
  color:var(--red);
}
.field.has-error .input-shell{
  border-color:var(--red);
  box-shadow:0 0 0 4px rgba(224,72,62,.08);
}
.field.has-error .field-error{ display:block; }
.form-alert{
  margin:14px 0;
  padding:12px 14px;
  border-radius:14px;
  font-size:12px;
  font-weight:700;
  line-height:1.8;
  text-align:center;
}
.form-alert-danger{
  border:1px solid rgba(224,72,62,.25);
  background:#FFF4F3;
  color:var(--red);
}

/* ---------- DESKTOP: fit the viewport, no page or panel scroll ---------- */
@media (min-width:981px){
  html, body{ height:100%; }
  /* a definite height + a 1fr row is what actually pins every auth page to the
     same footprint — with an auto row a tall form would stretch the card out */
  .auth-grid{
    height:min(700px, calc(100vh - 110px));
    max-height:min(700px, calc(100vh - 110px));
    grid-template-rows:minmax(0,1fr);
  }
  .auth-panel,
  .auth-card{
    max-height:100%;
    overflow:hidden;
  }
  /* longer forms (signup) scroll inside the card instead of growing the page,
     so every auth page keeps the exact same footprint. auto margins center a
     short step but collapse to 0 when it overflows — unlike justify-content,
     which would cut the top off inside a scroll container. */
  .auth-card.is-scroll{
    overflow-y:auto;
    justify-content:flex-start;
  }
  .auth-card.is-scroll > .step-top{ margin-top:auto; }
  .auth-card.is-scroll > .step:not([hidden]){ margin-bottom:auto; }

  /* compress vertically just enough to keep the larger scale inside the viewport */
  .auth-panel,
  .auth-card{
    padding:clamp(22px,2.4vh,32px) clamp(20px,2vw,30px);
  }
  .auth-panel-inner{ gap:14px; }
  .auth-panel h1{ font-size:clamp(21px,1.9vw,28px); }
  .auth-panel > .auth-panel-inner > p{
    font-size:clamp(12.5px,0.95vw,14px);
  }
  .auth-points{
    gap:9px;
    margin-top:2px;
  }
  .auth-point{
    padding:10px 12px;
    font-size:12.5px;
  }
  .auth-point.is-muted{ font-size:11.5px; }

  .auth-card h2{ font-size:clamp(22px,2vw,28px); }
  .auth-card .auth-sub{
    margin-bottom:14px;
    font-size:12.5px;
    line-height:1.7;
  }
  .field{ margin-bottom:12px; }
  .field label{ font-size:12.5px; }
  .input-shell{ padding:6px; }
  .input-shell .ic,
  .pw-toggle{ width:34px; height:34px; }
  .input-shell input{
    height:38px;
    font-size:13px;
  }
  .field-row{
    margin:0 0 14px;
  }
  .checkbox,
  .link-green,
  .divider,
  .auth-alt{ font-size:12px; }
  .btn-block,
  .btn-google{
    height:48px;
    font-size:13px;
  }
  .divider{ margin:14px 0; }
  .auth-alt{ margin-top:14px; }
  .auth-terms{
    margin-top:8px;
    font-size:10.5px;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  body{ overflow:auto; }
  .auth-topbar{
    padding-top:16px;
  }
  .auth-wrap{
    min-height:auto;
    padding-top:20px;
    padding-bottom:32px;
  }
  .auth-grid{
    grid-template-columns:1fr;
    gap:18px;
    min-height:auto;
    max-height:none;
  }
  /* form first on mobile — it's the reason people are on this page */
  .auth-card{ order:1; }
  .auth-panel{ order:2; }
  .auth-panel h1{
    font-size:clamp(20px,4.4vw,26px);
  }
  .auth-panel::after{ display:none; }
}
@media (max-width:560px){
  .auth-topbar{
    padding-top:14px;
    gap:10px;
  }
  .auth-brand{
    gap:10px;
    font-size:15px;
  }
  .auth-brand img{
    width:30px;
    height:30px;
  }
  .auth-back{
    min-height:38px;
    padding:0 14px;
    font-size:12px;
  }
  .auth-wrap{ padding-top:20px; }
  .auth-card,
  .auth-panel{
    border-radius:22px;
    padding:26px 20px;
  }
  .field-row{
    flex-wrap:wrap;
    gap:10px;
  }
  .btn-block,
  .btn-google{ height:50px; font-size:14.5px; }
  .auth-point{ font-size:12.8px; padding:12px 14px; }
}

/* ============================================================
   SHARED CARD COMPONENTS
   Everything below is used by signup / verify / success on top of
   the same .auth-wrap → .auth-grid → .auth-panel + .auth-card shell.
   ============================================================ */

/* ---------- step header (الخطوة x من y + progress) ---------- */
.step-top{ margin-bottom:14px; }
.step-meta{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  color:var(--green-600);
}
.progress{
  height:4px;
  border-radius:99px;
  background:#E4EDE8;
  overflow:hidden;
}
.progress > i{
  display:block;
  height:100%;
  width:33.33%;
  border-radius:99px;
  background:var(--green-600);
  transition:width .35s ease;
}

/* ---------- role picker ---------- */
.role-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px;
}
.role-card{
  position:relative;
  text-align:right;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:12px 13px;
  border:1px solid #DDE7E2;
  border-radius:16px;
  background:#fff;
  font-family:inherit;
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.role-card:hover{
  border-color:#BCD9C9;
  transform:translateY(-1px);
}
.role-card.is-active{
  border-color:var(--green-600);
  background:#F4FBF7;
  box-shadow:0 0 0 3px rgba(10,164,88,.10);
}
.role-card .role-head{
  display:flex;
  align-items:center;
  gap:9px;
}
.role-card .role-ic{
  width:30px;height:30px;
  border-radius:9px;
  flex-shrink:0;
  background:#EAF6F0;
  color:var(--green-600);
  display:flex;align-items:center;justify-content:center;
}
.role-card .role-ic svg{ width:15px;height:15px; }
.role-card .role-name{
  font-size:13px;
  font-weight:700;
  color:var(--ink);
  line-height:1.4;
}
.role-card .role-desc{
  font-size:11.5px;
  line-height:1.6;
  color:var(--muted);
}
/* the tick that marks the chosen role */
.role-card .role-check{
  position:absolute;
  top:10px; left:10px;
  width:20px;height:20px;
  border-radius:50%;
  background:var(--green-600);
  color:#fff;
  display:none;
  align-items:center;justify-content:center;
}
.role-card .role-check svg{ width:11px;height:11px; }
.role-card.is-active .role-check{ display:flex; }
.role-card:focus-visible{
  outline:none;
  border-color:var(--green-600);
  box-shadow:0 0 0 4px rgba(10,164,88,.14);
}

/* ---------- two-column form rows ---------- */
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 12px;
}
.form-grid .span-2{ grid-column:1 / -1; }

/* selects + textarea reuse .input-shell */
.input-shell select{
  order:1;
  flex:1;
  min-width:0;
  border:none;
  background:transparent;
  outline:none;
  height:40px;
  padding:0 10px;
  font-family:inherit;
  font-size:13px;
  color:var(--ink);
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.input-shell select:invalid{ color:#9BAAA4; }
.input-shell textarea{
  order:1;
  flex:1;
  min-width:0;
  border:none;
  background:transparent;
  outline:none;
  resize:none;
  min-height:74px;
  padding:10px;
  font-family:inherit;
  font-size:13px;
  line-height:1.7;
  color:var(--ink);
}
.input-shell textarea::placeholder{ color:#9BAAA4; }
.input-shell.is-area{ align-items:flex-start; }
.input-shell.is-area .ic{ margin-top:2px; }

/* ---------- file upload ---------- */
.upload{
  display:flex;
  align-items:center;
  gap:11px;
  padding:11px 12px;
  border:1.5px dashed #CFE2D8;
  border-radius:14px;
  background:#FAFDFB;
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease;
}
.upload:hover{ border-color:var(--green-600); background:#F4FBF7; }
.upload input{ display:none; }
.upload .ic{
  width:32px;height:32px;
  border-radius:9px;
  flex-shrink:0;
  background:#EAF6F0;
  color:var(--green-600);
  display:flex;align-items:center;justify-content:center;
}
.upload .ic svg{ width:15px;height:15px; }
.upload b{
  display:block;
  font-size:12.5px;
  font-weight:700;
  color:var(--ink);
}
.upload small{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:2px;
}

/* ---------- account-type chip (step 3 / success) ---------- */
.acct-chip{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 12px;
  border:1px solid #CFE7DA;
  border-radius:12px;
  background:#F4FBF7;
  margin-bottom:14px;
  font-size:12.5px;
  font-weight:700;
  color:var(--green-600);
}
.acct-chip svg{ width:15px;height:15px;flex-shrink:0; }

/* ---------- actions row ---------- */
.form-actions{
  display:flex;
  gap:10px;
  margin-top:4px;
}
.form-actions .gs-btn-primary{ flex:1; }
.btn-back{
  min-width:120px;
  height:50px;
  border-radius:14px;
  border:1px solid #DDE7E2;
  background:#fff;
  color:var(--ink);
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-back:hover{ background:#F7FBF9; border-color:#C9DCD3; transform:translateY(-1px); }

.form-note{
  margin:12px 0 0;
  text-align:center;
  font-size:11.5px;
  line-height:1.8;
  color:#8B9A94;
}

/* terms checkbox row */
.terms{ margin:2px 0 16px; }
.terms .checkbox{ align-items:flex-start; line-height:1.7; }
.terms .checkbox a{
  color:var(--green-600);
  font-weight:700;
  text-decoration:none;
}
.terms .checkbox a:hover{ text-decoration:underline; text-underline-offset:3px; }
.terms.has-error .checkbox input{ border-color:var(--red); }

/* ---------- verify (OTP) ---------- */
.card-center{ text-align:center; }
.badge-ic{
  width:56px;height:56px;
  margin:0 auto 16px;
  border-radius:18px;
  background:#EAF6F0;
  color:var(--green-600);
  display:flex;align-items:center;justify-content:center;
}
.badge-ic svg{ width:24px;height:24px; }

.mail-chip{
  display:block;
  padding:12px;
  border:1px solid #DDE7E2;
  border-radius:14px;
  background:#FAFDFB;
  font-size:13px;
  font-weight:700;
  color:var(--ink);
  text-align:center;
  margin-bottom:14px;
  direction:ltr;
}

.otp{
  display:flex;
  gap:9px;
  justify-content:space-between;
  margin-bottom:8px;
}
.otp input{
  flex:1;
  min-width:0;
  height:52px;
  border:1px solid #DDE7E2;
  border-radius:13px;
  background:#fff;
  font-family:inherit;
  font-size:20px;
  font-weight:800;
  color:var(--ink);
  text-align:center;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.otp input:focus{
  border-color:var(--green-600);
  box-shadow:0 0 0 4px rgba(10,164,88,.10);
}
.otp input.is-filled{ border-color:#BCD9C9; background:#FAFDFB; }
.field.has-error .otp input{ border-color:var(--red); }

.otp-timer{
  margin:0 0 16px;
  font-size:11.5px;
  font-weight:600;
  color:var(--muted);
}
.otp-timer.is-out{ color:var(--red); }

.link-btn{
  border:none;
  background:none;
  padding:0;
  font-family:inherit;
  font-size:12.5px;
  font-weight:700;
  color:var(--green-600);
  cursor:pointer;
}
.link-btn:hover{ text-decoration:underline; text-underline-offset:3px; }
.link-btn[disabled]{
  color:#9BAAA4;
  cursor:default;
  text-decoration:none;
}

.hint-box{
  margin-top:16px;
  padding:12px 14px;
  border:1px solid #E4EDE8;
  border-radius:14px;
  background:#FAFDFB;
  font-size:11.5px;
  line-height:1.8;
  color:var(--muted);
  text-align:center;
}
.hint-success{
  border-color:#CDEADC;
  background:#F1FBF6;
  color:var(--green-700);
}

/* ---------- success ---------- */
.success-icon{
  width:74px;height:74px;
  margin:0 auto 16px;
  border-radius:50%;
  background:var(--green-600);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 18px 34px -18px rgba(10,164,88,.7);
  animation:fadeUp .6s .2s ease both;
}
.success-icon svg{ width:32px;height:32px; }
.success-tag{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  color:var(--green-600);
}

.summary{
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 13px;
  border:1px solid #CFE7DA;
  border-radius:16px;
  background:#F4FBF7;
  text-align:right;
  margin-bottom:10px;
}
.summary .ic{
  width:34px;height:34px;
  border-radius:10px;
  flex-shrink:0;
  background:#fff;
  color:var(--green-600);
  display:flex;align-items:center;justify-content:center;
}
.summary .ic svg{ width:16px;height:16px; }
.summary b{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--ink);
}
.summary small{
  display:block;
  margin-top:2px;
  font-size:11.5px;
  line-height:1.6;
  color:var(--muted);
}

.check-list{
  list-style:none;
  margin:0 0 18px;
  padding:12px 13px;
  border:1px solid #E4EDE8;
  border-radius:16px;
  background:#fff;
  text-align:right;
}
.check-list li{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12.5px;
  font-weight:600;
  color:var(--ink);
  padding:5px 0;
}
.check-list li span{
  width:19px;height:19px;
  border-radius:50%;
  flex-shrink:0;
  background:#EAF6F0;
  color:var(--green-600);
  display:flex;align-items:center;justify-content:center;
}
.check-list li span svg{ width:11px;height:11px; }

/* works as a <button> or an <a> */
.btn-outline-block{
  width:100%;
  height:50px;
  margin-top:10px;
  border-radius:14px;
  border:1px solid #DDE7E2;
  background:#fff;
  color:var(--ink);
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-outline-block:hover{ background:#F7FBF9; border-color:#C9DCD3; transform:translateY(-1px); }

/* ---------- desktop compaction (matches the login rules above) ---------- */
@media (min-width:981px){
  /* keep the inner scrollbar unobtrusive */
  .auth-card.is-scroll{ scrollbar-width:thin; scrollbar-color:#CFE2D8 transparent; }
  .auth-card.is-scroll::-webkit-scrollbar{ width:6px; }
  .auth-card.is-scroll::-webkit-scrollbar-thumb{ background:#CFE2D8; border-radius:99px; }

  .role-card{ padding:11px 12px; }
  .role-card .role-desc{ font-size:11px; }
  .btn-back,
  .btn-outline-block{ height:48px; font-size:12.5px; }
  .otp input{ height:48px; font-size:19px; }
  .hint-box{ margin-top:12px; }
  .success-icon{ width:66px;height:66px;margin-bottom:12px; }
  .success-icon svg{ width:28px;height:28px; }
  .badge-ic{ width:52px;height:52px;margin-bottom:12px; }
}

/* ---------- responsive ---------- */
@media (max-width:560px){
  .role-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .form-actions{ flex-direction:column; }
  .btn-back{ width:100%; }
  .otp{ gap:6px; }
  .otp input{ height:46px; font-size:17px; }
}
