/* button styles */
.btn-frame {
  border: 1px solid var(--muted);
  border-radius: 1rem;
  padding: 0.5rem 1.5rem;
  font-size: 1.25rem;
}

.btn-accent {
  background: var(--gold);
  border-radius: 2rem;
  padding: 0 3rem;
}

.btn-accent:disabled {
  background: var(--highlight-low);
  cursor: default;
}

.btn-accent p {
  color: var(--text-05);
  font-size: 1.25rem;
}

.btn-accent:disabled p {
  color: var(--muted);
}

/* text styles */

h3, b {
  font-weight: 600;
}

.agent-valuation-title {
  font-weight: 400;
  font-size: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* fieldset styles */
fieldset {
  margin: auto;
  font-size: 1.25rem;
  border: 1px solid var(--text);
  border-radius: 1rem;
  padding: 1rem 2rem;
  width: 100%;
}

.radio-button {
  margin: 1.5rem 1rem;
  cursor: pointer;
}

/* Hide the default checkbox */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox container */
.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  padding: 1rem 3rem;
  cursor: pointer;
  font-size: 1.25rem;
  user-select: none;
}

/* Style the custom checkbox/indicator */
.checkmark {
  position: absolute;
  top: 1rem;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: var(--text-04);
  border: 1px solid var(--text-01);
  border-radius: 50%; /* This makes it circular */
}


/* On mouse-over, add a grey background color */
.custom-checkbox:hover input ~ .checkmark {
  background-color: var(--highlight-med);
}

/* When the checkbox is checked, add a colored background */
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--pine);
}

/* When the checkbox is checked, add a colored background */
.custom-checkbox input:disabled ~ .checkmark {
  background: var(--muted);
  border: 1px solid transparent;
}
.custom-checkbox:hover input:disabled ~ .checkmark {
  background-color: var(--muted);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.custom-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
