.domain-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.domain-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.domain-form-radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-light);
  border-radius: 6px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-form-radio:hover {
  background-color: var(--color-lighter);
}

.domain-form-radio.selected {
  border-color: var(--color-accent);
  background-color: var(--color-lighter);
}

.domain-form-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.domain-form-radio label {
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-darkest);
}

.domain-form-input {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.domain-form-input label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-darkest);
}

.domain-form-input input,
.domain-form-input select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-light);
  border-radius: 6px;
  font-size: 0.875rem;
  background-color: white;
  color: var(--color-darkest);
}

.domain-form-input input:focus,
.domain-form-input select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.domain-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.domain-form-actions label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-darkest);
  cursor: pointer;
}

.domain-form-actions input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.domain-form-submit {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-form-submit:hover {
  background-color: #0d4b8c;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-error {
  padding: 0.75rem;
  background-color: #ffebe9;
  border: 1px solid #ff8182;
  border-radius: 6px;
  color: #cf222e;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.domain-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.domain-form-success {
  padding: 2rem;
  background-color: #dafbe1;
  border: 1px solid #1a7f37;
  border-radius: 6px;
  color: #1a7f37;
}

.domain-form-success h3 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.domain-form-success p {
  color: #166534;
  font-size: 0.875rem;
}

.domain-form-info {
  background-color: var(--color-lighter);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.domain-form-info p {
  color: var(--color-darkest);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.domain-form-info ol {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--color-darkest);
  font-size: 0.875rem;
  line-height: 1.5;
}

.domain-form-info li {
  margin-bottom: 0.5rem;
}

.domain-form-info a {
  color: var(--color-accent);
  text-decoration: none;
}

.domain-form-info a:hover {
  text-decoration: underline;
}

.domain-form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.domain-form-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-darkest);
  cursor: pointer;
}

.domain-form-checkbox input[type="checkbox"] {
  margin: 0;
  width: 1rem;
  height: 1rem;
}

.domain-form-step {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-accent);
  color: white;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.provider-instructions img {
  width: 100%;
  margin: 15px 0;
  border: 4px solid white;
  border-radius: 6px;
  display: block;
}
