:root {
  --auth-ink: #101b41;
  --auth-muted: #637094;
  --auth-blue: #3d72ff;
  --auth-purple: #7658e9;
  --auth-line: #dce4f2;
  --auth-surface: rgba(255, 255, 255, 0.94);
  --auth-gradient: linear-gradient(135deg, #3479ff 0%, #555ef5 52%, #8151de 100%);
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--auth-ink);
  background: #f8faff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.auth-navbar {
  position: relative;
  z-index: 50;
  height: 110px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(35, 59, 120, 0.04), 0 10px 35px rgba(55, 76, 128, 0.04);
}
.auth-navbar__inner {
  width: min(1385px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-brand { display: inline-flex; align-items: center; gap: 15px; }
.auth-brand__logo { width: 48px; height: 48px; object-fit: contain; }
.auth-brand__copy { display: flex; flex-direction: column; line-height: 1.1; }
.auth-brand__copy strong { font-size: 30px; letter-spacing: -1.1px; font-weight: 700; }
.auth-brand__copy small { margin-top: 7px; color: #52638c; font-size: 15px; font-weight: 400; letter-spacing: -.2px; }
.auth-nav { display: flex; align-items: center; gap: clamp(34px, 4.7vw, 73px); font-size: 16px; font-weight: 600; }
.auth-nav > a:not(.auth-nav__cta) { transition: color .2s ease, transform .2s ease; }
.auth-nav > a:not(.auth-nav__cta):hover { color: var(--auth-blue); transform: translateY(-1px); }
.auth-nav__cta {
  min-width: 163px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  color: white;
  border-radius: 14px;
  background: var(--auth-gradient);
  box-shadow: 0 12px 24px rgba(70, 92, 229, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.auth-nav__cta:hover { transform: translateY(-2px); box-shadow: 0 15px 28px rgba(70, 92, 229, .3); }
.auth-nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: #f2f5ff; }
.auth-nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 9px; background: var(--auth-ink); transition: .2s ease; }

.auth-main {
  position: relative;
  min-height: calc(100vh - 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 16%, rgba(113, 144, 255, .13), transparent 30%),
    radial-gradient(circle at 52% 92%, rgba(126, 86, 233, .1), transparent 25%),
    linear-gradient(115deg, #fbfcff 2%, #f9fbff 48%, #f3f7ff 100%);
}
.auth-main::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: 5%;
  width: 190px;
  height: 260px;
  opacity: .38;
  background-image: radial-gradient(#a9c3ff 2px, transparent 2px);
  background-size: 17px 17px;
  mask-image: linear-gradient(to left, #000, transparent 90%);
}
.auth-layout {
  position: relative;
  z-index: 2;
  width: min(1385px, calc(100% - 80px));
  min-height: calc(100vh - 110px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.66fr) minmax(440px, 1fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: center;
  padding: 44px 0 54px;
}

.auth-showcase { position: relative; min-width: 0; align-self: center; }
.auth-showcase__dots {
  position: absolute;
  left: -80px;
  top: 32px;
  width: 70px;
  height: 195px;
  opacity: .35;
  background-image: radial-gradient(#b6ccff 2px, transparent 2px);
  background-size: 17px 17px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.auth-showcase__heading { margin: 0 0 30px 2px; }
.auth-showcase__eyebrow { display: none; }
.auth-showcase__heading h1 { margin: 0; font-size: clamp(38px, 3.05vw, 50px); line-height: 1.28; letter-spacing: -1.8px; font-weight: 700; }
.auth-showcase__heading h1 span { color: transparent; background: linear-gradient(90deg, #3c83ff, #615bf0); -webkit-background-clip: text; background-clip: text; }
.auth-showcase__tagline { margin: 12px 0 0; color: #637094; font-size: 20px; font-weight: 500; }

.auth-dashboard { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(205px, 1fr); gap: 18px; }
.performance-card, .profit-card, .metric-card {
  border: 1px solid rgba(224, 231, 244, .8);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 50px rgba(53, 75, 135, .08);
}
.performance-card { position: relative; min-width: 0; height: 295px; padding: 19px 21px 15px; border-radius: 14px; overflow: hidden; }
.dashboard-card__topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid #edf1f7; font-size: 13px; }
.dashboard-card__topline > span { padding: 7px 11px; color: #526080; border: 1px solid #dce5f2; border-radius: 8px; font-size: 11px; }
.dashboard-card__topline i { margin-left: 5px; font-size: 8px; }
.performance-card__summary { position: relative; z-index: 2; margin-top: 16px; }
.performance-card__summary div { display: flex; flex-direction: column; align-items: flex-start; }
.performance-card__summary small { font-size: 13px; font-weight: 600; }
.performance-card__summary strong { margin: 5px 0 1px; font-size: 23px; }
.performance-card__summary em, .metric-card em { color: #35a66e; font-size: 12px; font-style: normal; }
.performance-chart { position: absolute; z-index: 1; left: 50px; right: 20px; bottom: 28px; width: calc(100% - 70px); height: 130px; overflow: visible; }
.chart-grid line { stroke: #edf1f8; stroke-width: 1; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #3268ff; stroke-width: 3; stroke-linecap: round; }
.performance-chart circle { fill: #3268ff; stroke: #fff; stroke-width: 2; }
.chart-labels { position: absolute; left: 50px; right: 17px; bottom: 11px; display: flex; justify-content: space-between; color: #71809f; font-size: 9px; }

.profit-card { position: relative; height: 295px; padding: 29px 22px; color: #fff; border: 0; border-radius: 14px; overflow: hidden; background: linear-gradient(145deg, #5968f5 0%, #334bed 58%, #463be5 100%); box-shadow: 0 18px 45px rgba(56, 69, 220, .25); }
.profit-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 4%, rgba(255,255,255,.2), transparent 28%); }
.profit-card__header { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.profit-card__header > i { width: 40px; height: 40px; display: grid; place-items: center; color: #6271f2; border-radius: 50%; background: white; }
.profit-card > strong { position: relative; display: block; margin-top: 34px; font-size: 22px; }
.profit-card > small { position: relative; display: block; margin-top: 8px; font-size: 11px; }
.profit-bars { position: absolute; left: 22px; right: 22px; bottom: 27px; height: 75px; display: flex; align-items: flex-end; gap: 8px; }
.profit-bars i { flex: 1; height: var(--bar); min-width: 7px; border-radius: 3px 3px 0 0; background: linear-gradient(to top, rgba(143, 175, 255, .46), rgba(160, 188, 255, .9)); }

.metric-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.metric-card { min-width: 0; height: 112px; padding: 20px; display: flex; align-items: center; gap: 17px; border-radius: 14px; }
.metric-card > span { min-width: 0; display: flex; flex-direction: column; }
.metric-card small { color: #637094; font-size: 12px; }
.metric-card strong { margin: 3px 0; white-space: nowrap; font-size: clamp(15px, 1.25vw, 20px); }
.metric-icon { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; font-size: 18px; }
.metric-icon--sales { color: #4e74f6; background: #e3eaff; }
.metric-icon--profit { color: #43a987; background: #dcf3ec; }
.metric-icon--expense { color: #ff7a4f; background: #ffeadf; }

.growth-visual { position: relative; height: 120px; margin-top: 20px; overflow: hidden; }
.growth-visual__copy { position: absolute; top: 28px; left: 5px; display: flex; flex-direction: column; max-width: 220px; }
.growth-visual__copy strong { font-size: 16px; }
.growth-visual__copy span { margin-top: 6px; color: #7783a1; font-size: 12px; line-height: 1.45; }
.growth-arrow { position: absolute; right: 120px; bottom: 10px; width: 250px; height: 78px; overflow: visible; }
.growth-arrow path { fill: none; stroke: url(#arrowGradient); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.growth-bars { position: absolute; right: 8px; bottom: 0; height: 112px; display: flex; align-items: flex-end; gap: 13px; }
.growth-bars i { width: 38px; height: 38px; border-radius: 4px 4px 0 0; background: linear-gradient(145deg, #80b5f7, #5b8cde); box-shadow: inset 5px 0 rgba(255,255,255,.15); }
.growth-bars i:nth-child(2) { height: 62px; background: linear-gradient(145deg, #8ed6c0, #69b79e); }
.growth-bars i:nth-child(3) { height: 84px; background: linear-gradient(145deg, #a8a0f5, #736ae0); }
.growth-bars i:nth-child(4) { height: 112px; background: linear-gradient(145deg, #91c5fc, #5e91dc); }

.auth-card {
  width: 100%;
  padding: 52px 36px 48px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: var(--auth-surface);
  box-shadow: 0 24px 70px rgba(62, 83, 141, .12);
  backdrop-filter: blur(18px);
}
.auth-card__icon { width: 70px; height: 70px; margin: 0 auto 25px; display: grid; place-items: center; color: #6671f6; border-radius: 50%; background: linear-gradient(145deg, #f1f3ff, #f7f5ff); font-size: 26px; }
.auth-card__header { text-align: center; }
.auth-card__header h2 { margin: 0; font-size: 33px; letter-spacing: -1.1px; }
.auth-card__header p { margin: 13px 0 0; color: #6b7695; font-size: 16px; line-height: 1.55; }
.auth-form { margin-top: 38px; }
.form-group { margin-bottom: 26px; }
.form-label { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; color: #536181; font-size: 14px; font-weight: 500; }
.form-label > i {
  flex: 0 0 17px;
  width: 17px;
  display: inline-grid;
  place-items: center;
  color: #6672f6;
  text-align: center;
  font-size: 14px;
  line-height: 1;
}
.label-optional { color: #98a2b8; font-size: 12px; font-weight: 400; }
.input-wrapper, .password-container { position: relative; }
.form-input {
  display: block;
  width: 100%;
  height: 66px;
  padding: 0 21px;
  color: #111528;
  border: 1px solid var(--auth-line);
  border-radius: 13px;
  outline: none;
  background: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: normal;
  text-overflow: ellipsis;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-input::placeholder { color: #a0a8ba; }
.form-input:focus { border-color: #6d78f8; background: #fff; box-shadow: 0 0 0 4px rgba(92, 105, 244, .1); }
select.form-input { cursor: pointer; }
.password-wrapper .form-input, .password-container .form-input { padding-right: 62px; }
.password-toggle, .toggle-password {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #7783a1;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  transition: color .2s ease, background .2s ease;
}
.password-toggle:hover, .toggle-password:hover { color: #5362e8; background: #f0f3ff; }
.password-toggle:focus-visible, .toggle-password:focus-visible { outline: 2px solid #6975f5; outline-offset: 1px; }
.form-options { margin: -1px 0 39px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
.checkbox-wrapper { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-wrapper input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.checkbox-custom { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #cbd5e7; border-radius: 5px; background: #fff; }
.checkbox-wrapper input:checked + .checkbox-custom { border-color: #416cff; background: linear-gradient(135deg, #3479ff, #5656ef); }
.checkbox-wrapper input:checked + .checkbox-custom::after { content: "\2713"; color: #fff; font-size: 14px; font-weight: 700; }
.forgot-link, .register-link { color: #165eff; font-weight: 500; }
.forgot-link:hover, .register-link:hover { text-decoration: underline; }
.submit-btn {
  position: relative;
  width: 100%;
  height: 65px;
  display: grid;
  place-items: center;
  padding: 0 24px;
  overflow: hidden;
  color: #fff;
  border: 0;
  border-radius: 13px;
  background: var(--auth-gradient);
  box-shadow: 0 15px 28px rgba(73, 83, 225, .22);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(73, 83, 225, .3); }
.submit-btn:disabled { cursor: wait; opacity: .7; transform: none; }
.btn-text { position: relative; z-index: 2; }
.btn-bg { display: none; }
.btn-ripple { position: absolute; z-index: 1; border-radius: 50%; background: rgba(255,255,255,.25); transform: scale(0); animation: auth-ripple .6s linear; pointer-events: none; }
@keyframes auth-ripple { to { transform: scale(4); opacity: 0; } }
.form-footer { margin-top: 39px; text-align: center; }
.footer-text { margin: 0; color: #6d7897; font-size: 14px; }
.footer-text .register-link { margin-left: 7px; }
.input-error, .error-message { min-height: 18px; margin-top: 7px; color: #d84555; font-size: 12px; }
.alert { margin: 20px 0 -8px; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.45; text-align: left; }
.alert-error { color: #a72c3a; border: 1px solid #f2c7cd; background: #fff2f4; }
.alert i { margin-right: 7px; }

.register-page .auth-layout {
  align-items: start;
  padding-top: 22px;
}
.register-page .auth-layout { grid-template-columns: minmax(0, 1.45fr) minmax(560px, 1fr); }
.register-page .auth-showcase {
  position: sticky;
  top: 22px;
  margin-top: 0;
}
.register-page .auth-card { padding: 42px 34px 36px; }
.register-page .auth-card__icon { width: 62px; height: 62px; margin-bottom: 18px; font-size: 22px; }
.register-page .auth-card__header h2 { font-size: 30px; }
.register-page .auth-card__header p { font-size: 14px; }
.register-page .auth-form { margin-top: 30px; }
.register-page .form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.register-page .form-group { min-width: 0; margin-bottom: 20px; }
.register-page .form-group:has(#phone) { grid-column: 1 / -1; }
.register-page .address-field-group { grid-column: 1 / -1; }
.register-page .form-group:has(#gstNumber) { grid-column: 1 / -1; }
.register-page .form-input { height: 56px; padding: 0 16px; font-size: 14px; }
.register-page textarea.form-input.auto-grow-textarea {
  min-height: 92px;
  padding-block: 15px;
  overflow-y: hidden;
  resize: vertical;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.register-page .password-container .form-input { padding-right: 57px; }
.register-page .password-toggle { right: 8px; width: 38px; height: 38px; font-size: 16px; }
.register-page .form-label { margin-bottom: 9px; font-size: 13px; }
.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 2px 0 20px;
  color: #6d7897;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
}
.legal-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.legal-consent__check {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid #cbd5e7;
  border-radius: 5px;
  background: #fff;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.legal-consent input:checked + .legal-consent__check {
  border-color: #416cff;
  background: linear-gradient(135deg, #3479ff, #5656ef);
}
.legal-consent input:checked + .legal-consent__check::after {
  content: "\2713";
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.legal-consent input:focus-visible + .legal-consent__check {
  outline: 2px solid #6975f5;
  outline-offset: 2px;
}
.legal-consent__copy { flex: 1; }
.legal-consent a { color: #165eff; font-weight: 600; text-decoration: none; }
.legal-consent a:hover { text-decoration: underline; }
.register-page .form-footer { margin-top: 28px; }
.register-page .submit-btn { margin-top: 7px; height: 60px; }
.trial-banner { margin: -12px auto 18px; padding: 10px 14px; color: #355cc9; border: 1px solid #d9e3ff; border-radius: 10px; background: #f1f5ff; font-size: 13px; }
.mini-row { display: flex; align-items: center; gap: 9px; }
.mini-row > .input-wrapper { flex: 1; min-width: 0; }
.mini-btn { flex: 0 0 auto; min-height: 48px; padding: 0 13px; color: #315bdd; border: 1px solid #cedaff; border-radius: 10px; background: #f3f6ff; cursor: pointer; font-size: 12px; font-weight: 700; }
.mini-btn:hover { background: #e9efff; }
.mini-btn:disabled { cursor: not-allowed; opacity: .55; }
.status-pill { width: fit-content; margin-top: 9px; padding: 7px 10px; color: #218b60; border: 1px solid #bce7d3; border-radius: 99px; background: #ebfbf3; font-size: 12px; font-weight: 700; }
.info-box { margin: 10px 0 18px; padding: 13px; color: #5a6889; border: 1px solid #dce5f3; border-radius: 11px; background: #f8faff; font-size: 12px; line-height: 1.5; }
.info-box strong { color: var(--auth-ink); }
#recaptcha-container { min-height: 1px; }
.global-error { white-space: pre-line; }

@media (max-width: 1180px) {
  .auth-navbar__inner, .auth-layout { width: min(calc(100% - 48px), 1050px); }
  .auth-layout { grid-template-columns: minmax(0, 1.25fr) minmax(410px, .9fr); gap: 35px; }
  .auth-dashboard { grid-template-columns: 1fr; }
  .profit-card { display: none; }
  .metric-card { padding: 15px; gap: 10px; }
  .metric-icon { width: 40px; height: 40px; }
  .growth-visual { display: none; }
  .auth-nav { gap: 30px; }
  .register-page .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); }
  .register-page .form-grid { grid-template-columns: 1fr; }
  .register-page .form-group:has(#phone) { grid-column: auto; }
  .register-page .address-field-group { grid-column: auto; }
  .register-page .form-group:has(#gstNumber) { grid-column: auto; }
}

@media (max-width: 900px) {
  .auth-navbar { height: 86px; }
  .auth-navbar__inner, .auth-layout { width: min(calc(100% - 36px), 600px); }
  .auth-brand__logo { width: 42px; height: 42px; }
  .auth-brand__copy strong { font-size: 24px; }
  .auth-brand__copy small { margin-top: 4px; font-size: 12px; }
  .auth-nav-toggle { display: block; }
  .auth-nav { position: absolute; top: 76px; right: 18px; width: 240px; display: none; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #e3e9f5; border-radius: 14px; background: #fff; box-shadow: 0 20px 45px rgba(34,52,98,.16); }
  .auth-nav.open { display: flex; flex-direction: column; }
  .auth-nav a { padding: 12px 14px; border-radius: 8px; }
  .auth-nav__cta { min-width: 0; height: 48px; margin-top: 5px; }
  .auth-main { min-height: calc(100vh - 86px); overflow: visible; }
  .auth-layout { min-height: auto; grid-template-columns: 1fr; padding: 38px 0 52px; }
  .register-page .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 38px;
  }
  .auth-showcase { display: none; }
  .register-page .auth-showcase { display: none; }
}

@media (max-width: 560px) {
  .auth-navbar__inner, .auth-layout { width: min(calc(100% - 24px), 520px); }
  .auth-brand { gap: 9px; }
  .auth-brand__copy small { display: none; }
  .auth-card { padding: 38px 22px 34px; border-radius: 18px; }
  .auth-card__icon { width: 62px; height: 62px; margin-bottom: 20px; }
  .auth-card__header h2 { font-size: 29px; }
  .auth-card__header p { font-size: 14px; }
  .auth-form { margin-top: 32px; }
  .form-input { height: 60px; }
  .form-options { align-items: flex-start; margin-bottom: 32px; font-size: 13px; }
  .register-page .auth-card { padding: 34px 18px 30px; }
  .register-page .form-grid { grid-template-columns: 1fr; }
  .register-page .form-group:has(#phone) { grid-column: auto; }
  .register-page .address-field-group { grid-column: auto; }
  .register-page .form-group:has(#gstNumber) { grid-column: auto; }
  .mini-row { align-items: stretch; flex-direction: column; }
  .mini-btn { min-height: 44px; width: 100%; }
}

@media (max-width: 560px) {
  .register-page .auth-navbar {
    height: 76px;
  }

  .register-page .auth-navbar__inner {
    width: calc(100% - 24px);
  }

  .register-page .auth-brand__logo {
    width: 38px;
    height: 38px;
  }

  .register-page .auth-brand__copy strong {
    font-size: 21px;
    letter-spacing: -.7px;
  }

  .register-page .auth-nav {
    top: 68px;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .register-page .auth-main {
    min-height: calc(100vh - 76px);
    overflow: hidden;
  }

  .register-page .auth-layout {
    width: 100%;
    padding: 20px 12px 42px;
  }

  .register-page .auth-card {
    padding: 28px 18px 30px;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(62, 83, 141, .1);
  }

  .register-page .auth-card__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 15px;
    font-size: 20px;
  }

  .register-page .auth-card__header h2 {
    font-size: 27px;
    letter-spacing: -.8px;
  }

  .register-page .auth-card__header p {
    max-width: 290px;
    margin: 9px auto 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .register-page .auth-form {
    margin-top: 25px;
  }

  .register-page .form-group {
    margin-bottom: 17px;
  }

  .register-page .form-label {
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .register-page .form-input {
    height: 52px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 16px;
  }

  .register-page textarea.form-input.auto-grow-textarea {
    min-height: 88px;
    padding-block: 14px;
  }

  .register-page .password-container .form-input {
    padding-right: 52px;
  }

  .register-page .password-toggle,
  .register-page .toggle-password {
    right: 7px;
    width: 38px;
    height: 38px;
  }

  .register-page .mini-row {
    gap: 8px;
  }

  .register-page .mini-btn {
    min-height: 46px;
    border-radius: 10px;
    font-size: 13px;
  }

  .register-page .info-box {
    padding: 12px;
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  .register-page .submit-btn {
    height: 55px;
    margin-top: 5px;
    border-radius: 12px;
  }

  .register-page .form-footer {
    margin-top: 25px;
  }

  .register-page #recaptcha-container {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 360px) {
  .register-page .auth-layout {
    padding-inline: 8px;
  }

  .register-page .auth-card {
    padding-inline: 14px;
  }

  .register-page #recaptcha-container > div {
    transform: scale(.84);
    transform-origin: top left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Shared public-page theme switch and dark palette */
.auth-navbar .sf-theme-toggle {
  margin-left: auto;
  margin-right: 22px;
}

html.dark-mode {
  color-scheme: dark;
  --auth-ink: #edf3ff;
  --auth-muted: #9aa9c5;
  --auth-line: #30405a;
  --auth-surface: rgba(17, 28, 46, 0.96);
}

html.dark-mode body {
  color: var(--auth-ink);
  background: #08111f;
}

html.dark-mode .auth-navbar {
  background: rgba(9, 18, 32, 0.95);
  box-shadow: 0 1px 0 #26354c, 0 10px 35px rgba(0, 0, 0, 0.22);
}

html.dark-mode .auth-brand__copy small {
  color: #97a8c7;
}

html.dark-mode .auth-nav-toggle {
  background: #18263d;
}

html.dark-mode .auth-main {
  background:
    radial-gradient(circle at 85% 16%, rgba(83, 105, 201, 0.17), transparent 30%),
    radial-gradient(circle at 52% 92%, rgba(104, 70, 207, 0.14), transparent 25%),
    linear-gradient(115deg, #0b1525 2%, #0d1829 48%, #0a1423 100%);
}

html.dark-mode .auth-showcase__tagline,
html.dark-mode .metric-card small,
html.dark-mode .growth-visual__copy span,
html.dark-mode .auth-card__header p,
html.dark-mode .footer-text {
  color: #9aa9c5;
}

html.dark-mode .performance-card,
html.dark-mode .metric-card {
  border-color: #2b3b54;
  background: rgba(19, 31, 51, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

html.dark-mode .dashboard-card__topline {
  border-bottom-color: #293950;
}

html.dark-mode .dashboard-card__topline > span {
  color: #a9b7cf;
  border-color: #34455f;
}

html.dark-mode .chart-grid line {
  stroke: #293950;
}

html.dark-mode .performance-chart circle {
  stroke: #142137;
}

html.dark-mode .chart-labels {
  color: #8292ae;
}

html.dark-mode .auth-card {
  border-color: #2b3b54;
  background: var(--auth-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

html.dark-mode .auth-card__icon {
  color: #9aa4ff;
  background: linear-gradient(145deg, #202944, #27213e);
}

html.dark-mode .form-label {
  color: #b2bfd5;
}

html.dark-mode .label-optional {
  color: #7f8da6;
}

html.dark-mode .form-input {
  color: #eef3ff;
  border-color: #30405a;
  background: rgba(13, 23, 39, 0.82);
}

html.dark-mode .form-input::placeholder {
  color: #72819b;
}

html.dark-mode .form-input:focus {
  border-color: #7e89ff;
  background: #101c2f;
  box-shadow: 0 0 0 4px rgba(106, 117, 244, 0.15);
}

html.dark-mode .password-toggle,
html.dark-mode .toggle-password {
  color: #96a5c0;
}

html.dark-mode .password-toggle:hover,
html.dark-mode .toggle-password:hover {
  color: #abb4ff;
  background: #1c2942;
}

html.dark-mode .checkbox-custom {
  border-color: #41516b;
  background: #111d30;
}

html.dark-mode .legal-consent {
  color: #9aa9c5;
}

html.dark-mode .legal-consent__check {
  border-color: #41516b;
  background: #111d30;
}

html.dark-mode .legal-consent a {
  color: #9eacff;
}

html.dark-mode .alert-error {
  color: #ffb4bf;
  border-color: #693645;
  background: #351923;
}

html.dark-mode .trial-banner {
  color: #abc0ff;
  border-color: #344a80;
  background: #172545;
}

html.dark-mode .mini-btn {
  color: #b8c7ff;
  border-color: #3b4e78;
  background: #192744;
}

html.dark-mode .mini-btn:hover {
  background: #223355;
}

html.dark-mode .status-pill {
  color: #73d7a7;
  border-color: #2c684d;
  background: #143426;
}

html.dark-mode .info-box {
  color: #a8b6cf;
  border-color: #30415b;
  background: #111d30;
}

html.dark-mode .info-box strong {
  color: #edf3ff;
}

html.dark-mode select.form-input {
  color-scheme: dark;
}

@media (max-width: 900px) {
  .auth-navbar .sf-theme-toggle {
    margin-right: 12px;
  }

  html.dark-mode .auth-nav {
    border-color: #2b3b54;
    background: #111c2e;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  }
}

@media (max-width: 560px) {
  .auth-navbar .sf-theme-toggle {
    width: 62px;
    flex-basis: 62px;
    margin-right: 8px;
  }

  .register-page .auth-navbar .sf-theme-toggle {
    width: 58px;
    flex-basis: 58px;
  }

  .register-page .auth-navbar .sf-theme-toggle-thumb {
    width: 22px;
    height: 22px;
  }

  html.dark-mode .register-page .auth-navbar .sf-theme-toggle-thumb {
    transform: translateX(24px);
  }

  html.dark-mode .register-page .auth-card {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  }
}
