/* Promodex: формы заявок (/request/, /contact/) — дополнения к style.css */

.pdx-hint {
  margin: -14px 0 18px;
  font-size: 14px;
  line-height: 1.4;
  color: #969A9F;
}

/* Кнопки услуг: порядок как в разметке (старые правила style.css переставляли их на мобильных) */
.radio-services-wrapper .radio-btn {
  order: 0 !important;
}

/* Описание проекта — многострочное поле */
.pdx-textarea {
  display: block;
  min-height: 3.9em;
  resize: none;
  overflow-y: hidden;
  font-family: inherit;
  outline: none;
}
.pdx-textarea-wrapper .pdx-textarea:focus ~ .fake-placeholder,
.pdx-textarea-wrapper .pdx-textarea:not(:placeholder-shown) ~ .fake-placeholder {
  transform: translateY(-2rem) scale(.8);
}

/* Телефон с выбором страны */
.pdx-lead-form .radio-wrapper__block:not(:first-child) {
  margin-top: 56px;
}
.pdx-phone {
  margin-top: 26px;
}
.pdx-label {
  position: absolute;
  top: -1.9rem;
  left: 0;
  font-size: 14.4px;
  line-height: 130%;
  color: #969A9F;
  pointer-events: none;
}
.pdx-phone .iti {
  display: block;
  width: 100%;
}
.pdx-phone .iti input.input {
  width: 100%;
}
.pdx-phone .iti__selected-flag {
  padding-bottom: 20px;
  background: transparent !important;
}
.pdx-phone .iti__selected-dial-code {
  color: #fff;
  font-size: 18px;
}
.pdx-phone .iti__arrow {
  border-top-color: #969A9F;
}
.pdx-phone .iti__arrow--up {
  border-bottom-color: #969A9F;
}
.iti__country-list,
.iti--container .iti__country-list {
  background: #1d1d1f;
  color: #fff;
  border: 1px solid #353535;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
  font-size: 15px;
}
.iti__country.iti__highlight {
  background: #2c2c2e;
}
.iti__country .iti__dial-code,
.iti__divider {
  color: #969A9F;
  border-color: #353535;
}
.iti__search-input {
  background: #1d1d1f;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #353535;
  padding: 10px 12px;
  font-size: 15px;
  outline: none;
}
.iti--fullscreen-popup.iti--container {
  background: rgba(0, 0, 0, .7);
}

/* Ник в Telegram */
.nickname-wrapper .input {
  text-transform: none;
}

/* Файл */
.pdx-lead-form .file {
  margin-bottom: 8px;
}
.pdx-file-hint {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #6D6D6D;
}
.pdx-lead-form #error-file {
  margin-bottom: 40px;
}

/* Ловушка для ботов */
.pdx-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pdx-lead-form {
  position: relative;
}
.pdx-lead-form .form-error:not(:empty) {
  display: block;
  margin-top: 6px;
  color: #FF5A5A;
  font-size: 14px;
  line-height: 1.35;
}
.pdx-submit[disabled] {
  opacity: .6;
  cursor: wait;
}

@media screen and (max-width: 500px) {
  .pdx-hint {
    margin-top: -8px;
  }
  .pdx-phone .iti__selected-dial-code {
    font-size: 16px;
  }
}
