@charset "UTF-8";
/* Taiga Forms 2.0 Styles */
/* Модальное окно */
.taiga-form-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.taiga-form-modal.active {
  display: flex;
}

/* Затемнение фона */
.taiga-form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

/* Контейнер формы */
.taiga-form-container {
  position: relative;
  z-index: 10001;
  width: 100%;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

/* Обёртка формы */
.taiga-form-wrapper {
  position: relative;
  background: #FFFFFF;
  border-radius: 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Внутренний скроллируемый контейнер */
.taiga-form-content {
  padding: 0 60px 35px 60px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* Кнопка закрытия */
.taiga-form-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #000000;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  z-index: 10;
  flex-shrink: 0;
}

.taiga-form-close:hover {
  opacity: 0.6;
}

/* Форма */
.taiga-form {
  width: 100%;
}

/* Заголовок */
.taiga-form-title {
  margin-bottom: 22px;
  padding-top: 27px;
  font-family: "dinprocl";
  font-style: normal;
  font-weight: 400;
  font-size: 45px;
  line-height: 53px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #000000;
  width: 100%;
  justify-content: center;
}
.taiga-form-title.taiga-form-title2-line {
  flex-direction: column;
}
.taiga-form-title .taiga-form-title-sub {
  font-size: 35px;
  line-height: 35px;
  font-family: "dinprocl";
  color: #000000;
  text-decoration: underline;
}
.taiga-form-title .taiga-form-title-sub:hover {
  text-decoration: none;
}

/* Поля формы */
.taiga-form-fields {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.taiga-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.taiga-form-col {
  flex: 1 1 calc(50% - 24px);
  min-width: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.taiga-form-col-full {
  flex: 1 1 100%;
}

.taiga-form-field {
  width: 100%;
}

.taiga-form-label {
  display: block;
  font-family: "dinpror", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #000000;
  margin-bottom: 8px;
}

.taiga-form-required {
  color: #000000;
}

.taiga-form-input,
.taiga-form-textarea {
  width: 100%;
  padding: 10px 29px;
  font-family: "dinpror";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 25px;
  color: #000000;
  background: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 35px;
  box-sizing: border-box;
  transition: border-color 0.3s, color 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.taiga-form-input::placeholder,
.taiga-form-textarea::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}
.taiga-form-input,
.taiga-form-textarea {
  /* Chrome, Safari, Edge */
}
.taiga-form-input::-webkit-input-placeholder,
.taiga-form-textarea::-webkit-input-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}
.taiga-form-input,
.taiga-form-textarea {
  /* Firefox */
}
.taiga-form-input::-moz-placeholder,
.taiga-form-textarea::-moz-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}
.taiga-form-input,
.taiga-form-textarea {
  /* IE */
}
.taiga-form-input:-ms-input-placeholder,
.taiga-form-textarea:-ms-input-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.taiga-form-input:focus,
.taiga-form-textarea:focus {
  outline: none;
  border-color: #000000;
}

.taiga-form-input::placeholder,
.taiga-form-textarea::placeholder {
  color: #999999;
}

.taiga-form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Ошибка валидации */
.taiga-form-input.error,
.taiga-form-textarea.error {
  border-color: #E2480A;
  color: #E2480A;
}

.taiga-form-label.error {
  color: #E2480A;
}

/* Согласия */
.taiga-form-consents {
  margin-bottom: 35px;
}

.taiga-form-consent {
  display: flex;
  align-items: flex-start;
  margin-bottom: 13px;
  gap: 18px;
}
.taiga-form-consent .label-text {
  font-family: "dinpror";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #000000;
}

.taiga-form-consent:last-child {
  margin-bottom: 0;
}

.taiga-form-consent .taiga-form-toggle-text {
  flex: 1;
  min-width: 0;
}

/* Чекбокс (овальный) */
.taiga-form-checkbox {
  display: none;
}

.taiga-form-checkbox-label {
  position: relative;
  display: flex;
  align-items: flex-start;
  font-family: "dinpror", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #000000;
  cursor: pointer;
  padding-left: 32px;
  min-height: 20px;
}

.taiga-form-checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 1px solid #000000;
  border-radius: 50%;
  background: #FFFFFF;
  transition: all 0.3s;
  box-sizing: border-box;
}

.taiga-form-checkbox:checked + .taiga-form-checkbox-label::before {
  background: #000000;
  border-color: #000000;
}

.taiga-form-checkbox:checked + .taiga-form-checkbox-label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-radius: 50%;
}

.taiga-form-checkbox.error + .taiga-form-checkbox-label {
  color: #E2480A;
}

.taiga-form-checkbox.error + .taiga-form-checkbox-label::before {
  border-color: #E2480A;
}

/* Тоггл (переключатель) */
.taiga-form-toggle {
  position: relative;
  flex-shrink: 0;
  margin-right: 12px;
  margin-top: 2px;
}

.taiga-form-toggle-input {
  display: none;
}

.taiga-form-toggle-label {
  display: block;
  width: 50px;
  height: 28px;
  background: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.taiga-form-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.taiga-form-toggle-input:checked + .taiga-form-toggle-label {
  background: #4CAF50;
  border-color: #4CAF50;
}

.taiga-form-toggle-input:checked + .taiga-form-toggle-label .taiga-form-toggle-slider {
  transform: translateX(22px);
  background: #FFFFFF;
}

.taiga-form-toggle-input:not(:checked) + .taiga-form-toggle-label {
  background: #FFFFFF;
  border-color: #000000;
}

.taiga-form-toggle-input:not(:checked) + .taiga-form-toggle-label .taiga-form-toggle-slider {
  transform: translateX(0);
  background: #000000;
}

.taiga-form-toggle-text {
  flex: 1;
  font-family: "dinpror", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #000000;
  cursor: pointer;
}

.taiga-form-toggle-input.error + .taiga-form-toggle-label {
  border-color: #E2480A;
}

.taiga-form-toggle-input.error ~ .taiga-form-toggle-text {
  color: #E2480A;
}

/* Ссылки */
.taiga-form-link {
  color: #000000;
  text-decoration: underline;
  transition: color 0.3s;
}

.taiga-form-link:hover {
  color: #666666;
}

/* Кнопка отправки */
.taiga-form-submit {
  text-align: right;
  margin-top: 0;
}

.taiga-form-button {
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s, transform 0.2s;
  min-width: 275px;
  display: inline-block;
  padding: 7px 42px;
  font-family: "dinpror";
  font-style: normal;
  font-weight: 400;
  font-size: 23px;
  line-height: 29px;
  background: #516B43;
  border-radius: 35px;
  color: #FFFFFF;
  box-sizing: border-box;
  border: none;
  outline: none;
}

.taiga-form-button:hover {
  background: #E2480A;
  transform: translateY(-1px);
}

.taiga-form-button:active {
  opacity: 0.9;
  transform: translateY(0);
}

.taiga-form-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.radio-switch {
  position: relative;
  display: flex;
  width: 38px;
  height: 21px;
  flex: 0 0 38px;
}

.radio-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* фон переключателя */
.radio-switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  border: 1px solid #000000;
  border-radius: 35px;
  background: transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* кружок */
.radio-switch .slider::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: #D9D9D9;
  left: 4px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

/* состояние checked */
.radio-switch input:checked + .slider {
  border-color: #000;
}

.radio-switch input:checked + .slider::before {
  transform: translateX(14px);
  background-color: #516B43;
}

/* Адаптивность */
@media (max-width: 768px) {
  .taiga-form-container {
    padding: 15px;
  }
  .taiga-form-wrapper {
    border-radius: 8px;
  }
  .taiga-form-title {
    font-size: 20px;
    padding: 25px 20px 0 20px;
  }
  .taiga-form-content {
    padding: 20px;
  }
  .taiga-form-row {
    margin: 0 0 20px 0;
  }
  .taiga-form-col {
    flex: 1 1 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  .taiga-form-col:last-child {
    margin-bottom: 0;
  }
  .taiga-form-consent {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .taiga-form-toggle {
    margin-right: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .taiga-form-toggle-text {
    flex: 1 1 100%;
    min-width: 0;
    margin-top: 0;
  }
  .taiga-form-button {
    width: 100%;
    padding: 14px 20px;
  }
  .taiga-form-close {
    top: 10px;
    right: 10px;
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .taiga-form-fields {
    flex-direction: row;
  }
  .taiga-form-title {
    font-size: 18px;
    padding: 20px 15px 0 15px;
  }
  .taiga-form-content {
    padding: 15px;
  }
  .taiga-form-label {
    font-size: 13px;
  }
  .taiga-form-input,
  .taiga-form-textarea {
    font-size: 13px;
    padding: 10px 14px;
  }
  .taiga-form-checkbox-label,
  .taiga-form-toggle-text {
    font-size: 12px;
  }
  .taiga-form-button {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/*# sourceMappingURL=forms2.css.map */
