.contact-message-get-involved-form {
  display: flex;
  flex-direction: column;
  width: 60vw;
  gap: 10px;
  padding: 70px var(--padding-page);
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-message-get-involved-form label {
  font-size: 14px;
  line-height: 1.5;
}

.contact-form input {
  width: 100%;
  background-color: transparent;
  font-size: 24px;
  line-height: 24px;
  padding: 12px 20px;
  border-radius: var(--radius-form-field);
  color: var(--color-text-main);
  border: 1px solid var(--color-borders);
}

.contact-form textarea {
  width: 100%;
  background-color: transparent;
  border-radius: var(--radius-form-field);
  color: var(--color-text-main);
  font-size: 24px;
  line-height: 24px;
  padding: 12px 20px;
  border: 1px solid var(--color-borders);
}

.js-form-type-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  color: var(--color-text-main);
}

.contact-message-get-involved-form input[type="checkbox"] {
  appearance: none;
  display: inline-grid;
  place-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex: 0 0 22px;
  padding: 0;
  margin: 0;
  border: 2px solid var(--color-brand-blue);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
}

.contact-message-get-involved-form input[type="checkbox"]::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  transform: translateY(-1px) rotate(-45deg) scale(0);
}

.contact-message-get-involved-form input[type="checkbox"]:checked {
  background: var(--color-brand-blue);
}

.contact-message-get-involved-form input[type="checkbox"]:checked::before {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.contact-message-get-involved-form input[type="checkbox"]:focus-visible {
  background-color: #6ed1ed;
}

.contact-message-get-involved-form input[type="checkbox"]:checked:focus-visible {
  color: var(--color-brand-blue);
}

.contact-message-get-involved-form input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (forced-colors: active) {
  .contact-message-get-involved-form input[type="checkbox"] {
    appearance: auto;
  }

  .contact-message-get-involved-form input[type="checkbox"]::before {
    content: none;
  }
}

.contact-message-get-involved-form #edit-actions {
  align-self: flex-end;
}

.contact-message-get-involved-form #edit-submit {
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  width: fit-content;
  background: transparent;
  font-size: 18px;
  line-height: 18px;
  border: 1px solid var(--color-borders);
  color: var(--color-text-main);
  border-radius: 45px;
  padding: 20px 30px;
}

.contact-message-get-involved-form #edit-submit:is(:hover, :focus-visible) {
  background-color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .contact-message-get-involved-form #edit-submit {
    transition: none;
  }
}

@media screen and (width <= 1024px) {
  .contact-message-get-involved-form {
    width: 70vw;
  }
}

@media screen and (width <= 769px) {
  .contact-message-get-involved-form {
    width: 80vw;
  }
}

@media screen and (width <= 480px) {
  .contact-message-get-involved-form {
    width: 100%;
  }
}
