.user-form:has(.checkbox-terms) input.form-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  left: 0px;
  top: 0px;

}

.user-form .js-form-type-checkbox:has(.checkbox-terms) {
  padding-bottom: 20px;
}

.user-form:has(.checkbox-terms) input.form-checkbox:checked {
  background-size: 15px;
}

.user-form h4.option:has(.checkbox-terms) {
  background-color: transparent;
  padding: 0px;
  border-radius: 0px;
  padding-left: 0px!important;
}

.user-form h4.option:has(.checkbox-terms)::before {
  display: none !important;
}

.user-form .container-toggle-terms {
  padding-bottom: 20px;
}

.user-form h4.option .checkbox-terms {
  text-transform: uppercase;
  font-size: var(--detail_min);
  font-family: var(--bold);
  padding-bottom: 10px;
  padding-left: 35px;
  margin-top: 5px;
  line-height: var(--lh-med);
}

.container-toggle-terms {
  clear: both;
}


.user-form .container-toggle-terms .checkbox-terms {
  display: flex;
  gap: 10px;
  text-transform: uppercase;
  font-size: var(--detail_min);
  font-family: var(--bold);
  padding-bottom: 10px;
  line-height: var(--lh-med);
  justify-content: start;
  align-items: center;
}

.user-form .container-toggle-terms .checkbox-terms-text,
.user-form h4.option .checkbox-terms-text {
  font-size: var(--detail-medium);
  font-family: var(--regular);
  color: #350F11;
  opacity: 0.4;
  line-height: var(--lh-small);
}


.user-form h4.option .checkbox-terms-text a {
  color: #350F11;
}

.user-form h4.option .checkbox-terms-text a:hover {
  color: var(--cta);
  opacity: 1;
  text-decoration: underline;
}

.form.dark .container-toggle-terms {
  grid-column: span 2;
  color: var(--white);
}

.form.dark .container-toggle-terms .checkbox-terms {
  display: flex;
  gap: 10px;
  font-size: var(--body);
  font-family: var(--bold);
  padding-bottom: 10px;
  line-height: var(--lh-med);
  justify-content: start;
  align-items: center;
}


.form.dark:has(.checkbox-terms) input.form-checkbox {
  width: 24px;
  height: 24px;
  background-color: #ffffff33;
}

.form.dark:has(.checkbox-terms) .js-form-item.form-item.js-form-type-checkbox {
  padding-left: 0px;
}

.form.dark:has(.checkbox-terms) input.form-checkbox:checked {
  width: 24px;
  height: 24px;
  background-color: var(--blue);
}

.form.dark h4.option .checkbox-terms {
  padding-bottom: 10px;
  margin-top: 2px;
  line-height: var(--lh-med);
  padding-left: 35px;
}

.form.dark .container-toggle-terms .checkbox-terms-text,
.form.dark h4.option .checkbox-terms-text {
  line-height: var(--lh-smaller);
  opacity: 0.4;
  font-size: var(--detail_min);
}

.form.dark h4.option .checkbox-terms-text a {
  font-size: var(--detail_min);
}

.form.dark h4.option .checkbox-terms-text a:hover {
  color: var(--lightblue);
  opacity: 1;
}

.user-toggle-switch {
  width: 40px;
  height: 21px;
  background: #DBCCC0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.user-toggle-switch-circle {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
}

.user-toggle-switch.active {
  background: var(--cta);
}

.user-toggle-switch.active .user-toggle-switch-circle {
  transform: translateX(18px);
}

.form.dark .user-toggle-switch {
  background: #ffffff33;
}

.form.dark .user-toggle-switch.active {
  background: #006AD2;
}

@media screen and (max-width: 900px) {
  .user-form .container-toggle-terms .checkbox-terms,
  .form.dark .container-toggle-terms .checkbox-terms {
    align-items: start;
  }

  .form.dark .user-toggle-switch {
    margin-top: 3px;
  }

  .form.dark .container-toggle-terms {
  padding-bottom: 20px;
}
}