/* Sign-up (next/onboarding/register) — in the sign-in page's look: soft indigo gradient,
   Questrial, rounded white cards, pill inputs, green button. Wizard left (wide), business
   taking shape right (narrow); one column on phones with the business as a strip on top. Prefix rg-. */

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: #e6f1ed; }
.rg-body { font-family: 'Questrial', 'Segoe UI', Tahoma, Arial, sans-serif; color: #111827; background: linear-gradient(135deg, #f8faf9 0%, #e6f1ed 45%, #eef4f1 100%); background-attachment: fixed; min-height: 100vh; -webkit-font-smoothing: antialiased; }
.rg-body [hidden] { display: none !important; }

.rg-top { display: flex; justify-content: flex-end; align-items: center; gap: 26px; padding: 28px 50px 0; font-size: 14px; }
.rg-pill { padding: 12px 22px; border-radius: 999px; background: rgba(255, 255, 255, .65); border: 1px solid #9cc9bc; color: #374151; text-decoration: none; }
.rg-pill:hover, .rg-toplink:hover { color: #111827; }
.rg-toplink { color: #374151; text-decoration: none; }
.rg-main { padding: 26px 24px 60px; }

.rg { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; max-width: 1180px; margin: 0 auto; align-items: start; }
.rg-card { background: rgba(255, 255, 255, .92); border-radius: 24px; box-shadow: 0 25px 55px -28px rgba(15, 23, 42, .5); }
.rg-wiz { padding: 32px 40px 30px; }
.rg-brand { display: flex; align-items: center; min-height: 64px; margin-bottom: 26px; }
.rg-siniam { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rg-wordmark { height: 56px; width: auto; display: block; }
.rg-tagline { padding-left: 18px; border-left: 2px solid #dba540; font-size: 16px; color: #035343; }
.rg-own { display: flex; align-items: center; gap: 16px; font-size: 22px; letter-spacing: -.01em; }
.rg-own img { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; flex: none; }
.rg-own b { font-weight: 400; }
.rg-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.rg-track i { height: 6px; border-radius: 3px; background: #e5e7eb; transition: background .2s; }
.rg-track i.done, .rg-track i.now { background: #035343; }
.rg-count { margin: 0 0 24px; font-size: 13px; color: #6b7280; }
.rg-count b { color: #035343; font-weight: 400; }
.rg-q { margin: 0 0 8px; font-size: 32px; line-height: 1.2; font-weight: 400; letter-spacing: -.01em; }
.rg-qs { margin: 0 0 24px; font-size: 15.5px; line-height: 1.5; color: #6b7280; }

.rg-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.rg-lbl { font-size: 13px; color: #4b5563; margin-left: 4px; }
.rg-lbl em { font-style: normal; color: #9ca3af; margin-left: 4px; }
.rg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.rg-in { width: 100%; height: 54px; border: 1px solid transparent; border-radius: 16px; background: #f3f4f6; padding: 0 16px; font: inherit; font-size: 16px; color: #111827; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06); outline: none; transition: background .15s, box-shadow .15s, border-color .15s; }
.rg-in::placeholder { color: #9ca3af; }
.rg-in:focus { background: #fff; border-color: #9cc9bc; box-shadow: 0 0 0 3px rgba(19, 119, 97, .18); }
.rg-in.is-invalid { border-color: #fca5a5; background: #fff; box-shadow: 0 0 0 2px rgba(239, 68, 68, .15); }
select.rg-in { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.rg-hint { font-size: 12.5px; color: #6b7280; margin: 0 0 0 4px; }
.rg-err { font-size: 12.5px; color: #dc2626; margin: 0 0 0 4px; }
.rg-ok { font-size: 12.5px; color: #047857; margin-left: 4px; }
.rg-link { border: 0; background: none; padding: 0; font: inherit; color: #035343; cursor: pointer; text-decoration: underline; }

.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-chip { position: relative; cursor: pointer; }
.rg-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rg-chip span { display: inline-block; padding: 11px 18px; border-radius: 999px; background: #f3f4f6; border: 1px solid transparent; font-size: 14.5px; color: #374151; transition: background .15s, border-color .15s; }
.rg-chip:hover span { background: #e5e7eb; }
.rg-chip input:checked + span { background: #e7f2ef; border-color: #137761; color: #035343; }
.rg-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(19, 119, 97, .25); }
.rg-types .rg-hint { margin-top: 4px; }

.rg-note { display: flex; align-items: center; gap: 10px; margin: -2px 0 18px; padding: 12px 16px; border-radius: 16px; background: #e7f2ef; color: #035343; font-size: 14px; }
.rg-note .rg-link { margin-left: auto; }
.rg-pass { position: relative; display: block; }
.rg-pass .rg-in { padding-right: 48px; }
.rg-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: #6b7280; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rg-eye:hover { background: #e5e7eb; }
.rg-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 4px; margin: 2px 4px 0; }
.rg-meter i { border-radius: 2px; background: #e5e7eb; }
.rg-meter.is-1 i:nth-child(-n+1) { background: #f59e0b; }
.rg-meter.is-2 i:nth-child(-n+2) { background: #10b981; }
.rg-meter.is-3 i { background: #047857; }
.rg-logo-pick { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: #f3f4f6; cursor: pointer; font-size: 14px; color: #4b5563; }
.rg-logo-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rg-logo-prev { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 20px; overflow: hidden; }
.rg-logo-prev img { width: 100%; height: 100%; object-fit: contain; }
.rg-terms { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-size: 14px; }
.rg-terms-text { max-height: 200px; overflow: auto; padding: 12px 14px; margin-bottom: 12px; border-radius: 14px; background: #f9fafb; font-size: 12.5px; color: #4b5563; }

.rg-nav { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.rg-sp { flex: 1; }
.rg-back { text-decoration: none; font-size: 15px; }
.rg-kbd { font-size: 13px; color: #9ca3af; }
.rg-btn { height: 54px; padding: 0 34px; border: 0; border-radius: 16px; color: #fff; font: inherit; font-size: 16px; background: linear-gradient(135deg, #035343 0%, #137761 100%); box-shadow: 0 14px 30px -18px rgba(3, 83, 67, .9); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; display: inline-flex; align-items: center; gap: 8px; }
.rg-btn:hover { transform: translateY(-1px); }
.rg-btn:disabled { opacity: .75; cursor: default; transform: none; }
.rg-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: rg-spin .8s linear infinite; }
@keyframes rg-spin { to { transform: rotate(360deg); } }

/* Right: the business taking shape */
.rg-prev { position: sticky; top: 24px; padding: 22px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(156, 201, 188, .7); box-shadow: none; }
.rg-k { margin: 0 0 14px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
.rg-pv { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rg-ini { width: 46px; height: 46px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rg-ini img { width: 100%; height: 100%; object-fit: contain; }
.rg-ini.is-own { background: #fff; border: 1px solid #e5e7eb; }
.rg-pv b { display: block; font-size: 18px; font-weight: 400; overflow-wrap: anywhere; }
.rg-pv small { color: #137761; font-size: 13px; }
.rg-pl { list-style: none; margin: 0; padding: 0; }
.rg-pl li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(203, 213, 225, .7); font-size: 13.5px; color: #6b7280; }
.rg-pl li span:last-child { color: #111827; text-align: right; }
.rg-pl li.is-empty span:last-child { color: #c0c4cc; }
.rg-steps { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(203, 213, 225, .7); list-style: none; }
.rg-steps li { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 13.5px; color: #9ca3af; }
.rg-steps li i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d1d5db; font-style: normal; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.rg-steps li.is-done { color: #4b5563; }
.rg-steps li.is-done i { background: #035343; border-color: #035343; color: #fff; }
.rg-steps li.is-now { color: #035343; }
.rg-steps li.is-now i { border-color: #035343; color: #035343; }
.rg-pfoot { margin: 16px 0 0; font-size: 13px; color: #6b7280; }
.rg-pfoot a { color: #035343; }

/* Icons (shared sprite) and toasts, without the app's stylesheet */
.nx-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx-i.sm { width: 16px; height: 16px; }
.nx-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: 8px; }
.nx-toast { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; background: #111827; color: #fff; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(15, 23, 42, .4); }
.nx-toast.is-error { background: #b91c1c; }

@media (max-width: 900px) {
  .rg-top { padding: 16px 16px 0; gap: 16px; }
  .rg-main { padding: 14px 16px 40px; }
  .rg { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rg-prev { position: static; order: -1; padding: 14px 16px; }
  .rg-prev .rg-k, .rg-prev .rg-pl, .rg-prev .rg-steps, .rg-prev .rg-pfoot { display: none; }
  .rg-pv { margin: 0; }
  .rg-wiz { padding: 24px 18px; }
  .rg-brand { min-height: 48px; }
  .rg-wordmark { height: 44px; }
  .rg-siniam { gap: 6px 14px; }
  .rg-tagline { padding-left: 14px; font-size: 14px; }
  .rg-own { font-size: 19px; gap: 12px; }
  .rg-own img { width: 52px; height: 52px; border-radius: 14px; }
  .rg-q { font-size: 26px; }
  .rg-row { grid-template-columns: minmax(0, 1fr); }
  .rg-kbd { display: none; }
}

/* Web address (central sign-up under tenancy): the input with the domain fixed on its right. */
.rg-addr { display: flex; align-items: stretch; }
.rg-addr .rg-in { flex: 1; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.rg-addr-suffix { display: inline-flex; align-items: center; padding: 0 16px 0 4px; border-radius: 0 16px 16px 0; background: #f3f4f6; color: #6b7280; font-size: 16px; white-space: nowrap; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06); }
.rg-addr .rg-in:focus + .rg-addr-suffix { background: #fff; }
@media (max-width: 480px) { .rg-addr-suffix { font-size: 14px; padding-right: 12px; } }

/* Taken address: free ones close to it, one tap each. The address, once more, before creating. */
.rg-sugg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0 4px; font-size: 13px; color: #6b7280; }
.rg-sugg-pick { border: 1px solid #cfe3dc; background: #eef6f3; color: #035343; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.rg-sugg-pick:hover, .rg-sugg-pick:focus-visible { background: #dcefe8; outline: none; }
.rg-final { margin: 4px 0 0; padding: 12px 14px; border-radius: 14px; background: #eef6f3; color: #035343; font-size: 14px; }
.rg-final:empty { display: none; }
