@font-face {
  font-family: "Inter";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

:root {
  --font-family: "Inter", sans-serif;
  --primary-color: #4f46e5;
}

.sc-fieldset {
  font-family: var(--font-family);
  font-weight: 500;
  padding: 0;
  margin:0;
  border: none;
}

.sc-legend {
  margin-bottom: 20px;
}

.sc-radio-label {  
  font-family: var(--font-family);
  font-weight: 500;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.sc-radio-group-item {
  margin-bottom: 20px;
  align-items: center;
  display: flex;
}

.sc-radio-group-item:last-child {
  margin-bottom: 0;
}

.sc-radio-group-item > input {
  margin: 0;
}

.sc-input[type="radio"] {
  position: relative;
  width: 1rem;
  height: 1rem;
  appearance: none;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background-color: #ffffff;
}

.sc-input[type="radio"]::before {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border-radius: 9999px;
  background-color: #ffffff;
}

.sc-input[type="radio"]:checked {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.sc-input[type="radio"]:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.sc-input[type="radio"]:disabled {
  border-color: #d1d5db;
  background-color: #f3f4f6;
}

.sc-input[type="radio"]:disabled::before {
  background-color: #9ca3af;
}

.sc-input[type="radio"] {
  forced-color-adjust: auto;
}

.sc-input[type="radio"]::before:not(:checked) {
  display: none;
}
