/* === reseller-signup.css === */
/* ---------------------------------------------------------------------------
reseller-signup.css

/revendeur/inscription. The page reuses the login card (login.css is linked
next to this file), which is 450px wide -- right for two fields, far too narrow
for a company form. Everything here widens that card and lays its fields out on
a two-column grid, so only the sign-up page pays for the extra rules.
--------------------------------------------------------------------------- */

.reseller-container {
  max-width: 720px;
}

.reseller-intro {
  background: #f6f7fb;
  border: 1px solid #e6e8f0;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 26px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5266;
}
.reseller-intro ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.reseller-intro li {
  margin-bottom: 4px;
}

.reseller-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
/* Fields that read as one line of the form rather than half of one. */
.reseller-grid .span-2 {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .reseller-grid {
    grid-template-columns: 1fr;
  }
}

.reseller-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}
.reseller-label .req {
  color: #c53030;
}

.reseller-hint {
  margin: 6px 2px 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #7a8194;
}

.reseller-container .field-input,
.reseller-container textarea.field-input {
  padding-left: 15px;
  border-radius: 6px;
}
.reseller-container textarea.field-input {
  min-height: 92px;
  resize: vertical;
  font-family: inherit;
}

.reseller-submit {
  width: 100%;
  height: 50px;
  font-size: 16px;
  border-radius: 6px;
  background-color: #192a56;
  margin-top: 14px;
}

/* Societe / auto-entrepreneur. The pair sits on one line on desktop and stacks
   on a phone, where two 44px targets side by side get too narrow to tap. */
.reseller-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.reseller-choice label {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--checkout-input-border, #d7dce6);
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
.reseller-choice label:has(input:checked) {
  border-color: #192a56;
  background: #f7f9ff;
}
.reseller-choice input {
  margin: 0;
  flex: 0 0 auto;
}

/* The status toggle hides the fields the other status does not use, and a
   `display` rule further down the cascade would otherwise show them anyway. */
.reseller-container [hidden] {
  display: none !important;
}
