/* SharkTask professional onboarding — visual layer for the four-step flow. */
.st-wizard {
  --coral: #dd7f76;
  --coral-shade: #c56860;
  --coral-tint: #f9e8e5;
  --ink: #25414c;
  --paper: #f9f5ec;
  --surface: #fff;
  --muted: #65777f;
  --line: #d7dfdf;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.st-wizard-aside {
  flex: 0 0 clamp(390px, 38vw, 580px);
  min-height: 100dvh;
  padding: 30px clamp(34px, 4vw, 62px);
  border-radius: 0 62px 0 0;
  background: linear-gradient(145deg, #294b57 0%, #183b46 100%);
  isolation: isolate;
}

.st-wizard-aside::before,
.st-wizard-aside::after { display: none; }

.st-wizard-brand { z-index: 8; margin-bottom: 34px; }
.st-wizard-brand a { display: inline-flex; }
.st-wizard-brand img { width: clamp(210px, 17vw, 280px); height: auto; object-fit: contain; }

.st-wizard-copy { z-index: 8; max-width: 390px; }
.st-wizard-copy h2 {
  max-width: 390px;
  margin-bottom: 12px;
  color: var(--paper);
  font-size: clamp(31px, 3vw, 49px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.st-wizard-copy p {
  max-width: 380px;
  color: rgba(249,245,236,.86) !important;
  font-size: clamp(14px, 1.25vw, 19px);
  line-height: 1.55;
}

.st-wizard-progress {
  position: relative;
  z-index: 9;
  width: 190px;
  margin-top: 22px;
  margin-bottom: auto;
}
.st-progress-item { gap: 14px; }
.st-progress-dot {
  position: relative;
  width: 34px;
  height: 34px;
  color: rgba(249,245,236,.62);
  border-color: rgba(249,245,236,.5);
  font-size: 14px;
}
.st-progress-item.is-active .st-progress-dot {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: none;
}
.st-progress-item.is-done .st-progress-dot {
  color: transparent;
  background: rgba(100,148,156,.75);
  border-color: rgba(249,245,236,.75);
}
.st-progress-item.is-done .st-progress-dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
.st-progress-line { height: 22px; background: rgba(249,245,236,.3); }
.st-progress-label {
  padding: 6px 0 17px;
  color: rgba(249,245,236,.62);
  font-size: 14px;
}
.st-progress-item.is-active .st-progress-label { font-weight: 750; }

.st-wizard-fin-art {
  position: absolute;
  z-index: 1;
  left: 2%;
  bottom: 9%;
  width: 76%;
  opacity: .28;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.st-wizard-wave-art {
  position: absolute;
  z-index: 1;
  bottom: 7%;
  left: 0;
  width: 100%;
  color: #759aa1;
  opacity: .38;
  pointer-events: none;
}
.st-wizard-professional {
  position: absolute;
  z-index: 4;
  right: -18%;
  bottom: -12%;
  width: 100%;
  height: 78%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.st-wizard-main {
  height: 100dvh;
  min-height: 0;
  background: radial-gradient(circle at 46% 43%, #fff 0%, var(--paper) 74%);
}
/* #stWizardForm sits between .st-wizard-main and .st-wizard-scroll with no
   class of its own, so it was never a flex participant -- .st-wizard-scroll's
   `flex: 1` (v1 CSS) only works on a DIRECT flex child of .st-wizard-main,
   and the plain <form> in between just grows to fit its content instead.
   That left .st-wizard-scroll's content (and the footer after it) taller
   than the viewport with nothing able to scroll to reach it, clipped by
   .st-wizard's `overflow: hidden`. Making the form a transparent flex
   passthrough restores the intended "scrollable body + fixed footer" split. */
.st-wizard-main > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.st-wizard-login-hint {
  top: 28px;
  right: clamp(34px, 4vw, 64px);
  color: var(--ink);
  font-size: 14px;
}
.st-wizard-login-hint a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.st-wizard-scroll {
  min-height: 0;
  padding: 70px clamp(38px, 5vw, 76px) 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37,65,76,.22) transparent;
}
.st-panel { width: 100%; max-width: 930px; margin: 0 auto; }
.st-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 18px;
  padding: 8px 24px;
  border-radius: 999px;
  background: var(--coral-tint);
  color: var(--coral-shade);
  font-size: 14px;
  letter-spacing: 0;
}
.st-title {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: clamp(34px, 3.65vw, 55px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.st-subtitle {
  margin-bottom: 28px;
  color: var(--muted) !important;
  font-size: clamp(15px, 1.45vw, 21px);
  line-height: 1.45;
}
.st-row { gap: 14px 24px; margin-bottom: 14px; }
.st-row-3 { gap: 14px; }
.st-field { margin-bottom: 14px; }
.st-row .st-field { margin-bottom: 0; }
.st-row-final-password { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-row-final-password .st-field { width: 100%; grid-column: 1; }
.st-field label { margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.st-input, .st-select {
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #c8d2d4;
  border-radius: 9px;
  background: #fff;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(37,65,76,.025);
}
.st-input:focus, .st-select:focus, .st-textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(37,65,76,.08);
}
.st-field .st-hint { font-size: 11px; line-height: 1.45; }
.st-phone { gap: 0; }
.st-phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 52px;
  margin-right: -1px;
  padding: 12px 13px;
  border: 1px solid #c8d2d4;
  border-radius: 9px 0 0 9px;
  background: #fff;
  color: var(--ink);
}
.st-phone .st-input { border-radius: 0 9px 9px 0; }
.st-password-toggle {
  display: grid;
  place-items: center;
  right: 7px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #657a81;
  font-size: 16px;
  transition: background .2s, color .2s;
}
.st-password-toggle:hover { background: rgba(37,65,76,.07); color: var(--ink); }

.st-cards { gap: 20px; margin-bottom: 22px; }
.st-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-card {
  min-height: 112px;
  padding: 18px 22px;
  border: 1px solid #c8d2d4;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(37,65,76,.025);
}
.st-card:hover { border-color: var(--coral); transform: translateY(-1px); }
.st-card.is-selected { background: #fff7f5; border-color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); }
.st-card-title { font-size: 16px; }
.st-card-desc { margin-top: 5px; font-size: 12px; }
.st-map { height: 190px; border-radius: 12px; }

.st-security-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: -7px 0 20px;
  padding: 14px 18px;
  border: 1px solid #c9dde1;
  border-radius: 11px;
  background: #f4fafb;
  color: var(--ink);
  font-size: 13px;
}
.st-security-note i { color: #318d65; font-size: 20px; }
.st-doc-list { gap: 14px; }
.st-doc-card {
  padding: 20px 22px;
  border: 1px solid #c8d2d4;
  border-radius: 13px;
  box-shadow: 0 5px 18px rgba(37,65,76,.025);
}
.st-doc-name { font-size: 15px; }
.st-doc-btn { min-height: 42px; padding: 10px 16px; border-radius: 9px; }
.st-doc-btn:last-child { border-color: var(--coral); background: var(--coral); color: #fff; }
.st-doc-btn:last-child svg path { stroke: #fff; }
.st-doc-card.is-uploaded { border-color: #abd5bd; background: #f2faf5; }

.st-summary-card {
  position: relative;
  margin-bottom: 16px;
  padding: 22px 26px;
  border: 1px solid #c8d2d4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(37,65,76,.025);
}
.st-summary-label { font-size: 12px; }
.st-summary-name { color: var(--ink); font-size: 17px; }
.st-summary-sub { margin-top: 5px; font-size: 14px; }
.st-summary-edit { color: var(--coral-shade); text-decoration: underline; text-underline-offset: 3px; }
.st-terms { margin-top: 22px; color: var(--ink); font-size: 13px; }
.st-terms input { width: 20px; height: 20px; accent-color: var(--ink); }

.st-wizard-footer {
  flex: 0 0 auto;
  padding: 17px clamp(38px, 5vw, 76px) 22px;
  border-top: 0;
  background: transparent;
}
.st-btn-back { color: #76888f; font-size: 15px; }
.st-btn-back[disabled] { color: #b8c0c2; }
.st-btn-next {
  min-width: 190px;
  min-height: 54px;
  padding: 14px 30px;
  background: var(--coral);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 12px 24px rgba(221,127,118,.18);
  transition: background .2s, transform .2s;
}
/* Success step uses <a class="st-btn-next">; v1 `.st-wizard a { color: coral }`
   would otherwise override the white label on the coral button. */
.st-wizard a.st-btn-next,
.st-wizard a.st-btn-next:hover,
.st-wizard a.st-btn-next:focus,
.st-wizard a.st-btn-next:active {
  color: #fff;
  text-decoration: none;
}
.st-btn-next:hover { background: var(--coral-shade); transform: translateY(-1px); }
.st-btn-next:active { transform: translateY(1px) scale(.99); }
.st-wizard :is(button, a, input, select):focus-visible { outline: 3px solid rgba(221,127,118,.7); outline-offset: 3px; }

@media (max-width: 1190px) {
  .st-wizard-aside { flex-basis: 360px; padding: 28px 30px; }
  .st-wizard-copy h2 { font-size: 34px; }
  .st-wizard-copy p { font-size: 14px; }
  .st-wizard-professional { right: -23%; bottom: -10%; width: 105%; height: 72%; }
  .st-wizard-scroll { padding: 72px 34px 22px; }
  .st-wizard-footer { padding-inline: 34px; }
}

@media (max-width: 991.98px) {
  .st-wizard { height: auto; min-height: 100dvh; overflow: visible; }
  .st-wizard-aside {
    min-height: 330px;
    padding: 24px;
    border-radius: 0 0 36px 0;
  }
  .st-wizard-brand { margin-bottom: 20px; }
  .st-wizard-brand img { width: 190px; }
  .st-wizard-copy { max-width: 58%; }
  .st-wizard-copy h2 { font-size: 29px; }
  .st-wizard-copy p { display: block; font-size: 13px; }
  .st-wizard-progress { width: 62%; margin-top: 20px; }
  .st-progress-item { gap: 5px; }
  .st-progress-label { font-size: 10px; }
  .st-wizard-professional { right: -2%; width: 40%; height: 86%; }
  .st-wizard-fin-art { left: 51%; width: 47%; bottom: 0; }
  .st-wizard-wave-art { left: 50%; width: 50%; }
  .st-wizard-main { height: auto; min-height: 0; }
  .st-wizard-scroll { overflow: visible; padding: 34px 22px 18px; }
  .st-wizard-login-hint { padding-top: 16px; }
  .st-row-final-password { width: 100%; }
  .st-wizard-footer { padding: 14px 22px 26px; }
}

@media (max-width: 620px) {
  .st-wizard-aside { min-height: 300px; }
  .st-wizard-copy { max-width: 67%; }
  .st-wizard-copy h2 { font-size: 25px; }
  .st-wizard-copy p { max-width: 250px; font-size: 12px; }
  .st-wizard-professional { right: -12%; width: 50%; height: 74%; }
  .st-wizard-progress { width: 70%; }
  .st-title { font-size: 34px; }
  .st-subtitle { font-size: 15px; }
  .st-badge { min-height: 36px; padding: 7px 18px; }
  .st-row, .st-row-3, .st-cards, .st-row-final-password { grid-template-columns: 1fr; }
  .st-doc-top { align-items: flex-start; flex-direction: column; }
  .st-doc-actions { width: 100%; }
  .st-doc-btn { flex: 1; justify-content: center; }
  .st-btn-next { min-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .st-wizard *, .st-wizard *::before, .st-wizard *::after { scroll-behavior: auto !important; transition: none !important; }
}
