/* Producer · Sign up (steps 1-3). Left = promo, right = form panel. */
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ---- Left: promo ---- */
.auth__promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem;
}
.promo__title {
  max-width: 38.75rem;
  margin: 0 0 0.75rem;
  font: 600 2rem/2.625rem var(--font-display);
}
.promo__text {
  max-width: 32rem;
  margin: 0;
  color: var(--neutral-text-soft);
}
.promo__art { width: 100%; max-width: 46rem; height: auto; margin-left: -1.5rem; }

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--neutral-0);
  border: 1px solid var(--neutral-30);
  border-radius: 100px;
  font: 500 0.8125rem/1 var(--font-body);
}
.benefit svg { width: 1rem; height: 1rem; }

/* ---- Right: form panel ---- */
.auth__panel {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  padding: 2.5rem 1rem 2.5rem 0.5rem;
}
.auth__inner {
  width: 37rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
}
.auth__logo { width: 10rem; height: auto; }

.auth__head { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
.auth__title { margin: 0; font: 600 1.625rem/normal var(--font-display); }
.auth__sub { margin: 0; color: var(--neutral-60); font-size: 0.875rem; line-height: 1.375rem; }

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  max-width: 32.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stepper__step { display: flex; align-items: center; gap: 0.625rem; }
.stepper__dot {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--neutral-0);
  border: 1px solid var(--step-border);
  border-radius: 50%;
  color: var(--neutral-60);
  font: 500 0.8125rem/1 var(--font-body);
}
.stepper__dot svg { width: 0.875rem; height: 0.875rem; }
.stepper__label { color: var(--neutral-60); font-size: 0.8125rem; white-space: nowrap; }

.stepper__step.is-done .stepper__dot,
.stepper__step.is-active .stepper__dot {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--neutral-0);
}
.stepper__step.is-active .stepper__label { color: var(--neutral-100); font-weight: 500; }

.stepper__line { flex: 1; min-width: 1rem; height: 2px; background: var(--neutral-30); }
.stepper__line.is-done { background: var(--blue-600); }

/* Card */
.auth__card {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  width: 32.5rem;
  max-width: 100%;
  padding: 1.75rem;
  background: var(--neutral-0);
  border-radius: var(--radius-card);
}

/* Checkbox */
.check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
}
.check input {
  appearance: none;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  background: var(--neutral-0);
  border: 1px solid var(--step-border);
  border-radius: 0.3125rem;
  cursor: pointer;
}
.check input:checked {
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 0.875rem no-repeat;
  border-color: var(--blue-600);
}

.auth__back { text-align: center; font-size: 0.875rem; }
.auth__alt { margin: 0; color: var(--neutral-60); font-size: 0.875rem; }

/* ---- Step 3: verify email ---- */
.verify { align-items: center; gap: 1rem; text-align: center; }
.verify__icon {
  display: grid;
  place-items: center;
  width: 5.6rem;
  height: 5.6rem;
  background: var(--blue-100);
  border-radius: 50%;
}
.verify__icon span {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: var(--blue-600);
  border-radius: 50%;
}
.verify__icon svg { width: 1.5rem; height: 1.5rem; }
.verify__title { margin: 0; font: 500 1.125rem/normal var(--font-display); }
.verify__text { margin: 0; color: var(--neutral-60); font-size: 0.875rem; line-height: 1.5rem; }

.otp { display: flex; justify-content: center; gap: 0.75rem; width: 100%; margin: 0.25rem 0; }
.otp__box {
  flex: 1 1 0;
  min-width: 0;
  max-width: 3.5rem;
  height: 4rem;
  border: 1px solid var(--otp-border);
  border-radius: 0.75rem;
  background: var(--neutral-0);
  text-align: center;
  font: 500 1.5rem/1 var(--font-body);
  color: var(--neutral-100);
}
.otp__box:focus { outline: none; border: 1.5px solid var(--blue-600); }

.verify__resend { margin: 0; color: var(--neutral-60); font-size: 0.875rem; }

@media (max-width: 1000px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__promo { display: none; }
  .auth__panel { justify-content: center; padding: 2rem 1rem; }
  .field-row { flex-direction: column; }
}

/* With four steps the labels need room: show only the current step's label on small screens */
@media (max-width: 560px) {
  .stepper__step:not(.is-active) .stepper__label { display: none; }
}
@media (max-width: 480px) {
  .stepper, .stepper__step { gap: 0.375rem; }
  .stepper__line { min-width: 0.5rem; }
}
