.gpc-form--contact-form .gpc-contact-form .gform_fields {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gpc-form--contact-form .gpc-contact-form .gfield--width-half {
  flex: 1 1 calc(50% - 16px);
  width: auto;
}

.gpc-form--contact-form .gpc-contact-form .gfield--width-full {
  flex: 0 0 100%;
  width: 100%;
}

@media (max-width: 767px) {
  .gpc-form--contact-form .gpc-contact-form .gfield--width-half {
    flex: 0 0 100%;
  }
}

.gpc-form--contact-form .gpc-forms input[type="text"],
.gpc-form--contact-form .gpc-forms input[type="email"],
.gpc-form--contact-form .gpc-forms input[type="tel"],
.gpc-form--contact-form .gpc-forms select,
.gpc-form--contact-form .gpc-forms textarea {
  background-color: transparent;
  border: 1.5px solid var(--neutral4);
  color: var(--white);
}

.gpc-form--contact-form .gpc-forms input[type="text"]:focus,
.gpc-form--contact-form .gpc-forms input[type="email"]:focus,
.gpc-form--contact-form .gpc-forms input[type="tel"]:focus,
.gpc-form--contact-form .gpc-forms select:focus,
.gpc-form--contact-form .gpc-forms textarea:focus {
  border: 1.5px solid var(--white);
}

.gpc-form--contact-form .gfield select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238394b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;

  padding-right: 44px;
  color: var(--neutral4);
  border-radius: 0;
  cursor: pointer;
}

.gpc-form--contact-form .gfield select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: var(--white);
}

.gpc-form--contact-form .gpc-contact-form .gfield select option {
  background-color: var(--neutral5);
  color: var(--white);
}

.gpc-form--contact-form input::placeholder,
.gpc-form--contact-form textarea::placeholder {
  color: var(--neutral4);
}

.gpc-form--contact-form .ginput_container_consent input[type="checkbox"] {
  border: 1px solid var(--neutral4);
}

.gpc-form--contact-form
  .ginput_container_consent
  input[type="checkbox"]:checked {
  background: var(--white);
  border-color: var(--white);
}

.gpc-form--contact-form
  .ginput_container_consent
  input[type="checkbox"]:checked::after {
  border: solid var(--primary-main);
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.gpc-form--contact-form .gpc-contact-form .gform_footer {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.gpc-form--contact-form .gpc-contact-form .gform_button {
  min-width: 200px;
}

.gpc-form--contact-form .gpc-contact-form .gform_button {
  background: var(--neutral1);
  color: var(--neutral5);
}

.gpc-form--contact-form .gpc-contact-form .gform_button:hover {
  background: var(--white);
}

.gpc-form--contact-form .gfield_label {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--neutral4);
}

.gpc-form--contact-form .gfield_consent_label {
  color: var(--neutral4);
}

.gpc-form--contact-form .gfield_consent_label a {
  color: var(--text-lighter);
}

.gpc-form--contact-form .gfield_consent_label a:hover {
  color: var(--white);
}

@media (max-width: 767px) {
  .gpc-form--contact-form .gpc-contact-form .gform_button {
    width: 100%;
  }
}

.gpc-form--contact-form .gform_submission_error,
.gpc-form--contact-form .gfield_validation_message {
  color: var(--danger);
}

.gpc-form--contact-form .gfield_validation_message {
  margin-top: 5px;
}

.gpc-form--contact-form input[aria-invalid="true"],
.gpc-form--contact-form textarea[aria-invalid="true"] {
  border: 2px solid var(--danger);
}

.gpc-form--contact-form
  .gfield:has(.gfield_consent_label + input[aria-invalid="true"]),
.gpc-form--contact-form
  .gfield:has(input[aria-invalid="true"])
  .gfield_consent_label {
  color: var(--danger);
}
