.apply {
  padding: 60px 90px 90px;
}
.apply__container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 760px;
  margin: 0 auto;
}
.apply__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #2A2C29;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.25s ease-in-out;
}
.apply__back svg {
  transition: transform 0.2s ease;
}
.apply__back:hover {
  opacity: 1;
  color: #137461;
}
.apply__back:hover svg {
  transform: translateX(-2px);
}
.apply__context {
  padding: 24px 30px;
  border: 1px solid rgba(204, 204, 204, 0.3);
  border-radius: 28px;
  background-color: #DFE8E6;
}
.apply__context--spontaneous {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.apply__context-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 45px;
  background-color: #137461;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  color: #FFFFFF;
  font-variation-settings: "opsz" 14;
}
.apply__context-text {
  margin: 0;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #2A2C29;
  font-variation-settings: "opsz" 14;
}
.apply__context-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #137461;
  font-variation-settings: "opsz" 9;
}
.apply__context-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.apply__context-offer-title {
  margin: 0;
  font-family: "perfectly-nineties", "the-seasons", "Georgia", "Times New Roman", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 30px;
  color: #2A2C29;
}
.apply__context-offer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(42, 44, 41, 0.7);
  font-variation-settings: "opsz" 14;
}
.apply__context-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #137461;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease-in-out;
}
.apply__context-offer-link:hover {
  text-decoration: underline;
}
.apply__errors {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  border: 1px solid rgba(181, 92, 54, 0.35);
  border-radius: 20px;
  background-color: #F5EFE6;
}
.apply__error {
  margin: 0;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #B55C36;
  font-variation-settings: "opsz" 14;
}
.apply__form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 40px;
  border: 1px solid rgba(204, 204, 204, 0.3);
  border-radius: 35px;
  background-color: rgba(204, 204, 204, 0.1);
}
.apply__section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.apply__section-title {
  margin: 0;
  font-family: "perfectly-nineties", "the-seasons", "Georgia", "Times New Roman", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: normal;
  color: #2A2C29;
}
.apply__section-hint {
  margin: 0;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  color: rgba(42, 44, 41, 0.7);
  font-variation-settings: "opsz" 14;
}
.apply__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.apply__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apply__label {
  padding: 0 10px;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #2A2C29;
  font-variation-settings: "opsz" 14;
}
.apply__required {
  color: #B55C36;
}
.apply__input, .apply__textarea {
  width: 100%;
  padding: 15px 30px;
  border: 1px solid #F8E7E7;
  border-radius: 35px;
  background-color: #F8F7F4;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: normal;
  color: #2A2C29;
  font-variation-settings: "opsz" 14;
  transition: all 0.25s ease-in-out;
}
.apply__input::placeholder, .apply__textarea::placeholder {
  color: rgba(42, 44, 41, 0.35);
}
.apply__input:focus, .apply__textarea:focus {
  outline: none;
  border-color: #137461;
}
.apply__input--error, .apply__textarea--error {
  border-color: #B55C36;
}
.apply__textarea {
  min-height: 160px;
  border-radius: 25px;
  resize: vertical;
}
.apply__field-error {
  display: none;
  padding: 0 10px;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #B55C36;
  font-variation-settings: "opsz" 14;
}
.apply__field-error.is-visible {
  display: block;
}
.apply__dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 25px;
  border: 1.5px dashed rgba(19, 116, 97, 0.35);
  border-radius: 25px;
  background-color: #F8F7F4;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.apply__dropzone:hover, .apply__dropzone.is-dragover {
  border-color: #137461;
  background-color: #DFE8E6;
}
.apply__dropzone.is-filled {
  border-style: solid;
  border-color: #137461;
  background-color: #DFE8E6;
}
.apply__dropzone.is-error {
  border-color: #B55C36;
}
.apply__dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.apply__dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.apply__dropzone-icon {
  color: #137461;
}
.apply__dropzone-label {
  margin: 0;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #2A2C29;
  font-variation-settings: "opsz" 14;
}
.apply__dropzone-cta {
  color: #137461;
  text-decoration: underline;
}
.apply__dropzone-hint {
  margin: 0;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(42, 44, 41, 0.55);
  font-variation-settings: "opsz" 14;
}
.apply__dropzone-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 12px 20px;
  border-radius: 35px;
  background-color: #FFFFFF;
}
.apply__dropzone-file-icon {
  flex: 0 0 auto;
  color: #137461;
}
.apply__dropzone-filename {
  overflow: hidden;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #2A2C29;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variation-settings: "opsz" 14;
}
.apply__dropzone-remove {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(42, 44, 41, 0.08);
  color: #2A2C29;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.apply__dropzone-remove:hover {
  background-color: #B55C36;
  color: #FFFFFF;
}
.apply__gdpr {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apply__gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.apply__gdpr-checkbox {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #137461;
  cursor: pointer;
}
.apply__gdpr-text {
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgba(42, 44, 41, 0.8);
  font-variation-settings: "opsz" 14;
}
.apply__gdpr-text a {
  color: #137461;
  text-decoration: underline;
}
.apply__submit {
  align-self: flex-start;
  padding: 15px 39px;
  border-radius: 35px;
  font-size: 16px;
  line-height: normal;
}
.apply__submit.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.apply__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 60px 40px;
  border: 1px solid rgba(204, 204, 204, 0.3);
  border-radius: 35px;
  background-color: #DFE8E6;
  text-align: center;
}
.apply__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: #137461;
}
.apply__success-title {
  margin: 0;
  font-family: "perfectly-nineties", "the-seasons", "Georgia", "Times New Roman", serif;
  font-weight: 400;
  font-size: 34px;
  line-height: normal;
  color: #2A2C29;
}
.apply__success-text {
  max-width: 460px;
  margin: 0 0 10px;
  font-family: "DM Sans", "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgba(42, 44, 41, 0.75);
  font-variation-settings: "opsz" 14;
}

@media (min-width: 1300px) and (max-width: 1620px) {
  .apply {
    padding: 60px 7% 90px;
  }
}
@media (min-width: 780px) and (max-width: calc(1300px - 1px)) {
  .apply {
    padding: 45px 45px 60px;
  }
  .apply__form {
    padding: 30px;
  }
  .apply__context-offer-title {
    font-size: 24px;
  }
}
@media (max-width: calc(780px - 1px)) {
  .apply {
    padding: 30px 24px 45px;
  }
  .apply__container {
    gap: 20px;
  }
  .apply__context {
    padding: 20px;
    border-radius: 22px;
  }
  .apply__context-offer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .apply__context-offer-title {
    font-size: 22px;
    line-height: 26px;
  }
  .apply__form {
    gap: 20px;
    padding: 24px 20px;
    border-radius: 25px;
  }
  .apply__row {
    grid-template-columns: 1fr;
  }
  .apply__section-title {
    font-size: 21px;
  }
  .apply__input, .apply__textarea {
    padding: 14px 22px;
  }
  .apply__dropzone {
    min-height: 150px;
    padding: 20px;
  }
  .apply__submit {
    align-self: stretch;
    text-align: center;
  }
  .apply__success {
    padding: 40px 24px;
    border-radius: 25px;
  }
  .apply__success-title {
    font-size: 26px;
  }
}
