/*
Theme Name: TCO 2025 Child
Template: tco2025
*/

/* Container spacing like WPForms */
.custom-wp-form #wppb-register-user {
  margin: 0;
}

/* Field container (simulate WPForms flex layout) */
.custom-wp-form #wppb-register-user > ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0;
  padding: 0;
}

/* Each field */
.custom-wp-form .wppb-form-field {
  width: 100%;
  list-style: none;
  padding-left: 0;
}

.custom-wp-form .wppb-form-field::before {
  display: none;
}

/* Labels */
.custom-wp-form .wppb-form-field label {
  display: inline-block;
  font-weight: 400;
  margin-bottom: 6px;
}

.custom-wp-form .wppb-form-error {
  color: #d63637;
}

.custom-wp-form .wppb-required {
  color: #d63637;
  padding-left: 5px;
}

/* Inputs (text, email, password, etc.) */
.custom-wp-form 
#wppb-register-user 
:is(input[type="text"], input[type="email"], input[type="password"], textarea, select) {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: none;
  appearance: none;
  transition: border-color 250ms linear;
}

/* Focus state */
.custom-wp-form 
#wppb-register-user 
:is(input, textarea, select):focus {
  outline: none;
  border-color: var(--wpforms-accent-color);
}

/* Placeholder */
.custom-wp-form 
#wppb-register-user 
::placeholder {
  color: var(--color-text-dimmed);
}

/* Description text (like password rules) */
.custom-wp-form .wppb-description-delimiter {
  font-size: 13px;
  color: #777;
  margin-top: 6px;
  display: block;
}

/* Password strength */
.custom-wp-form #pass-strength-result {
  font-size: 13px;
  margin-top: 5px;
}

/* Radio buttons (membership plans) */
.custom-wp-form .wppb-subscription-plans label,
.custom-wp-form .wppb-send-credentials-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Checkbox */
.custom-wp-form input[type="checkbox"] {
  margin-right: 8px;
}

/* Submit button */
.custom-wp-form .form-submit {
  margin-top: 10px;
}

.custom-wp-form .form-submit input[type="submit"] {
  width: fit-content;
  padding: var(--button-v-padding) var(--button-h-padding);
  font-weight: 500;
  cursor: pointer;
  border: none;
}

/* Hover */
.custom-wp-form .form-submit input[type="submit"]:hover {
  background: var(--wpforms-button-background-color-hover);
  color: #fff;
}

/* Radio */
.custom-wp-form .wppb-subscription-plans input[type="radio"],
.custom-wp-form .wppb-subscription-plans input[type="checkbox"],
.custom-wp-form .wppb-send-credentials-checkbox input[type="checkbox"] {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.custom-wp-form .pms-field {
  list-style-type: none;
}