#volunteer_modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

#volunteer_modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(13, 43, 78, .28);
}

#volunteer_modal .modal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 118px;
  padding: 24px 30px;
  border: 0;
  background: linear-gradient(135deg, #153f70 0%, #286aaa 72%, #347fc8 100%);
}

#volunteer_modal .modal-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 112px;
  height: 4px;
  background: #c73546;
  content: "";
}

#volunteer_modal .volunteer-modal__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 42px;
}

#volunteer_modal .volunteer-modal__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 20px rgba(7, 32, 61, .18);
}

#volunteer_modal .volunteer-modal__logo img {
  width: 52px;
  height: 52px;
  margin: 0;
  object-fit: contain;
}

#volunteer_modal .volunteer-modal__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #cfe5fb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#volunteer_modal .modal-title {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

#volunteer_modal .btn-close {
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  filter: brightness(0) invert(1);
  opacity: .82;
}

#volunteer_modal .btn-close:hover,
#volunteer_modal .btn-close:focus {
  opacity: 1;
}

#volunteer_modal .modal-body {
  padding: 26px 30px 30px;
  background: #fff;
}

#volunteer_modal .volunteer-modal__intro {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 4px solid #3478bd;
  border-radius: 0 9px 9px 0;
  background: #f5f9fd;
  color: #536a80;
  font-size: 13px;
  line-height: 1.55;
}

#volunteer_modal #send_us_email_form {
  margin: 0;
}

#volunteer_modal #send_us_email_form .form-group {
  margin-bottom: 15px;
}

#volunteer_modal #send_us_email_form .control-label,
#volunteer_modal #send_us_email_form .form-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px;
  color: #304a64;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

#volunteer_modal #send_us_email_form .control-label > span {
  color: #c73546;
}

#volunteer_modal .volunteer-contact-form__optional {
  margin-left: 4px;
  color: #7b8da0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#volunteer_modal #send_us_email_form .input-wrap {
  position: relative;
}

#volunteer_modal #send_us_email_form .input-wrap .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  display: inline-flex;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

#volunteer_modal #send_us_email_form .input-wrap .icon img {
  width: 20px;
  height: 20px;
  opacity: .72;
}

#volunteer_modal #send_us_email_form .form-control {
  width: 100%;
  height: 48px;
  padding: 10px 13px;
  border: 1px solid #cbd9e7;
  border-radius: 10px;
  background: #fff;
  color: #273f57;
  font-size: 14px;
  box-shadow: none;
}

#volunteer_modal #send_us_email_form .input-wrap .form-control {
  padding-left: 46px;
}

#volunteer_modal #send_us_email_form .form-control:focus {
  border-color: #3478bd;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(52, 120, 189, .13);
}

#volunteer_modal #send_us_email_form textarea.form-control {
  min-height: 108px;
  height: 108px;
  resize: vertical;
}

#volunteer_modal #send_us_email_form .volunteer-contact-form__file {
  height: 48px;
  padding: 6px;
  color: #617488;
}

#volunteer_modal #send_us_email_form .volunteer-contact-form__file::file-selector-button {
  height: 34px;
  margin: 0 10px 0 0;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  background: #e8f2fc;
  color: #2768aa;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#volunteer_modal #send_us_email_form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  padding: 10px 18px;
  border: 1px solid #286aaa;
  border-radius: 10px;
  background: #2f73be;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 115, 190, .18);
}

#volunteer_modal #send_us_email_form button[type="submit"]:hover,
#volunteer_modal #send_us_email_form button[type="submit"]:focus {
  border-color: #1f5d9f;
  background: #1f5d9f;
  color: #fff;
}

#volunteer_modal .volunteer-contact-form__message:not(:empty) {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #b7ddcc;
  border-radius: 9px;
  background: #effaf5;
  color: #207353;
  font-size: 13px;
  font-weight: 700;
}

#volunteer_modal #send_us_email_form label.error {
  display: block;
  margin: 5px 0 0;
  color: #b62f40;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 575px) {
  #volunteer_modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  #volunteer_modal .modal-header {
    min-height: 96px;
    padding: 18px;
  }

  #volunteer_modal .volunteer-modal__heading {
    gap: 11px;
    padding-right: 35px;
  }

  #volunteer_modal .volunteer-modal__logo {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  #volunteer_modal .volunteer-modal__logo img {
    width: 42px;
    height: 42px;
  }

  #volunteer_modal .modal-title {
    font-size: 21px;
  }

  #volunteer_modal .btn-close {
    top: 18px;
    right: 16px;
  }

  #volunteer_modal .modal-body {
    padding: 19px 18px 22px;
  }

  #volunteer_modal .volunteer-modal__intro {
    margin-bottom: 17px;
    font-size: 12px;
  }
}
