.seller-registration {
  min-height: 100vh;
  background: var(--paper);
}

.seller-registration [hidden] { display: none !important; }

.seller-registration__header-inner,
.seller-registration__main {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.seller-registration__header {
  background: var(--paper);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.seller-registration__header-inner {
  padding-block: 22px;
  line-height: 0;
}

.seller-registration__header .wordmark {
  display: inline-block;
  width: 148px;
}

.seller-registration__header img { display: block; width: 100%; height: auto; }

.seller-registration__main { padding-block: 40px 72px; }

.seller-registration__layout {
  display: grid;
  width: min(1050px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 500px) minmax(0, 500px);
  gap: 40px;
  align-items: start;
}

.seller-registration__form-card {
  padding: 24px 40px;
  border-radius: 8px;
  background: #f2f6ff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.seller-registration__form-card h1,
.seller-registration__steps-panel h2 { margin-top: 0; }

#seller-registration-title { margin-bottom: 12px; font-size: 28px; line-height: 1.3; }
#seller-registration-intro > p { margin: 0; font-size: 0.9rem; line-height: 1.45; }

#seller-registration-success { display: grid; gap: 18px; padding-block: 8px; }
#seller-registration-success p { margin: 0; font-size: 1.05rem; line-height: 1.55; }
#seller-registration-success strong { font-weight: 700; }
.seller-registration__back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.seller-registration__back:hover { text-decoration: underline; }

#seller-registration-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; margin-top: 24px; }
.seller-registration__field { display: grid; gap: 5px; }
.seller-registration__field label,
.seller-registration__consent { font-weight: 700; }
.seller-registration__field label { font-size: 0.8125rem; }
#seller-registration-form .field-error:empty { display: none; }
.seller-registration__form-card input:not([type="checkbox"]),
.seller-registration__form-card textarea,
.seller-registration__form-card select {
  width: 100%;
  min-height: 40px;
  padding: 7px 16px;
  border: 1px solid #ccc;
  border-radius: 16px;
  color: var(--ink);
  font: 0.875rem/1.2 Lato, sans-serif;
  background: var(--paper);
}
.seller-registration__form-card textarea { min-height: 82px; border-radius: 14px; resize: vertical; }
.seller-registration__form-card input:focus-visible,
.seller-registration__form-card textarea:focus-visible,
.seller-registration__form-card select:focus-visible { outline: 3px solid rgb(0 55 222 / 0.28); outline-offset: 2px; }
.seller-registration__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 3px; font-size: 0.8rem; line-height: 1.4; }
.seller-registration__consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; }
.seller-registration__honeypot { position: absolute; left: -9999px; }
.seller-registration__steps-panel { padding: 24px 40px; }
.seller-registration__steps-panel h2 { margin-bottom: 40px; color: #133f5d; font-size: 20px; line-height: 1.2; }
.seller-registration__steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.seller-registration__steps li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; min-height: 146px; color: var(--muted); }
.seller-registration__steps li:not(:last-child)::after { position: absolute; top: 32px; bottom: 2px; left: 14px; width: 3px; background: #d9d9d9; content: ""; }
.seller-registration__step-marker { width: 30px; height: 30px; margin-top: 0; border: 3px solid var(--paper); border-radius: 50%; background: #d6d6d6; }
.seller-registration__step-label { display: block; color: var(--muted); font-weight: 500; }
.seller-registration__step-copy p { margin: 8px 0 0; color: var(--blue); font-size: 1.05rem; line-height: 1.35; }
.seller-registration__steps :is(.is-active, .is-complete) .seller-registration__step-marker { border: 3px solid #1683ff; box-shadow: inset 0 0 0 6px var(--paper); background: #1683ff; }
.seller-registration__steps .is-active:first-child:not(:last-child)::after,
.seller-registration__steps .is-complete:not(:last-child)::after { background: #1683ff; }
.seller-registration__steps .is-active .seller-registration__step-label { color: var(--ink); }
.seller-registration__steps.is-step-two .is-active .seller-registration__step-label { color: var(--blue); }

#seller-registration-form > button { justify-self: end; min-height: 44px; margin-top: 4px; padding-inline: 22px; background: #0041ff; box-shadow: none; }

@media (max-width: 767px) {
  .seller-registration__header-inner,
  .seller-registration__main { width: min(100% - 28px, 560px); }
  .seller-registration__header-inner { padding-block: 18px; }
  .seller-registration__layout { grid-template-columns: 1fr; gap: 22px; }
  .seller-registration__main { padding-block: 28px 48px; }
  .seller-registration__form-card { padding: 26px 20px; }
  .seller-registration__steps-panel { padding-top: 12px; }
  .seller-registration__steps-panel h2 { margin-bottom: 28px; }
  .seller-registration__steps li { min-height: 122px; }
}
