.apply-main {
  padding-top: 88px;
}

.apply-section {
  padding: 42px 0 70px;
  background: var(--light-gray);
  min-height: calc(100vh - 120px);
}

.apply-section .section-title {
  padding-bottom: 24px;
}

.apply-section .section-title p {
  color: #6b7280;
  font-size: 15px;
}

.apply-card {
  padding: 28px 30px 30px;
  border: 1px solid #e3e6e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(24, 39, 75, 0.08);
}

.apply-loading {
  padding: 30px 0;
  color: #6b7280;
  text-align: center;
}

.apply-intro {
  margin-bottom: 18px;
  color: #495057;
  font-size: 14.5px;
  line-height: 1.6;
}

.apply-intro:empty {
  display: none;
}

.apply-facts {
  margin: -8px 0 18px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.apply-facts:empty {
  display: none;
}

.apply-field {
  margin-bottom: 16px;
}

.apply-field > label {
  display: block;
  margin-bottom: 5px;
  color: #343a40;
  font-size: 13.5px;
  font-weight: 600;
}

.apply-field .req {
  color: var(--primary-color);
}

.apply-field input[type='text'],
.apply-field input[type='email'],
.apply-field input[type='tel'],
.apply-field input[type='date'],
.apply-field input[type='url'],
.apply-field input[type='number'],
.apply-field select,
.apply-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  background: #fff;
  color: #212529;
  font-family: "Open Sans", sans-serif;
  font-size: 14.5px;
  line-height: 1.4;
}

.apply-field textarea {
  min-height: 104px;
  resize: vertical;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  outline: 0;
  border-color: #86b7fe;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.apply-field input[type='file'] {
  width: 100%;
  padding: 10px;
  border: 1px dashed #b7c0c9;
  border-radius: 5px;
  background: #fbfcfe;
  font-size: 13px;
}

.apply-field .apply-help {
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

.apply-field.has-error input,
.apply-field.has-error select,
.apply-field.has-error textarea {
  border-color: #c94b4b;
}

.apply-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  color: #495057;
  font-size: 13px;
  line-height: 1.5;
}

.apply-consent input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex: none;
}

.apply-consent.has-error {
  color: #b3261e;
}

.apply-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apply-error {
  min-height: 20px;
  margin-bottom: 10px;
  color: #b3261e;
  font-size: 13px;
}

.apply-submit {
  display: inline-block;
  margin: 0;
  padding: 10px 32px;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  background: var(--primary-color);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.apply-submit:hover {
  background: #fff;
  color: var(--primary-color);
}

.apply-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.apply-note {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

.apply-note .req {
  color: var(--primary-color);
}

.apply-success {
  padding: 18px 0 10px;
  text-align: center;
}

.apply-success__icon {
  margin-bottom: 8px;
  color: #2f8f46;
  font-size: 54px;
  line-height: 1;
}

.apply-success h3 {
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 26px;
  font-weight: 700;
}

.apply-success p {
  color: #495057;
  font-size: 15px;
}

.apply-success__id {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.apply-closed {
  padding: 22px 0;
  color: #6b7280;
  text-align: center;
  font-size: 15px;
}

@media (max-width: 767px) {
  .apply-main {
    padding-top: 76px;
  }

  .apply-section {
    padding: 24px 0 44px;
  }

  .apply-card {
    padding: 20px 16px 22px;
  }

  .apply-submit {
    display: block;
    width: 100%;
    font-size: 18px;
    text-align: center;
  }
}
