.single-career-form-section {
  padding-top: clamp(32px, 16.9796px + 3.2653vw, 64px);
  padding-bottom: clamp(32px, 16.9796px + 3.2653vw, 64px);
}

.single-career-form-section .container {
  display: flex;
  gap: 16px;
}

.single-career-form-section .section-title,
.single-career-form-section .wpcf7 {
  flex: 1 1 50%;
}

.single-career-form-section .section-title {
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  font-feature-settings: 'liga' off;
  line-height: 1.5; /* 150% */
  color: var(--e-global-color-text);
  text-transform: uppercase;
  letter-spacing: 0.64px;
}

.single-career-form-section .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-career-form-section .wpcf7-form .col-1,
.single-career-form-section .wpcf7-form .col-2,
.single-career-form-section .wpcf7-form .col-5 {
  display: flex;
  flex: 1 1 auto;
  gap: 16px;
}

.single-career-form-section .wpcf7-form .col-3,
.single-career-form-section .wpcf7-form .col-4 {
  flex: 1 1 auto;
}

.single-career-form-section .wpcf7-form .col-1 .input-group,
.single-career-form-section .wpcf7-form .col-2 .input-group,
.single-career-form-section .wpcf7-form .col-5 .input-group {
  flex: 1 1 auto;
}

.single-career-form-section .wpcf7-form .col-5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.single-career-form-section .wpcf7-form .col-5 .file-label {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--e-global-color-brand);
  text-align: center;
  cursor: pointer;
  transition-duration: 0.5s;
}

.single-career-form-section .wpcf7-form .col-5 label path {
  stroke: currentcolor;
  transition-duration: 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  .single-career-form-section .wpcf7-form .col-5 label:hover {
    color: var(--e-global-color-text);
  }

}


.single-career-form-section .wpcf7-form textarea {
  min-height: 120px;
  padding: 16px;
  resize: none;
  border-radius: 6px;
}

.single-career-form-section .wpcf7-form-control {
  width: 100%;
  padding: 16px;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--e-global-color-text);
  background-color: #0C0F1C;
  border: 1px solid transparent;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.single-career-form-section .wpcf7-form-control::placeholder {
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: rgb(240 243 250 / 40%);
}

.single-career-form-section .wpcf7-form-control:focus {
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--e-global-color-text);
  background-color: #0C0F1C;
  border: 1px solid var(--e-global-color-brand);
}

input:focus,
textarea:focus,
select:focus {
  border: 1px solid var(--e-global-color-brand) !important;
  outline: none !important;
  box-shadow: none !important;
}

.single-career-form-section .submit-label {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: center;
  justify-content: center;
  order: 2;
  width: fit-content;
  padding: 24px 40px;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 150% */
  color: var(--e-global-color-text);
  cursor: pointer;
  border: 2px solid var(--e-global-color-brand);
  border-radius: 80px;
  transition-duration: 0.5s;
}

input:-internal-autofill-selected {
  background-color: #0C0F1C !important;
}

.single-career-form-section .submit-label path {
  stroke: var(--e-global-color-text);
}

.single-career-form-section .wpcf7-submit,
.single-career-form-section .wpcf7-submit:focus,
.single-career-form-section .wpcf7-submit:active {
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  outline: none;
}

.single-career-form-section .wpcf7-spinner {
  position: absolute;
  top: 100%;
  right: 50%;
  margin: 10px 0 0;
  transform: translateX(50%);
}

@media (hover: hover) and (pointer: fine) {
  .single-career-form-section .submit-label:hover {
    color: var(--e-global-color-brand);
    border: 2px solid var(--e-global-color-text);
  }
}

.hidden-file-input {
  position: absolute;
  z-index: -1;
  width: 0.1px;
  height: 0.1px;
  overflow: hidden;
  opacity: 0;
}

/* Стилизуем label как кнопку загрузки */
.custom-file-upload {
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .custom-file-upload:hover {
    color: #333;
  }
}

/* Стилизуем кнопку отправки */
.custom-submit-button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.custom-submit-button svg {
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .custom-submit-button:hover svg {
    transform: translateX(3px);
  }
}

/* Стилизуем кнопку отправки */
.wpcf7-submit,
.custom-submit-button {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Стили для иконки в кнопке */
.submit-icon {
  margin-left: 8px;
}

/* Для Chrome и других браузеров на основе Chromium */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border-color: transparent !important;
  outline: none !important;
  box-shadow: 0 0 0 1000px #0C0F1C inset !important;
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: var(--e-global-color-text) !important;
}

input:not([type="submit"], [type="button"], :placeholder-shown),
textarea:not(:placeholder-shown),
select:not(:placeholder-shown) {
  border: 1px solid var(--e-global-color-text) !important;
}

/* Для Firefox */
input:autofill,
textarea:autofill,
select:autofill {
  color: var(--e-global-color-text) !important;
  background-color: #0C0F1C !important;
  border-color: transparent !important;
  outline: none !important;
}

@media screen and (max-width: 998px) {
  .single-career-form-section .container {
    flex-direction: column;
  }

  .single-career-form-section .section-title,
  .single-career-form-section .wpcf7 {
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 600px) {
  .single-career-form-section .wpcf7-form .col-1,
  .single-career-form-section .wpcf7-form .col-2,
  .single-career-form-section .wpcf7-form .col-5 {
    flex-direction: column;
  }

  .single-career-form-section .custom-submit-button {
    order: initial;
  }
}