/* Join our network / operator onboarding */
.operator-onboarding .wrap-narrow {
  max-width: 580px;
}

.onboarding-intro {
  margin-bottom: 2rem;
}

.onboarding-intro .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.onboarding-benefits,
.onboarding-fee,
.onboarding-form-section,
.onboarding-next {
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-bottom: var(--border);
}

.onboarding-next {
  border-bottom: none;
}

.onboarding-benefits h2,
.onboarding-fee h2,
.onboarding-form-section h2,
.onboarding-next h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: var(--text);
}

.onboarding-benefits ul {
  margin: 0;
  padding-left: 1.35rem;
  line-height: 1.7;
}

.onboarding-benefits li {
  margin-bottom: 0.5rem;
}

.fee-disclaimer {
  background: var(--bg-warm);
  border: var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.fee-disclaimer p {
  margin: 0 0 0.75rem;
}

.fee-disclaimer p:last-child {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-intro {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.operator-signup-form .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field-hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.agreement-row {
  margin-top: 1.25rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
}

.checkbox-label span {
  line-height: 1.5;
}

.onboarding-success {
  background: var(--bg-warm);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.onboarding-success h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.onboarding-success p {
  margin: 0 0 1rem;
}

.onboarding-success p:last-of-type {
  margin-bottom: 0;
}

.onboarding-next ol {
  margin: 0;
  padding-left: 1.35rem;
  line-height: 1.8;
}

.onboarding-next li {
  margin-bottom: 0.5rem;
}

/* Enhanced form sections */
.form-section {
  margin-bottom: 40px;
  padding: 28px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.form-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agreement-section {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row-group {
    grid-template-columns: 1fr;
  }
}

/* Enhanced form fields */
.quote-form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 0.9375rem;
}

.required-star {
  color: #dc2626;
  font-weight: 600;
}

.optional-label {
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.875rem;
}

.quote-form-row input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  background: #fff;
  box-sizing: border-box;
}

.quote-form-row input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.quote-form-row input:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

/* Enhanced submit button */
.quote-form-actions {
  margin-top: 32px;
  text-align: center;
}

.quote-submit {
  width: 100%;
  max-width: 400px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quote-submit:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.quote-submit:active {
  transform: translateY(0);
}

.quote-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.button-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.quote-submit:hover .button-arrow {
  transform: translateX(4px);
}

.submit-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: #10b981;
  font-weight: 500;
}

/* Enhanced checkbox styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.checkbox-text {
  flex: 1;
  color: #374151;
  font-size: 0.9375rem;
}

/* City checkboxes */
.city-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  max-height: 350px;
  overflow-y: auto;
}

.city-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-checkbox-item:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.city-checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.city-checkbox-item label {
  cursor: pointer;
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  color: #374151;
  user-select: none;
}

.city-checkbox-item.selected {
  background: #dbeafe;
  border-color: #2563eb;
  font-weight: 500;
}

.city-checkbox-item.selected label {
  color: #1e40af;
}

.city-checkboxes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.select-all-link {
  color: #2563eb;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.select-all-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}
