/* FORMS */
.bg-purple-light {
  background-color: #f5efff !important;
  border-radius: 5px;
}
label {
  font-size: calc(var(--font-size-body) - 0.2rem);
}
.form-control {
  color: var(--color-dark);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  font-size: 1.4rem;
}
.form-control:focus {
  color: var(--color-dark);
  border-color: hsl(259.1150442478, 46.887966805%, 77.7450980392%);
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(114, 78, 191, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(114, 78, 191, 0.25);
}
.form-check {
  padding-left: 0;
}
.form-check-input {
  width: 1.5em;
  height: 1.5em;
}
.form-check .form-check-input {
  float: left;
  margin-left: -2em;
  border-color: #c180ff !important;
}
.form-check .form-check-input:checked {
  border-color: var(--color-accent) !important;
  background-color: var(--color-accent) !important;
}
.invalid-feedback,
.form-text {
  font-size: 1.3rem;
}
.form-check input[type="radio"] {
  /* Hide the default radio button visually but keep it accessible */
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.radio-label {
  display: inline-block;
  padding-left: 30px; /* Space for the custom radio button */
  position: relative;
  cursor: pointer;
  line-height: 20px;
}
.radio-label:before,
.radio-label:after {
  position: absolute;
  content: "";
}

.radio-label:before {
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px #c180ff;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.form-check input[type="radio"]:checked + label.radio-label:before {
  background-color: var(--color-accent) !important;
  box-shadow: 0 0 0 0;
}
.form-check input[type="radio"]:checked + .radio-label:after {
  top: 6px;
  left: 5px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.alert {
  font-size: 1.2rem !important;
}
@media (min-width: 768px) {
  .bg-purple-light {
    padding: 2rem 3rem !important;
  }
  .form-check {
    padding-left: 2.2rem;
    }
}
