/* =========================================================
   PK Enterprise — "Become a Retailer" registration (signup.html)
   Light two-column layout: form card + benefits/services column.
   Reuses field/input/checkbox/strength styles from auth.css.
   ========================================================= */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

body.rg {
  min-height: 100vh; color: var(--text); overflow-x: hidden;
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(45,212,191,.10), transparent 70%),
    radial-gradient(600px 360px at 100% 10%, rgba(244,183,64,.10), transparent 70%),
    #F5F6F8;
}
.rg-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Top bar ---------- */
.rg-top { position: sticky; top: 0; z-index: 20; background: linear-gradient(100deg, #070B14 0%, #0B3B4A 55%, #0D9488 120%); box-shadow: 0 8px 24px -16px rgba(7,11,20,.7); }
.rg-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.rg-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.rg-logo img { width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.rg-logo span { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.rg-logo em { font-style: normal; color: var(--gold); }
.rg-top-right { display: flex; align-items: center; gap: 10px; }
.rg-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: .2s; }
.rg-btn.ghost { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.rg-btn.ghost:hover { background: rgba(255,255,255,.18); }
.rg-btn.solid { color: #1A1204; background: linear-gradient(180deg, #F8C65C, var(--gold)); box-shadow: 0 8px 18px -10px rgba(244,183,64,.8); }
.rg-btn.solid:hover { transform: translateY(-1px); }

/* ---------- Heading ---------- */
.rg-head { text-align: center; padding: 34px 0 26px; }
.rg-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--teal-d); background: #E6FAF6; border: 1px solid #BDEFE5; }
.rg-head h1 {
  margin-top: 14px; font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  font-size: clamp(32px, 4.4vw, 46px);
  background: linear-gradient(100deg, #0B3B4A, var(--teal-d) 55%, #DC9A16); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rg-head p { margin: 10px auto 0; max-width: 620px; font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ---------- Grid ---------- */
.rg-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 28px; }

/* ---------- Form card ---------- */
.rg-card {
  position: relative; overflow: hidden; background: #fff; border-radius: 22px; padding: 26px 28px 24px;
  border: 1px solid #E6E8EC; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 24px 50px -30px rgba(15,23,42,.25);
}
.rg .rg-card { width: auto; animation: none; }
.rg-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-d), var(--gold)); }

/* Steps */
.rg-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 22px; position: relative; }
.rg-steps::before { content: ""; position: absolute; top: 15px; left: 16.67%; right: 16.67%; height: 2px; background: #E6E8EC; }
.rg-steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 600; color: #94A3B8; }
.rg-steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #fff; border: 2px solid #E2E8F0; color: #94A3B8; }
.rg-steps li.on { color: var(--teal-d); }
.rg-steps li.on b { color: #fff; border-color: var(--teal-d); background: var(--teal-d); box-shadow: 0 0 0 5px rgba(45,212,191,.18); }

/* Fee banner */
.rg-fee {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(110deg, #ECFDF8, #FFF8E6); border: 1px solid #D5F2EA;
}
.rg-fee b { display: block; font-size: 15px; font-weight: 700; }
.rg-fee small, .rg-fee small.tb-free, .rg-fee small.tb-paid {
  display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px;
  background: none; padding: 0; border-radius: 0; letter-spacing: 0; text-transform: none;
}
.rg-fee small[hidden] { display: none; }
.rg-fee strong { font-family: var(--f-display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #0B3B4A; white-space: nowrap; }
.rg-fee strong.is-free { color: #059669; }

/* Plans */
.rg-form { display: grid; gap: 16px; }
.rg-plans { border: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 4px; }
.rg-plan {
  position: relative; display: grid; align-content: start; gap: 3px; padding: 16px 14px 14px; border-radius: 16px; cursor: pointer;
  background: #FAFBFC; border: 1.5px solid #E6E8EC; transition: border-color .2s, background .2s, box-shadow .25s, transform .25s var(--ease);
}
.rg-plan:hover { border-color: #CBD5E1; transform: translateY(-2px); }
.rg-plan input { position: absolute; opacity: 0; pointer-events: none; }
.rp-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px; background: var(--metal); color: var(--metal-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.rp-ic .ic { width: 20px; height: 20px; }
.rg-plan b { font-family: var(--f-display); font-size: 16px; }
.rg-plan small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.rg-plan em { font-style: normal; font-family: var(--f-display); font-size: 18px; font-weight: 700; margin-top: 6px; color: #B45309; }
.rg-plan em.free { color: #059669; }
.rg-plan .tick { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--teal-d); transform: scale(0); transition: transform .3s var(--ease); }
.rg-plan .tick .ic { width: 12px; height: 12px; stroke-width: 3; }
.rg-plan:has(input:checked), .rg-plan.on { background: #F2FCFA; border-color: var(--teal-d); box-shadow: 0 0 0 4px rgba(45,212,191,.14), 0 14px 26px -18px rgba(13,148,136,.7); }
.rg-plan:has(input:checked) .tick, .rg-plan.on .tick { transform: scale(1); }
.rg-plan:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(45,212,191,.35); }
.rg-plan .ribbon {
  position: absolute; top: -10px; right: 12px; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #1A1204; background: linear-gradient(180deg, #FFD97A, var(--gold)); box-shadow: 0 6px 14px -6px rgba(220,154,22,.8);
}
body.lang-bn .rg-plan .ribbon, body.lang-hi .rg-plan .ribbon { letter-spacing: .02em; font-size: 11.5px; }
.m-silver   { --metal: linear-gradient(135deg, #F4F6F9, #B9C1CC 55%, #E6EAF0); --metal-ink: #4E5868; }
.m-gold     { --metal: linear-gradient(135deg, #FFE7A3, #E0A526 55%, #FFD36B); --metal-ink: #7A4D00; }
.m-platinum { --metal: linear-gradient(135deg, #E8F1F8, #8FA9C2 50%, #D3E3F0 75%, #A7BDD3); --metal-ink: #2C4762; }

/* Fields (layout tweaks on top of auth.css) */
.rg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.rg .field { align-content: start; }
.rg .field label { font-size: 13px; letter-spacing: .02em; text-transform: none; color: #334155; }
.rg .field label .req { font-style: normal; color: #E11D48; }
.rg .input-wrap input { height: 50px; border-radius: 13px; background: #F7F8FA; border: 1.5px solid #E6E8EC; box-shadow: none; font-size: 15px; }
.rg .input-wrap input:hover { background: #F1F3F6; }
.rg .input-wrap input:focus { background: #fff; }
.rg .field .hint { font-size: 12.5px; color: var(--muted); }
.rg .field.invalid .hint { display: none; }
.rg .check { font-size: 14px; line-height: 1.5; }
.rg-submit { --h: 56px; margin-top: 4px; }
.rg .fine-print { margin-top: -4px; }
.rg-login { margin-top: 18px; padding-top: 16px; border-top: 1px solid #EEF0F3; text-align: center; font-size: 15px; color: var(--muted); }
.rg-login a { color: var(--teal-d); font-weight: 700; }
.rg-login a:hover { text-decoration: underline; }

/* ---------- Side column ---------- */
.rg-side { display: grid; gap: 20px; position: sticky; top: 84px; }
.rg-benefits {
  position: relative; overflow: hidden; isolation: isolate; padding: 24px; border-radius: 22px; color: #fff;
  background: linear-gradient(150deg, #0B3B4A 0%, #0D9488 70%, #14B8A6 100%);
  box-shadow: 0 24px 50px -28px rgba(13,148,136,.8);
}
.rg-benefits::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(244,183,64,.45), transparent 65%); }
.rg-benefits h2 { font-family: var(--f-display); font-size: 19px; margin-bottom: 14px; }
.rg-benefits ul { list-style: none; display: grid; gap: 11px; }
.rg-benefits li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.92); }
.rg-benefits .ok { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; display: grid; place-items: center; background: #fff; color: var(--teal-d); }
.rg-benefits .ok .ic { width: 13px; height: 13px; stroke-width: 3.2; }

.rg-services { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid #E6E8EC; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 18px 40px -30px rgba(15,23,42,.25); }
.rg-services h2 { font-family: var(--f-display); font-size: 18px; }
.rg-services > p { font-size: 13.5px; color: var(--muted); margin: 2px 0 14px; }
.rg-services ul { list-style: none; display: grid; gap: 8px; }
.rg-services li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; background: #FAFBFC; border: 1px solid #EEF0F3; font-size: 14.5px; font-weight: 600; transition: .2s; }
.rg-services li:hover { border-color: #BDEFE5; background: #F2FCFA; transform: translateX(2px); }
.sv { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.sv .ic { width: 17px; height: 17px; }
.c-teal { background: #CCFBF1; color: var(--teal-d); }
.c-gold { background: #FEF3C7; color: var(--gold-d); }
.c-blue { background: #E0EAFF; color: #2E5BDB; }
.c-violet { background: #EDE9FE; color: #6D4AE0; }
.c-rose { background: #FDE8EC; color: #D23A5A; }
.c-green { background: #DCFCE7; color: #15803D; }
.rg-more { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--teal-d); }
.rg-more:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.rg-foot { padding: 8px 0 36px; text-align: center; }
.rg-contact { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 auto 14px; }
.rg-contact a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #0B3B4A; background: #fff; border: 1px solid #E2E8EE; overflow-wrap: anywhere; transition: .2s; }
.rg-contact a:hover { border-color: var(--teal-d); color: var(--teal-d); }
.rg-contact .ic { width: 16px; height: 16px; flex: none; color: var(--teal-d); }
.rg-foot p { max-width: 780px; margin: 0 auto; font-size: 12.5px; line-height: 1.6; color: #64748B; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px dashed #D9DEE5; }
.rg-foot small { display: block; margin-top: 12px; font-size: 12.5px; color: #94A3B8; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .rg-grid { grid-template-columns: 1fr; }
  .rg-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 680px) {
  .rg-top-in { height: 58px; }
  .rg-logo span { font-size: 16px; }
  .rg-logo img { width: 34px; height: 34px; }
  .rg-btn.solid { display: none; }
  .rg-btn { height: 32px; padding: 0 11px; font-size: 13px; }
  .rg-top .lang-switch button { padding: 3px 7px; min-width: 30px; }
  .rg-head { padding: 24px 0 18px; }
  .rg-head p { font-size: 14.5px; }
  .rg-card { padding: 22px 16px 20px; border-radius: 18px; }
  .rg-steps li { font-size: 11px; }
  .rg-fee { padding: 14px; }
  .rg-fee strong { font-size: 24px; }
  .rg-plans { gap: 8px; }
  .rg-plan { padding: 14px 10px 12px; }
  .rg-plan small { display: none; }
  .rg-plan b { font-size: 14px; }
  .rg-plan em { font-size: 16px; margin-top: 2px; }
  .rp-ic { width: 34px; height: 34px; border-radius: 10px; }
  .rg-row { grid-template-columns: 1fr; }
  .rg-side { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .rg-btn.ghost { display: none; } /* "Login" is also at the bottom of the form */
}
