/* Merchant Partner Registration Styles */

.pr-anchor {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pr-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pr-page {
  min-height: 100vh;
  padding: 20px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 12% 12%, rgba(28, 157, 215, 0.12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(28, 157, 215, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
}

.pr-layout {
  width: min(100%, 1450px);
  display: grid;
  grid-template-columns: 432px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

/* ── Left Panel ── */

.pr-left-panel {
  display: flex;
  flex-direction: column;
  min-height: 1080px;
}

.pr-brand {
  margin: 28px 0 36px 12px;
}

.pr-brand img {
  width: 210px;
  height: auto;
  display: block;
}

.pr-left-copy {
  padding: 0 22px 0 18px;
}

.pr-left-copy h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pr-left-copy h1 .accent {
  color: #1c9dd7;
}

.pr-left-copy p {
  margin: 26px 0 0;
  max-width: 370px;
  font-size: 19px;
  line-height: 1.6;
  color: #55617f;
}

.pr-feature-list {
  margin-top: 38px;
  display: grid;
  gap: 28px;
}

.pr-feature-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: start;
}

.pr-feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.pr-feature-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-feature-icon.is-blue {
  background: linear-gradient(180deg, rgba(28, 157, 215, 0.12), rgba(28, 157, 215, 0.08));
  color: #1c9dd7;
}

.pr-feature-icon.is-green {
  background: linear-gradient(180deg, rgba(24, 180, 90, 0.13), rgba(24, 180, 90, 0.08));
  color: #18b45a;
}

.pr-feature-icon.is-orange {
  background: linear-gradient(180deg, rgba(255, 181, 72, 0.18), rgba(255, 181, 72, 0.1));
  color: #f29b13;
}

.pr-feature-icon.is-purple {
  background: linear-gradient(180deg, rgba(143, 99, 255, 0.16), rgba(143, 99, 255, 0.09));
  color: #8f63ff;
}

.pr-feature-text strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.pr-feature-text span {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.65;
  color: #55617f;
}

/* ── Left Footer (hero + stats) ── */

.pr-left-footer {
  margin-top: auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(247, 251, 255, 0.98));
  border: 1px solid rgba(228, 236, 247, 0.92);
  box-shadow: 0 20px 60px rgba(22, 45, 82, 0.08);
}

.pr-hero-illustration {
  position: relative;
  height: 358px;
  background:
    radial-gradient(circle at 50% 100%, rgba(28, 157, 215, 0.08), transparent 52%),
    linear-gradient(180deg, #f9fcff 0%, #eef5fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.92);
}

.pr-stat {
  padding: 22px 14px 26px;
  text-align: center;
  position: relative;
}

.pr-stat + .pr-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 1px;
  background: #dfe8f3;
}

.pr-stat svg {
  width: 28px;
  height: 28px;
  color: #1c9dd7;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  color: #1650d1;
}

.pr-stat span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
  color: #1650d1;
}

/* ── Help Card ── */

.pr-help-card {
  margin: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(224, 232, 243, 0.95);
  box-shadow: 0 14px 34px rgba(22, 45, 82, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pr-help-card .pr-help-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(28, 157, 215, 0.1);
  color: #1c9dd7;
  flex: 0 0 auto;
}

.pr-help-card .pr-help-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-help-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.pr-help-card p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #55617f;
}

.pr-help-card a {
  display: inline-block;
  margin-top: 6px;
  color: #1856d5;
  font-weight: 800;
  text-decoration: underline;
}

/* ── Form Panel ── */

.pr-form-panel {
  min-height: 1080px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(226, 234, 244, 0.9);
  box-shadow: 0 28px 70px rgba(18, 38, 75, 0.12);
  padding: 46px 52px 30px;
}

/* ── Steps Indicator ── */

.pr-steps {
  max-width: 440px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 32px;
  position: relative;
}

.pr-steps::before {
  content: "";
  position: absolute;
  left: 72px;
  right: 72px;
  top: 21px;
  height: 2px;
  background: #d8e1ef;
}

.pr-step {
  position: relative;
  text-align: center;
  display: block;
}

/* 步骤可点击链接 */
a.pr-step {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: opacity 0.15s;
}

a.pr-step:hover {
  opacity: 0.75;
}

a.pr-step .pr-step-badge {
  margin: 0 auto 14px;
}

/* 不可点击步骤：禁用指针事件 */
.pr-step.is-disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.6;
}

.pr-step-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  background: #fff;
  border: 3px solid #ccd7e7;
  color: #8592ab;
  position: relative;
  z-index: 1;
}

.pr-step.is-current .pr-step-badge {
  background: #1c9dd7;
  border-color: #1c9dd7;
  color: #fff;
  box-shadow: 0 12px 22px rgba(28, 157, 215, 0.28);
}

.pr-step.is-completed .pr-step-badge {
  background: #1c9dd7;
  border-color: #1c9dd7;
  color: #fff;
  box-shadow: 0 12px 22px rgba(28, 157, 215, 0.22);
}

.pr-step.is-completed .pr-step-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-step-title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: #7d8ba6;
}

.pr-step.is-current .pr-step-title {
  color: #1c9dd7;
}

/* ── Intro / Header ── */

.pr-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.pr-intro-icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(28, 157, 215, 0.16), rgba(28, 157, 215, 0.08));
  display: grid;
  place-items: center;
}

.pr-intro-icon svg {
  width: 58px;
  height: 58px;
  color: #1c9dd7;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-intro h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pr-intro p {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: #55617f;
}

.pr-profile-intro {
  max-width: none;
  margin: 4px 0 22px;
  text-align: left;
}

.pr-profile-intro h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pr-profile-intro p {
  margin: 12px 0 0;
  max-width: 100%;
  font-size: 17px;
  line-height: 1.7;
  color: #55617f;
}

/* ── Form ── */

.pr-form {
  margin-top: 40px;
}

.pr-field {
  margin-bottom: 28px;
}

.pr-field-label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.pr-field-label .req {
  color: #ff5b5b;
}

.pr-input-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #d8e2f0;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.pr-input-shell.is-error {
  border-color: #ff5b5b;
}

.pr-input-shell svg {
  width: 22px;
  height: 22px;
  color: #7d89a2;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-input-shell input,
.pr-input-shell select {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  color: #121a33;
}

.pr-input-shell input::placeholder {
  color: #7f89a0;
}

.pr-input-shell input.is-error,
.pr-input-shell select.is-error {
  color: #ff5b5b;
}

/* ── Password Eye ── */

.pr-password-eye {
  margin-left: auto;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.pr-password-eye svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Password Rules ── */

.pr-password-rules {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pr-password-rules li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #55617f;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.pr-password-rules svg {
  width: 16px;
  height: 16px;
  color: #18b45a;
  flex: 0 0 auto;
}

.pr-password-rules li.is-unmet {
  color: #b0b8c9;
}

.pr-password-rules li.is-unmet svg {
  color: #b0b8c9;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Terms Box ── */

.pr-terms-box {
  margin-top: 6px;
  padding: 16px 18px;
  display: flex;
  align-items: start;
  gap: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4fc 100%);
}

.pr-terms-box svg {
  width: 22px;
  height: 22px;
  color: #1c9dd7;
  flex: 0 0 auto;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-terms-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4f5b74;
}

.pr-terms-box a {
  color: #1856d5;
  font-weight: 700;
  text-decoration: underline;
}

/* ── Primary Button ── */

.pr-primary-button {
  margin-top: 16px;
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #1ea6e2 0%, #1c9dd7 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(28, 157, 215, 0.22);
  cursor: pointer;
}

.pr-primary-button:hover {
  background: linear-gradient(180deg, #167ead 0%, #156da0 100%);
}

.pr-primary-button iconify-icon {
  font-size: 18px;
  color: currentColor;
}

.pr-primary-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ── Back Button ── */

.pr-back-button {
  margin-top: 12px;
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #cad5e4;
  border-radius: 12px;
  background: #fff;
  color: #121a33;
  font-size: 16px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  cursor: pointer;
  text-decoration: none;
}

.pr-back-button:hover {
  background: #f8fbff;
}

.pr-back-button svg {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Login Row ── */

.pr-login-row {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #5c6881;
}

.pr-login-row a {
  color: #1558d5;
  font-weight: 800;
}

/* ── Checkbox ── */

.pr-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pr-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  color: #4f5b74;
  user-select: none;
}

.pr-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pr-checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #d8e2f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: all 0.2s ease;
}

.pr-checkbox-custom::after {
  content: '';
  width: 12px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pr-checkbox-label input[type="checkbox"]:checked + .pr-checkbox-custom {
  background: #1c9dd7;
  border-color: #1c9dd7;
}

.pr-checkbox-label input[type="checkbox"]:checked + .pr-checkbox-custom::after {
  opacity: 1;
}

.pr-checkbox-label input[type="checkbox"]:focus + .pr-checkbox-custom {
  box-shadow: 0 0 0 3px rgba(28, 157, 215, 0.15);
}

/* ── Security Note ── */

.pr-security-note {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a97ae;
  font-size: 15px;
  line-height: 1.45;
}

.pr-security-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Copyright ── */

.pr-copyright {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.45;
  color: #7c8aa4;
}

/* ── Merchant Type Panel ── */

.pr-merchant-type-panel {
  margin: 0 0 26px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(212, 223, 238, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* ── Choice Group ── */

.pr-choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pr-choice-button {
  height: 54px;
  border-radius: 12px;
  border: 1.5px solid #d8e2f0;
  background: #fff;
  color: #52607b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.pr-choice-button.is-active,
.pr-choice-button.active {
  border-color: #1c9dd7;
  background: rgba(28, 157, 215, 0.06);
  color: #1c9dd7;
  box-shadow: 0 8px 20px rgba(28, 157, 215, 0.12);
}

.pr-choice-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Section Head ── */

.pr-section-head {
  margin: 26px 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pr-section-head span {
  flex: 0 0 auto;
  color: #0f49d8;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.pr-section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe4f1;
}

/* ── Upload Grid ── */

.pr-upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 26px;
  align-items: center;
}

.pr-upload-stack {
  display: grid;
  gap: 12px;
}

.pr-upload-label {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.pr-check-list {
  display: grid;
  gap: 14px;
}

.pr-check-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4f5b74;
  font-size: 15px;
  line-height: 1.55;
}

.pr-check-line svg {
  width: 18px;
  height: 18px;
  color: #18b45a;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Upload Card ── */

.pr-upload-card {
  border: 1.5px dashed #d5ddea;
  border-radius: 18px;
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  /* button reset */
  font: inherit;
  color: inherit;
  text-align: center;
  padding: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.pr-upload-card:hover {
  border-color: #1c9dd7;
  background: rgba(28, 157, 215, 0.03);
}

.pr-upload-card-logo {
  min-height: 146px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 20px;
}

.pr-upload-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: rgba(28, 157, 215, 0.08);
  display: grid;
  place-items: center;
  color: #1c9dd7;
}

.pr-upload-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-upload-card-logo strong,
.pr-upload-card-doc strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.pr-upload-card-logo span,
.pr-upload-card-doc span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: #55617f;
}

/* ── Upload Doc Card ── */

.pr-upload-card-doc {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1.5px dashed #d5ddea;
  border-radius: 18px;
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.pr-upload-card-doc .pr-upload-icon {
  margin: 0;
  flex: 0 0 auto;
}

.pr-upload-card-doc .pr-upload-copy {
  text-align: left;
}

.pr-upload-doc-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pr-upload-doc-card {
  display: grid;
  gap: 10px;
}

.pr-upload-doc-card .pr-upload-card-doc {
  min-height: 76px;
}

/* ── Upload Preview ── */

.pr-upload-preview {
  position: relative;
  display: inline-block;
}

.pr-upload-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 12px;
  object-fit: contain;
}

.pr-upload-preview .pr-upload-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff5b5b;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pr-upload-preview .pr-upload-remove svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Profile Grid ── */

.pr-profile-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pr-profile-field {
  margin-bottom: 0;
}

.pr-profile-field.span-2 {
  grid-column: 1 / -1;
}

.pr-profile-field.is-single {
  grid-column: 1 / 2;
}

/* ── Textarea ── */

.pr-textarea-shell {
  min-height: 118px;
  padding: 14px 16px;
  display: block;
  align-items: initial;
}

.pr-textarea-shell textarea {
  width: 100%;
  min-height: 84px;
  border: 0;
  outline: 0;
  background: transparent;
  resize: vertical;
  font-size: 16px;
  line-height: 1.6;
  color: #121a33;
  padding: 0;
}

.pr-textarea-shell textarea::placeholder {
  color: #7f89a0;
}

.pr-textarea-counter {
  margin-top: 10px;
  text-align: right;
  font-size: 13px;
  line-height: 1.35;
  color: #7a879d;
}

/* ── Error Message ── */

.pr-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #ff5b5b;
}

.pr-alert-error {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff2f2;
  border: 1px solid #ffd4d4;
  color: #d32f2f;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pr-alert-error iconify-icon {
  font-size: 18px;
  flex: 0 0 auto;
  color: currentColor;
}

/* ── Responsive ── */

@media (max-width: 1180px) {
  .pr-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pr-left-panel,
  .pr-form-panel {
    min-height: auto;
  }

  .pr-form-panel {
    order: 1;
  }

  .pr-left-panel {
    order: 2;
  }

  .pr-form-panel {
    padding: 40px 28px 28px;
  }
}

@media (max-width: 720px) {
  .pr-page {
    padding: 10px;
    display: block;
  }

  .pr-brand {
    margin: 0 0 22px;
  }

  .pr-brand img {
    width: 154px;
  }

  .pr-left-copy {
    padding: 0;
  }

  .pr-left-copy h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .pr-left-copy p {
    margin-top: 18px;
    max-width: none;
    font-size: 15px;
    line-height: 1.65;
  }

  .pr-feature-list {
    margin-top: 24px;
    gap: 18px;
  }

  .pr-feature-item {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .pr-feature-icon {
    width: 52px;
    height: 52px;
  }

  .pr-feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .pr-feature-text strong {
    font-size: 15px;
  }

  .pr-feature-text span {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.55;
  }

  .pr-left-footer {
    margin-top: 24px;
    border-radius: 20px;
  }

  .pr-hero-illustration {
    height: 224px;
  }

  .pr-form-panel {
    padding: 24px 16px 20px;
    border-radius: 22px;
  }

  .pr-form {
    margin-top: 28px;
  }

  .pr-steps {
    max-width: none;
    margin-bottom: 26px;
    gap: 18px;
  }

  .pr-step-badge {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .pr-step-title {
    font-size: 12px;
  }

  .pr-intro h2 {
    font-size: 22px;
  }

  .pr-intro p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
  }

  .pr-intro-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 14px;
  }

  .pr-intro-icon svg {
    width: 44px;
    height: 44px;
  }

  .pr-profile-intro {
    margin-bottom: 18px;
  }

  .pr-profile-intro h2 {
    font-size: 24px;
  }

  .pr-profile-intro p {
    font-size: 15px;
    line-height: 1.6;
  }

  .pr-merchant-type-panel {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .pr-choice-group {
    grid-template-columns: 1fr;
  }

  .pr-choice-button {
    height: 50px;
    justify-content: flex-start;
    padding: 0 16px;
  }

  .pr-section-head {
    margin: 22px 0 14px;
  }

  .pr-section-head span {
    font-size: 15px;
  }

  .pr-upload-grid,
  .pr-profile-grid,
  .pr-upload-doc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pr-profile-grid {
    margin-top: 20px;
  }

  .pr-profile-field.is-single,
  .pr-profile-field.span-2 {
    grid-column: auto;
  }

  .pr-upload-card-logo {
    min-height: 126px;
    padding: 16px;
  }

  .pr-upload-card-doc {
    min-height: 80px;
    justify-content: flex-start;
    padding: 16px;
  }

  .pr-check-list {
    gap: 10px;
  }

  .pr-check-line {
    font-size: 14px;
    line-height: 1.5;
  }

  .pr-field {
    margin-bottom: 22px;
  }

  .pr-field-label {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .pr-input-shell,
  .pr-primary-button,
  .pr-back-button {
    height: 54px;
  }

  .pr-input-shell {
    gap: 12px;
    padding: 0 14px;
  }

  .pr-input-shell svg,
  .pr-password-eye svg {
    width: 20px;
    height: 20px;
  }

  .pr-textarea-shell {
    min-height: 112px;
    padding: 14px;
  }

  .pr-textarea-shell textarea {
    min-height: 78px;
  }

  .pr-terms-box {
    padding: 14px 15px;
    gap: 12px;
  }

  .pr-terms-box p {
    font-size: 14px;
    line-height: 1.6;
  }

  .pr-primary-button,
  .pr-back-button {
    font-size: 15px;
  }

  .pr-login-row {
    margin-top: 20px;
    font-size: 14px;
  }

  .pr-stats {
    grid-template-columns: 1fr;
  }

  .pr-stat {
    padding: 18px 14px 20px;
  }

  .pr-stat + .pr-stat::before {
    left: 18px;
    right: 18px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .pr-help-card {
    margin: 16px 0 0;
    padding: 16px;
    border-radius: 16px;
  }

  .pr-security-note {
    margin-top: 28px;
    font-size: 14px;
  }

  .pr-copyright {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .pr-page {
    padding: 8px;
  }

  .pr-left-copy h1 {
    font-size: 27px;
  }

  .pr-form-panel {
    padding: 20px 14px 18px;
  }

  .pr-steps {
    gap: 12px;
  }

  .pr-step-title {
    font-size: 11px;
  }

  .pr-choice-button {
    font-size: 14px;
  }
}

/* ── 6-Step Onboarding Progress ── */

.pr-steps-6 {
    max-width: 100%;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.pr-steps-6::before {
    left: 21px;
    right: 21px;
    top: 16px;
}

.pr-steps-6 .pr-step-badge {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-width: 2px;
    margin-bottom: 8px;
}

.pr-steps-6 .pr-step.is-current .pr-step-badge {
    box-shadow: 0 6px 12px rgba(28, 157, 215, 0.28);
}

.pr-steps-6 .pr-step.is-done .pr-step-badge {
    background: #1c9dd7;
    border-color: #1c9dd7;
    color: #fff;
}

.pr-steps-6 .pr-step-title {
    font-size: 11px;
}

.pr-steps-7 {
    max-width: 100%;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 24px;
}

.pr-steps-7::before {
    left: 18px;
    right: 18px;
    top: 14px;
}

.pr-steps-7 .pr-step-badge {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-width: 2px;
    margin-bottom: 6px;
}

.pr-steps-7 .pr-step.is-current .pr-step-badge {
    box-shadow: 0 4px 10px rgba(28, 157, 215, 0.28);
}

.pr-steps-7 .pr-step.is-done .pr-step-badge {
    background: #1c9dd7;
    border-color: #1c9dd7;
    color: #fff;
}

.pr-steps-7 .pr-step-title {
    font-size: 10px;
}

@media (max-width: 640px) {
    .pr-steps-6 {
        gap: 4px;
    }
    .pr-steps-6 .pr-step-badge {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .pr-steps-6 .pr-step-title {
        font-size: 9px;
    }
    .pr-steps-7 {
        gap: 3px;
    }
    .pr-steps-7 .pr-step-badge {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    .pr-steps-7 .pr-step-title {
        font-size: 8px;
    }
}
