* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
  padding: 2rem;
  background: #0f0f12;
  color: #e4e4e7;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 32rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.description {
  color: #a1a1aa;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.primary {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
}

.primary:hover {
  background: #2563eb;
}

.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  margin-top: 1rem;
  min-height: 1.5rem;
  font-size: 0.875rem;
  color: #a1a1aa;
}

.status.loading {
  color: #fbbf24;
}

.status.error {
  color: #f87171;
}

.result {
  margin-top: 1.25rem;
  padding: 1rem;
  background: #18181b;
  border-radius: 0.5rem;
  border: 1px solid #27272a;
  font-size: 0.875rem;
}

.result .probability {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.result .probability.high {
  color: #f87171;
}

.result .probability.low {
  color: #4ade80;
}

.result dl {
  margin: 0;
  display: grid;
  gap: 0.25rem;
}

.result dt {
  color: #a1a1aa;
  font-weight: 500;
}

.result dd {
  margin-left: 0;
}

.result .fallback-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #a1a1aa;
}

.result {
  text-align: left;
}

.survey,
.feedback-form {
  text-align: center;
  margin-top: 1.5rem;
}

.feedback-form h2 {
  margin-bottom: 1rem;
}

.feedback-form .field-group {
  margin-bottom: 1.25rem;
}

.feedback-form .field-group p {
  margin-bottom: 0.5rem;
}

.feedback-form label {
  display: inline-block;
  margin: 0 0.5rem;
}

.feedback-form .field-row {
  margin-bottom: 0.75rem;
}

.feedback-form .field-row label {
  display: block;
  margin: 0.25rem 0;
  text-align: center;
}

.feedback-form .field-row input[type="text"] {
  display: block;
  margin: 0.25rem auto 0;
  text-align: left;
}

.feedback-form button[type="submit"] {
  margin-top: 1.75rem;
}

.feedback-form .feedback-message {
  margin-top: 0.75rem;
  text-align: center;
}
