.apply {
  max-width: 1440px;
  margin: 0 auto;
}
.apply__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.apply__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #707070;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.apply__back svg {
  transition: transform 0.2s ease;
}
.apply__back:hover {
  color: #137461;
  gap: 10px;
}
.apply__back:hover svg {
  transform: translateX(-2px);
}
.apply__context {
  border-radius: 20px;
  padding: 20px 24px;
}
.apply__context--spontaneous {
  background-color: #F7F0E5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apply__context--offer {
  background-color: #137461;
}
.apply__context-badge {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #707070;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.apply__context-text {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #707070;
  line-height: 1.5;
  margin: 0;
}
.apply__context-eyebrow {
  display: block;
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 247, 244, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.apply__context-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.apply__context-offer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apply__context-offer-title {
  font-family: "the-seasons", "Georgia", "Times New Roman", serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #F8F7F4;
  -webkit-text-stroke: 1px #F8F7F4;
  -webkit-text-fill-color: #F8F7F4;
  line-height: 1.2;
  margin: 0;
}
.apply__context-offer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 247, 244, 0.75);
}
.apply__context-offer-sep {
  opacity: 0.4;
}
.apply__context-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 247, 244, 0.8);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, gap 0.2s ease;
}
.apply__context-offer-link:hover {
  color: #F8F7F4;
  gap: 8px;
}
.apply__errors {
  background-color: rgba(220, 53, 69, 0.06);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apply__error {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #dc3545;
  margin: 0;
}
.apply__form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.apply__section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.apply__section-title {
  font-family: "the-seasons", "Georgia", "Times New Roman", serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #137461;
  -webkit-text-stroke: 1px #137461;
  -webkit-text-fill-color: #137461;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.apply__section-hint {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #707070;
  line-height: 1.55;
  margin: 0;
}
.apply__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.apply__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apply__label {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2A2C29;
  display: flex;
  align-items: center;
  gap: 6px;
}
.apply__required {
  color: #DD9127;
}
.apply__optional {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #707070;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.apply__input, .apply__textarea {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #2A2C29;
  background-color: #F8F7F4;
  border: 1.5px solid rgba(42, 44, 41, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.apply__input::placeholder, .apply__textarea::placeholder {
  color: rgba(42, 44, 41, 0.35);
}
.apply__input:focus, .apply__textarea:focus {
  border-color: #137461;
  box-shadow: 0 0 0 3px rgba(19, 116, 97, 0.1);
}
.apply__input.apply__input--error, .apply__textarea.apply__input--error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}
.apply__textarea {
  resize: vertical;
  min-height: 140px;
}
.apply__field-error {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #dc3545;
  display: none;
}
.apply__field-error.is-visible {
  display: block;
}
.apply__dropzone {
  position: relative;
  border: 2px dashed rgba(42, 44, 41, 0.2);
  border-radius: 16px;
  background-color: rgba(248, 247, 244, 0.5);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}
.apply__dropzone:hover, .apply__dropzone.is-dragover {
  border-color: #137461;
  background-color: rgba(19, 116, 97, 0.04);
}
.apply__dropzone.is-filled {
  border-color: #137461;
  border-style: solid;
  background-color: rgba(19, 116, 97, 0.04);
}
.apply__dropzone.is-error {
  border-color: #dc3545;
}
.apply__dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.apply__dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
  pointer-events: none;
}
.apply__dropzone-icon {
  color: #707070;
}
.apply__dropzone-label {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #2A2C29;
  margin: 0;
}
.apply__dropzone-cta {
  color: #137461;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.apply__dropzone-hint {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #707070;
  margin: 0;
}
.apply__dropzone-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  pointer-events: none;
}
.apply__dropzone-file-icon {
  color: #137461;
  flex-shrink: 0;
}
.apply__dropzone-filename {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #2A2C29;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.apply__dropzone-remove {
  pointer-events: all;
  background: none;
  border: none;
  cursor: pointer;
  color: #707070;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  z-index: 3;
  position: relative;
  flex-shrink: 0;
}
.apply__dropzone-remove:hover {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.08);
}
.apply__gdpr {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apply__gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.apply__gdpr-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #137461;
  cursor: pointer;
}
.apply__gdpr-text {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #707070;
  line-height: 1.55;
}
.apply__gdpr-text a {
  color: #137461;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.apply__submit {
  align-self: flex-start;
}
.apply__submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.apply__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 60px 0;
}
.apply__success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(19, 116, 97, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #137461;
}
.apply__success-title {
  font-family: "the-seasons", "Georgia", "Times New Roman", serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #137461;
  -webkit-text-stroke: 1px #137461;
  -webkit-text-fill-color: #137461;
  margin: 0;
}
.apply__success-text {
  font-family: "peridot-pe-variable", "Arial", "Helvetica", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #707070;
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

@media (min-width: 1300px) and (max-width: 1620px) {
  .apply__container {
    padding: 48px 7% 80px;
  }
}
@media (min-width: 780px) and (max-width: calc(1300px - 1px)) {
  .apply__container {
    padding: 32px 45px 80px;
    max-width: 100%;
  }
  .apply__context {
    position: static;
  }
  .apply__context-offer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: calc(780px - 1px)) {
  .apply__container {
    padding: 24px 24px 64px;
    max-width: 100%;
    gap: 28px;
  }
  .apply__context {
    position: static;
    padding: 16px 20px;
  }
  .apply__context-offer-title {
    font-size: 1.375rem;
  }
  .apply__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .apply__section-title {
    font-size: 1.375rem;
  }
  .apply__submit {
    width: 100%;
  }
  .apply__success-title {
    font-size: 2.5rem;
  }
}
