/* Стили для формы обратной связи на Tilda */
.t-form {
  max-width: 600px;
  margin: 30px auto;
  padding: 32px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px #0000000f;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Заголовок формы */
.t-form .t-title {
  color: #164e6e;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.3;
}

/* Описание под заголовком */
.t-form .t-descr {
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

/* Группа полей (обёртка label + input) */
.t-input-group {
  margin-bottom: 20px;
}

/* Надписи к полям */
.t-form .t-input-title {
  display: block;
  color: #164e6e;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

/* Поля ввода и текстовая область */
.t-input,
.t-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  color: #333333;
  background-color: #ffffff;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

/* Фокус на полях ввода */
.t-input:focus,
.t-textarea:focus {
  outline: none;
  border-color: #164e6e;
  box-shadow: 0 0 0 3px #164e6e1a;
}

/* Текстовая область (многострочное поле) */
.t-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Кнопка отправки */
.t-submit {
  width: 100%;
  padding: 14px;
  background-color: #164e6e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
}

.t-submit:hover {
  background-color: #0d3b5a;
}

.t-submit:active {
  transform: translateY(1px);
}

/* Сообщения об успехе/ошибке (если используете кастомные) */
.t-form-message {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
}

.t-form-message.success {
  color: #10b981; /* зелёный */
}

.t-form-message.error {
  color: #ef4444; /* красный */
}
