:root {
  --header-height: 6.7rem;
}
@media (width > 768px) {
  :root {
    --header-height: 11.2rem;
  }
}

:root {
  --red-main: #db0032;
  --white-main: #ffffff;
  --black-main: #333032;
  --green-main: #1a3b3a;
  --yellow-main: #FFEB3B;
  --gray-main: #f8f8f8;
  --wf-dark: #485460;
  --red-10: #fbe5ea;
  --red-error-bg: #FFF5F5;
  --red-20: #f8ccd6;
  --red-30: #f4b2c1;
  --red-40: #f199ad;
  --red-50: #ed8098;
  --red-60: #e96684;
  --red-70: #e64d70;
  --red-80: #e2335b;
  --red-90: #df1a47;
  --red-100: #c2002c;
  --black-10: #e5e5e5;
  --black-20: #cccccc;
  --black-30: #b2b2b2;
  --black-40: #999999;
  --black-50: #808080;
  --black-60: #666666;
  --black-70: #4d4d4d;
  --black-80: #333333;
  --black-90: #1a1a1a;
  --green-10: #e8ebeb;
  --green-20: #d1d8d8;
  --green-30: #bac4c4;
  --green-40: #a3b1b0;
  --green-50: #8c9d9c;
  --green-60: #768989;
  --green-70: #5f7675;
  --green-80: #486261;
  --green-90: #314f4e;
  --transparent-bgc: #ffffff33;
  --transparent-header: #1010100d;
  --transparent-line: #ffffff80;
  --grey-10: #ffffff80;
  --grey-20: #f8f8f84d;
  --grey-30: #5C595B;
  --grey-40: #5A5A5A;
  --grey-50: #D9D9D933;
  --grey-60: #333032;
  --grey-bg: #fbfbfb;
  --grey-line: #d9d9d9;
  --sdg-teal-dark: #284447;
  --sdg-teal: #4a7b7b;
  --sdg-blue-light: #afd3f7;
  --sdg-blue-lighter: #a8c7f0;
  --sdg-green: #90baa4;
  --sdg-green-light: #cce4d7;
  --sdg-peach: #fdede5;
  --sdg-gold: #ddab65;
}

.donation-form:first-child {
  gap: 2.1rem;
}
.donation-form {
  display: flex;
  flex-direction: column;
  padding: 0 3.8rem 1.3rem 3.8rem;
}
@media (width > 768px) {
  .donation-form {
    padding: 2rem 3.8rem 1.3rem 3.8rem;
  }
}
.donation-form__header {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: flex-start;
}
.donation-form__header .donation-form__header-inner {
  flex-shrink: 0;
}
.donation-form__close {
  display: flex;
  width: 100%;
  padding: 0;
  align-items: center;
  padding: 1.2rem 3.6rem 1.2rem 0rem;
  gap: 2.4rem;
  color: var(--red-main, #db0032);
  border-bottom: 1px solid var(--red-main, #db0032);
  font-family: Simpler;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 900;
  line-height: 130%;
}
.donation-form__close.hidden-desktop {
  justify-content: flex-start;
  color: var(--black-main, #333032);
  border-bottom: none;
}
.donation-form__close.hidden-desktop .donation-form__close-label {
  display: none;
}
@media (width <= 768px) {
  .donation-form__close.hidden-desktop {
    margin-left: -3.6rem;
    margin-right: -3.6rem;
    width: 100vw;
    padding: 2.2rem 3.6rem;
  }
}
.donation-form__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.1s ease;
}
.donation-form__title-icon:hover {
  opacity: 0.85;
}
.donation-form__title-icon:focus-visible {
  outline: 2px solid var(--red-main, #db0032);
  outline-offset: 2px;
}
.donation-form__title-icon img {
  display: block;
  width: 100%;
  height: auto;
}
.donation-form__close-label {
  display: inline-flex;
  align-items: center;
}
.donation-form__title {
  display: block;
  width: 100%;
  max-width: 27.2rem;
  text-align: right;
  padding-top: 1.6rem;
  color: var(--black-main, #333032);
  font-family: Simpler;
  font-size: 2rem;
  font-style: normal;
  font-weight: 900;
  line-height: 2.4rem;
  margin: 0;
}
.donation-form__sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.donation-form__section {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
}
.donation-form__section.is-active {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.donation-form__field {
  display: flex;
  flex-direction: column;
  padding: 0.2rem 0rem 0.6rem 0rem;
  gap: 0.6rem;
}
@media (width > 768px) {
  .donation-form__field {
    padding: 0rem;
  }
}
.donation-form__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--black-main, #333032);
  font-family: Simpler;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
.donation-form__input, .donation-form__textarea, .donation-form__select {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  background: transparent;
  padding: 0 0 0.6rem;
  color: var(--black-main, #333032);
  font-family: Simpler;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 130%;
  direction: rtl;
  text-align: right;
}
.donation-form__input::-moz-placeholder, .donation-form__textarea::-moz-placeholder, .donation-form__select::-moz-placeholder {
  color: rgba(0, 0, 0, 0.35);
  direction: rtl;
  text-align: right;
}
.donation-form__input::placeholder, .donation-form__textarea::placeholder, .donation-form__select::placeholder {
  color: rgba(0, 0, 0, 0.35);
  direction: rtl;
  text-align: right;
}
.donation-form__input:focus, .donation-form__textarea:focus, .donation-form__select:focus {
  outline: none;
}
.donation-form__select {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333032' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 2rem;
}
.donation-form__textarea {
  resize: vertical;
}
.donation-form__field--file {
  position: relative;
}
.donation-form__file-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  padding: 0 0 1.2rem;
}
.donation-form__file-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--black-main, #333032);
  font-size: 1.2rem;
  font-family: Simpler;
  font-weight: 700;
}
.donation-form__file-display {
  color: rgba(0, 0, 0, 0.35);
  font-family: Simpler;
  font-size: 1.4rem;
}
.donation-form__file-display.has-file {
  color: var(--black-main, #333032);
}
.donation-form__file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.donation-form__field--checkbox {
  padding-top: 0.8rem;
}
.donation-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  cursor: pointer;
  color: var(--black-main, #333032);
  font-family: Simpler;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 130%;
  text-align: right;
  outline: none;
}
.donation-form__checkbox {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-top: 0.2rem;
}
.donation-form__privacy-text {
  flex: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.donation-form__privacy-link {
  text-decoration: underline;
  cursor: pointer;
}
.donation-form__privacy-link:hover {
  opacity: 0.9;
}
.donation-form__actions {
  margin-top: 1.6rem;
}
.donation-form__actions .donation-form__submit.btn.primary {
  padding-right: 2rem !important;
  padding-left: 2rem !important;
  gap: 0.8rem !important;
}
@media (width <= 768px) {
  .donation-form__actions .donation-form__submit.btn.primary {
    width: 80%;
    justify-content: center;
    margin: 1.5rem 4.1rem 1.8rem 3.3rem;
    padding: 0.8rem 2.4rem;
  }
}
@media (width > 768px) {
  .donation-form__actions .donation-form__submit.btn.primary {
    margin: 0 0 2.4rem;
    height: 5.2rem;
  }
}
@media (width > 768px) {
  .donation-form__actions {
    display: flex;
    justify-content: flex-end;
  }
}
@media (width <= 768px) {
  .donation-form__actions {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 -0.4rem 2.4rem rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--red-main, #DB0032);
    z-index: 10001;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}
.donation-form__submit {
  margin: 0;
}

.custom-select {
  position: relative;
  width: 100%;
}
.custom-select__native {
  display: none;
}
.custom-select__trigger {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333032' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  padding: 0 0 0.6rem 2rem;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: Simpler;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 130%;
  direction: rtl;
  text-align: right;
  color: rgba(0, 0, 0, 0.35);
}
.custom-select__trigger:focus {
  outline: none;
}
.custom-select.is-open .custom-select__trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333032' d='M6 3L1 8h10z'/%3E%3C/svg%3E");
}
.custom-select__trigger[data-selected] {
  color: var(--black-main, #333032);
}
.custom-select__display {
  flex: 1;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.12);
  max-height: 22rem;
  overflow-y: auto;
}
.custom-select__option {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-family: Simpler;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black-main, #333032);
  text-align: right;
  direction: rtl;
  list-style: none;
}
.custom-select__option--placeholder {
  color: rgba(0, 0, 0, 0.35);
}
.custom-select__option:hover, .custom-select__option:focus {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}
.custom-select__option[aria-selected=true]:not(.custom-select__option--placeholder) {
  color: var(--red-main, #db0032);
}

.donation-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 9.4rem 2.4rem;
  text-align: center;
  direction: rtl;
}
@media (width > 768px) {
  .donation-form__success {
    min-height: unset;
    padding: 7.8rem 4rem;
  }
}

.donation-form__success-icon {
  margin-bottom: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.donation-form__success-icon svg {
  width: 5.6rem;
  height: auto;
  max-height: 6.8rem;
}

.donation-form__success-title {
  color: var(--red-main, #DB0032);
  font-family: Simpler, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 1.6rem;
  line-height: 1.3;
}
@media (width > 768px) {
  .donation-form__success-title {
    font-size: 2.8rem;
  }
}

.donation-form__success-text {
  color: var(--black-main, #333);
  font-family: Simpler, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.donation-form__error-message {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  background-color: #F9E4E4;
  padding: 0.85rem 0.85rem;
  margin-bottom: 1.6rem;
  border-radius: 0.4rem;
  direction: rtl;
}
.donation-form__error-message .error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.donation-form__error-message .error-icon img {
  width: 2rem;
  height: 2rem;
}
.donation-form__error-message .error-text {
  color: var(--red-main);
  font-family: Simpler, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 130%;
  text-align: right;
}

.donation-form__field.field-error input,
.donation-form__field.field-error input.donation-form__input,
.donation-form__field.field-error textarea,
.donation-form__field.field-error textarea.donation-form__textarea,
.donation-form__field.field-error select,
.donation-form__field.field-error .custom-select__trigger {
  background-color: #F9E4E4;
  border-bottom-color: var(--red-main);
}
.donation-form__field.field-error .donation-form__file-control,
.donation-form__field.field-error .donation-form__file-display {
  background-color: #F9E4E4;
  border-bottom-color: var(--red-main);
}

.donation-form__checkbox-label.checkbox-error input[type=checkbox] {
  border-color: var(--red-main);
  border-width: 0.2rem;
  background-color: #F9E4E4;
}
.donation-form__checkbox-label.checkbox-error .donation-form__privacy-text,
.donation-form__checkbox-label.checkbox-error span {
  color: var(--red-main);
}
