.auth-page {
  background:
    radial-gradient(circle at top left, rgba(4, 89, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 48%);
}

.auth-login-page {
  background: #f7f7f7;
}

.auth-login-shell {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 70px 20px 46px;
}

.auth-login-logo {
  color: #101827;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
  margin-bottom: 26px;
  text-decoration: none;
}

.auth-login-logo span {
  color: #0459ff;
}

.auth-login-card {
  background: #fff;
  border: 1px solid #dedede;
  max-width: 520px;
  padding: 48px 58px 44px;
  width: 100%;
}

.auth-login-card h1 {
  color: #333;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -0.035em;
  margin: 0 0 30px;
  text-align: center;
}

.auth-card-note {
  color: #666;
  font-size: 15px;
  font-weight: 700;
  margin: -16px 0 24px;
  text-align: center;
}

.auth-login-form {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: block;
  position: relative;
}

.auth-field input {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  height: 58px;
  padding: 0 18px;
  width: 100%;
}

.auth-field input::placeholder {
  color: #a0a0a0;
  font-weight: 700;
}

.auth-field input:focus {
  border-color: #4894df;
  box-shadow: 0 0 0 2px rgba(72, 148, 223, 0.12);
  outline: none;
}

.password-field input {
  padding-right: 58px;
}

.password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #4894df;
  cursor: pointer;
  display: flex;
  font-size: 26px;
  height: 58px;
  justify-content: center;
  position: absolute;
  right: 4px;
  top: 0;
  width: 50px;
}

.password-toggle.active {
  color: #0459ff;
}

.auth-row-options {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: space-between;
  margin-top: -6px;
}

.auth-row-options a,
.auth-create-link a {
  color: #4894df;
  font-weight: 900;
  text-decoration: none;
}

.remember-box {
  align-items: center;
  color: #444;
  display: inline-flex;
  gap: 7px;
}

.remember-box input {
  height: 19px;
  width: 19px;
}

.auth-login-submit {
  background: #4894df;
  border: 0;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
  height: 58px;
  margin-top: 24px;
}

.auth-create-link {
  color: #444;
  font-size: 17px;
  font-weight: 800;
  margin: 28px 0;
  text-align: center;
}

.auth-separator {
  align-items: center;
  color: #555;
  display: flex;
  font-size: 13px;
  font-weight: 950;
  gap: 22px;
  margin: 28px 0;
}

.auth-separator::before,
.auth-separator::after {
  background: #e0e0e0;
  content: "";
  flex: 1;
  height: 1px;
}

.auth-social {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  color: #333;
  display: block;
  font-size: 16px;
  font-weight: 850;
  height: 52px;
  margin-top: 14px;
  opacity: 0.72;
  width: 100%;
}

.auth-legal {
  color: #929292;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  margin: 24px 0 0;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #d8e5ff;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(4, 89, 255, 0.08);
  margin: 34px auto 46px;
  max-width: 760px;
  padding: 34px !important;
}

.register-card {
  padding-top: 38px !important;
}

.register-card > .auth-kicker,
.register-card > h1,
.register-card > .form-help {
  display: block;
}

.register-choice-screen {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.register-choice-screen.compact-choice {
  margin-bottom: 24px;
}

.register-choice-card {
  background: #ffffff;
  border: 2px solid #b8d0ff;
  border-radius: 24px;
  color: #111827;
  display: grid;
  min-height: 132px;
  padding: 26px 30px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.register-choice-card:hover,
.register-choice-card.selected {
  background: #eef5ff;
  border-color: #0459ff;
  box-shadow: 0 0 0 8px rgba(4, 89, 255, 0.07);
  transform: translateY(-1px);
}

.register-choice-card .choice-icon {
  display: none;
}

.register-choice-card strong {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.register-choice-card small {
  color: #5f6b80;
  font-size: 18px;
  font-weight: 900;
  margin-top: 8px;
}

.register-open-form {
  border-top: 1px solid #d8e5ff;
  margin-top: 20px;
  padding-top: 24px;
}

.register-open-form {
  gap: 18px !important;
}

.form-two-cols {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-card .auth-flat-field {
  color: #8a8a8a;
  font-size: 0;
  font-weight: 700;
}

.auth-card .auth-flat-field input {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  color: #333;
  font-size: 19px;
  font-weight: 700;
  height: 62px;
  min-height: 62px;
  padding: 0 18px;
  width: 100%;
}

.auth-card .auth-flat-field input::placeholder {
  color: #9a9a9a !important;
  opacity: 1;
}

.auth-card .auth-flat-field input:focus {
  border-color: #4894df;
  box-shadow: 0 0 0 3px rgba(72, 148, 223, 0.12);
}

.register-password-field {
  position: relative;
}

.register-password-field .password-toggle {
  height: 62px;
}

.auth-check-row {
  align-items: flex-start;
  color: #333;
  display: flex;
  font-size: 17px;
  font-weight: 750;
  gap: 10px;
  line-height: 1.45;
}

.auth-card .auth-check-row input[type="checkbox"] {
  appearance: none;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  flex: 0 0 auto;
  height: 22px !important;
  margin-top: 2px;
  min-height: 22px !important;
  padding: 0 !important;
  width: 22px !important;
}

.auth-card .auth-check-row input[type="checkbox"]:checked {
  background: #4894df;
  border-color: #4894df;
  box-shadow: inset 0 0 0 4px #fff;
}

.auth-check-row a {
  color: #4894df;
  text-decoration: none;
}

.auth-check-row.optional {
  color: #4a4a4a;
}

.register-submit {
  background: #4894df !important;
  border-radius: 3px !important;
  font-size: 22px !important;
  min-height: 64px !important;
}

.register-login-link,
.register-switch-link {
  color: #333;
  font-size: 19px;
  font-weight: 750;
  margin: 26px 0 0;
  text-align: center;
}

.register-login-link a,
.register-switch-link a {
  color: #4894df;
  font-weight: 950;
  text-decoration: none;
}

.register-separator {
  margin: 30px 0 22px !important;
}

.register-legal {
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 22px;
}

.business-type-row {
  color: #333;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 2px 0;
}

.business-type-row strong {
  flex: 0 0 100%;
  font-size: 17px;
  font-weight: 950;
}

.business-type-row label {
  align-items: center;
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 9px;
}

.auth-card .business-type-row input[type="radio"] {
  appearance: none;
  border: 2px solid #d8d8d8;
  border-radius: 999px;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  width: 22px !important;
}

.auth-card .business-type-row input[type="radio"]:checked {
  border-color: #f5a33a;
  box-shadow: inset 0 0 0 5px #fff;
  background: #f5a33a;
}

.auth-card h1 {
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.auth-kicker {
  align-items: center;
  color: #0459ff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  gap: 8px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.auth-kicker::before {
  background: #ff7a00;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255, 122, 0, 0.13);
  content: "";
  height: 8px;
  width: 8px;
}

.auth-lead {
  color: #5f6b80;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 24px;
}

.auth-summary {
  background: #f8fbff;
  border: 1px solid #cfe0ff;
  border-radius: 18px;
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
}

.auth-summary span {
  color: #637083;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: space-between;
  gap: 14px;
}

.auth-summary strong {
  color: #111827;
  text-align: right;
}

.account-type-picker {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.account-type-picker label {
  align-items: center;
  background: #ffffff;
  border: 2px solid #d8e5ff;
  border-radius: 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 150px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.account-type-picker label.selected,
.account-type-picker label:has(input:checked) {
  background: #eef5ff;
  border-color: #0459ff;
  box-shadow: 0 0 0 4px rgba(4, 89, 255, 0.09);
}

.auth-card .account-type-picker input,
.account-type-picker input[type="radio"] {
  appearance: none !important;
  border: 0 !important;
  height: 1px !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px !important;
}

.account-type-picker label::before {
  align-items: center;
  background: #ffffff;
  border: 8px solid #d9e7ff;
  border-radius: 999px;
  content: "";
  display: flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.account-type-picker label.selected::before,
.account-type-picker label:has(input:checked)::before {
  background: #ffffff;
  border-color: #0471ff;
  box-shadow: inset 0 0 0 12px #0471ff;
}

.account-type-picker strong {
  color: #111827;
  font-size: 24px;
  font-weight: 950;
}

.account-type-picker span {
  color: #637083;
  font-size: 17px;
  font-weight: 900;
}

.auth-card .stack-form {
  gap: 16px;
}

.auth-card label {
  color: #111827;
  font-weight: 900;
}

.auth-card input {
  background: #f8fbff;
  border-color: #b8d0ff;
  border-radius: 14px;
  min-height: 54px;
  padding: 0 16px;
}

.auth-card input:focus {
  background: #fff;
  border-color: #0459ff;
  box-shadow: 0 0 0 4px rgba(4, 89, 255, 0.12);
  outline: none;
}

.auth-card .primary-action {
  border-radius: 14px;
  min-height: 56px;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-benefits span {
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: #0459ff;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 12px;
}

.auth-bottom-link {
  margin-top: 22px !important;
}

.auth-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.auth-mini-primary,
.auth-mini-ghost {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

.auth-mini-primary {
  background: #0459ff;
  color: #fff;
}

.auth-mini-ghost {
  background: #fff;
  border: 1px solid #9fc0ff;
  color: #0459ff;
}

@media (max-width: 720px) {
  .auth-login-shell {
    padding: 34px 14px;
  }

  .auth-login-card {
    border-radius: 0;
    padding: 34px 22px;
  }

  .auth-row-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .auth-card {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    box-shadow: none;
    margin: 0;
    padding: 26px 20px !important;
  }

  .account-type-picker {
    grid-template-columns: 1fr;
  }

  .register-choice-screen {
    grid-template-columns: 1fr;
  }

  .register-choice-card {
    min-height: 110px;
    padding: 22px;
  }

  .form-two-cols {
    grid-template-columns: 1fr;
  }

  .auth-check-row,
  .register-login-link,
  .register-switch-link {
    font-size: 16px;
  }
}
