/* OnboardingExistingBusiness — c2 styles
   Drop into Base44 alongside the JSX file OR convert to Tailwind classes if your codebase uses them. */

.oeb-root {
  max-width: 560px;
  margin: 60px auto;
  padding: 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.06);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
  color: #1a1d24;
}

.oeb-form, .oeb-confirm, .oeb-edit, .oeb-loading, .oeb-error-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.oeb-root h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.oeb-sub {
  color: #6b7280;
  margin: 0 0 8px;
}

.oeb-form label, .oeb-edit label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.oeb-form input, .oeb-edit input, .oeb-edit select, .oeb-edit textarea {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

.oeb-form input:focus, .oeb-edit input:focus, .oeb-edit select:focus, .oeb-edit textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.oeb-edit textarea {
  resize: vertical;
  font-family: inherit;
}

.oeb-charcount {
  font-size: 11px;
  color: #9ca3af;
  text-align: right;
}

.oeb-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}

.oeb-primary {
  background: #1a1d24;
  color: #fff;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.oeb-primary:hover {
  background: #374151;
}

.oeb-secondary {
  background: #fff;
  color: #374151;
  padding: 10px 18px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.oeb-secondary:hover {
  background: #f9fafb;
}

.oeb-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}

.oeb-loading {
  text-align: center;
  align-items: center;
}

.oeb-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: #1a1d24;
  border-radius: 50%;
  animation: oeb-spin 0.8s linear infinite;
}

@keyframes oeb-spin {
  to { transform: rotate(360deg); }
}

.oeb-tiny {
  font-size: 12px;
  color: #9ca3af;
}

.oeb-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 20px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oeb-card-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
}

.oeb-card-row.oeb-desc {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.oeb-label {
  width: 90px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.oeb-value {
  color: #1a1d24;
  flex: 1;
}

.oeb-card-row a {
  color: #2563eb;
  text-decoration: none;
}

.oeb-card-row a:hover {
  text-decoration: underline;
}

.oeb-badge {
  display: inline-block;
  background: #1a1d24;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.oeb-confidence-low {
  font-size: 11px;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.oeb-banner {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}
