/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 07 2026 | 17:43:05 */
/* Контейнер формы */
.docs-request {
  --docs-navy: #203c59;
  --docs-pink: #ed8591;
  --docs-orange: #e49b16;

  box-sizing: border-box;
  width: 100%;
  padding: 32px;
  background: #f7f7f7;
  border-radius: 12px;
  color: #333;
}

.docs-request *,
.docs-request *::before,
.docs-request *::after {
  box-sizing: border-box;
}

/* Заголовок с цветной полосой */
.docs-request .docs-request__title {
  margin: 0 0 26px;
  padding-left: 14px;
  border-left: 5px solid #f16d70;
  color: var(--docs-navy);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

/* Три элемента в одну строку */
.docs-request__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

/* Нейтрализация абзацев, которые может добавить CF7 */
.docs-request__row > p,
.docs-request__action > p,
.docs-request__consent > p {
  margin: 0;
}

.docs-request__row > p {
  display: contents;
}

.docs-request__row br {
  display: none;
}

/* Поля */
.docs-request__field {
  display: block;
  min-width: 0;
  margin: 0;
}

.docs-request__label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
}

.docs-request .wpcf7-form-control-wrap {
  display: block;
}

.docs-request input[type="text"],
.docs-request input[type="tel"] {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid #c8c8c8;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #333;
  font: inherit;
  font-size: 16px;
}

.docs-request input::placeholder {
  color: #929292;
  opacity: 1;
}

.docs-request input[type="text"]:focus,
.docs-request input[type="tel"]:focus {
  border-bottom-color: var(--docs-navy);
  outline: 2px solid var(--docs-navy);
  outline-offset: 3px;
}

/* Кнопка */
.docs-request__action {
  position: relative;
  padding-bottom: 0;
}

.docs-request input.docs-request__submit {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 30px;
  border: 0;
  border-radius: 4px;
  background: var(--docs-pink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.docs-request input.docs-request__submit:hover {
  background: #d96978;
}

.docs-request input.docs-request__submit:focus-visible {
  outline: 2px solid var(--docs-navy);
  outline-offset: 3px;
}

.docs-request input.docs-request__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Индикатор отправки не сдвигает кнопку */
.docs-request__action .wpcf7-spinner {
  position: absolute;
  right: 0;
  bottom: -28px;
  margin: 0;
}

/* Согласие под полями */
.docs-request__consent {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
}

.docs-request__consent .wpcf7-list-item {
  margin: 0;
}

.docs-request__consent .wpcf7-list-item > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.docs-request__consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--docs-navy);
}

.docs-request__consent a {
  color: var(--docs-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-request__consent a:hover {
  color: #b87708;
}

/* Сообщения об ошибках */
.docs-request .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
}

/* Мобильная версия */
@media (max-width: 767px) {
  .docs-request {
    padding: 24px 20px;
  }

  .docs-request__row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .docs-request__consent {
    margin-top: 28px;
  }
}