:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.input {
  margin-bottom: 1rem;
}

.input label {
  display: block;
  margin-bottom: 0.4rem;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
}

.input input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #fff;
  color: #0f172a;
  padding: 0.625rem 0.75rem;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input input:not([type="hidden"]):focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.15);
  outline: none;
}

.input.field_with_errors input,
.input input[aria-invalid="true"] {
  border-color: #e11d48;
}

.input .error {
  display: block;
  margin-top: 0.35rem;
  color: #be123c;
  font-size: 0.75rem;
}

.required abbr {
  color: #e11d48;
  text-decoration: none;
}
