body[data-page="seller-auth"] {
  color-scheme: light;
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --border: rgba(16, 20, 28, 0.1);
  --border-strong: rgba(16, 20, 28, 0.16);
  --text: #111111;
  --text-muted: #4f5b69;
  --accent: #ffc700;
  background: #f4f6f8;
  color: #111111;
}

body[data-page="seller-auth"] input,
body[data-page="seller-auth"] select,
body[data-page="seller-auth"] textarea {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #151922 !important;
  -webkit-text-fill-color: #151922 !important;
  border: 1px solid #d8dee8 !important;
  box-shadow: none !important;
}

body[data-page="seller-auth"] input:-webkit-autofill,
body[data-page="seller-auth"] textarea:-webkit-autofill,
body[data-page="seller-auth"] select:-webkit-autofill,
body[data-page="seller-auth"] input:-webkit-autofill:hover,
body[data-page="seller-auth"] textarea:-webkit-autofill:hover,
body[data-page="seller-auth"] select:-webkit-autofill:hover,
body[data-page="seller-auth"] input:-webkit-autofill:focus,
body[data-page="seller-auth"] textarea:-webkit-autofill:focus,
body[data-page="seller-auth"] select:-webkit-autofill:focus {
  -webkit-text-fill-color: #151922 !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  caret-color: #151922 !important;
}

body[data-page="seller-auth"] select option {
  color: #151922;
  background: #ffffff;
}

body[data-page="seller-auth"] input::placeholder,
body[data-page="seller-auth"] textarea::placeholder {
  color: #6c7686 !important;
}

body[data-page="seller-auth"] input:focus,
body[data-page="seller-auth"] select:focus,
body[data-page="seller-auth"] textarea:focus {
  border-color: rgba(255, 199, 0, 0.78) !important;
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.16) !important;
}

.auth-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.auth-card {
  display: grid;
  gap: 12px;
}

.auth-header {
  display: grid;
  gap: 8px;
}

.auth-header .eyebrow {
  color: #9a7b00;
}

.auth-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
}

.auth-status.error {
  color: #d14343;
}

.auth-status.ok {
  color: #15803d;
}

.auth-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-actions .btn {
  min-height: 44px;
}

.auth-footer {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}

.seller-form {
  display: grid;
  gap: 12px;
}

.autocomplete-field {
  position: relative;
}

.auth-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 25;
  display: grid;
  gap: 4px;
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #d8dee8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(17, 25, 40, 0.12);
}

.auth-suggestion {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #151922;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.auth-suggestion:hover,
.auth-suggestion.is-active {
  background: rgba(255, 199, 0, 0.18);
  color: #111111;
}

.auth-micro-feedback {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #667387;
}

.auth-micro-feedback.is-error {
  color: #d14343;
}

.auth-micro-feedback.is-ok {
  color: #15803d;
}

.auth-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 199, 0, 0.5);
  background: rgba(255, 199, 0, 0.14);
  color: #111111;
  font-size: 0.82rem;
  font-weight: 600;
}

.auth-chip-remove {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.grid-field-2 {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.check-inline input {
  width: auto;
  accent-color: var(--accent);
}

.auth-options-grid {
  display: grid;
  gap: 8px;
}

.seller-step-track {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seller-step {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 0.75rem;
  color: #637081;
  border: 1px solid #dce3ea;
  background: #ffffff;
}

.seller-step.is-active {
  color: #111111;
  border-color: rgba(255, 199, 0, 0.78);
  background: rgba(255, 216, 77, 0.22);
}

.seller-step-panel {
  display: grid;
  gap: 10px;
}

.seller-step-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.legal-note {
  margin: 0;
  font-size: 0.82rem;
  color: #5f6d7e;
}

@media (max-width: 680px) {
  .grid-field-2 {
    grid-template-columns: 1fr;
  }

  .seller-step-actions .btn,
  .auth-actions .btn {
    flex: 1;
  }
}
