.wpcf7 input:where(:not([type="checkbox"])) {
  border: 1px solid;
  line-height: inherit;
  font-size: inherit;
}

.wpcf7 input:where(:not([type="checkbox"])),
.wpcf7 textarea {
  padding: calc(0.667em + 1px);
  /* width: 100%; */
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--foreground);
  border-color: inherit;
  font-family: inherit;
  font-size: inherit;
}

.wpcf7 input[type="submit"] {
  background-color: var(--wp--preset--color--custom-dark-blue);
  color: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--custom-dark-blue);
  border-radius: 10px;
  padding: 0.875em 1.75em;
  font-family: var(--wp--preset--font-family--helvetica);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
  text-decoration: none;
  width: auto;
}

.wpcf7 input[type="submit"]:hover {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--custom-dark-blue);
}

.wpcf7 input[type="submit"]:focus {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--custom-dark-blue);
  outline: 1px solid var(--wp--preset--color--custom-dark-blue);
  outline-offset: 2px;
}

.wpcf7 input[type="submit"]:active {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--custom-dark-blue);
}

.wpcf7-form-control-wrap {
  margin-top: 0.25em;
  display: block;
}

.wpcf7 select {
  border: 1px solid;
  line-height: inherit;
  font-size: inherit;
  padding: calc(0.667em + 1px);
  /* width: 100%; */
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--foreground);
  border-color: inherit;
  font-family: inherit;
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em center;
  background-size: 1em;
  padding-right: 2.5em; 
}

.wpcf7 select:focus {
  outline: 1px solid var(--wp--preset--color--custom-dark-blue);
  outline-offset: 2px;
}

.wpcf7 select::-ms-expand {
  display: none;
}

.wpcf7 select:hover {
  border-color: var(--wp--preset--color--custom-dark-blue);
}

.wpcf7 select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wpcf7 input[type="checkbox"] {
  /* Reset default checkbox styling */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  
  /* Base styles */
  width: 1.25em;
  height: 1.25em;
  margin: 0;
  border: 2px solid var(--wp--preset--color--custom-dark-blue);
  border-radius: 4px;
  background-color: var(--wp--preset--color--white);
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}

/* Checked state */
.wpcf7 input[type="checkbox"]:checked {
  background-color: var(--wp--preset--color--custom-dark-blue);
}

/* Create checkmark using pseudo-element */
.wpcf7 input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.25em;
  height: 0.5em;
  border: solid var(--wp--preset--color--white);
  border-width: 0 2px 2px 0;
}

/* Focus state */
.wpcf7 input[type="checkbox"]:focus {
  outline: 2px solid var(--wp--preset--color--custom-dark-blue);
  outline-offset: 2px;
}

/* Hover state */
.wpcf7 input[type="checkbox"]:hover {
  border-color: var(--wp--preset--color--custom-dark-blue);
  background-color: var(--wp--preset--color--background);
}

/* Disabled state */
.wpcf7 input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Checkbox label styling */
.wpcf7 .wpcf7-checkbox .wpcf7-list-item {
  margin: 0 1em 0 0;
  display: inline-flex;
  align-items: center;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item-label {
  margin-left: 0.5em;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
}