/**
Theme Name: Astra Child
Author: IgorYartsev
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* ===== Interna Kids Survey (CF7) ===== */
.ik-survey {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  border: 1px solid rgba(16, 24, 40, 0.06);
  font-family: inherit;
}

.ik-survey h3 {
  margin: 0 0 14px 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.ik-survey p {
  margin: 14px 0 10px;
  color: rgba(16, 24, 40, 0.92);
  line-height: 1.45;
}

/* Разделители между вопросами */
.ik-survey p strong {
  display: inline-block;
  margin-bottom: 6px;
}

/* Общие стили полей */
.ik-survey input[type="text"],
.ik-survey input[type="email"],
.ik-survey input[type="tel"],
.ik-survey input[type="number"],
.ik-survey textarea,
.ik-survey select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.16);
  background: #fff;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
  font-size: 15px;
}

.ik-survey textarea {
  min-height: 110px;
  resize: vertical;
}

.ik-survey input:focus,
.ik-survey textarea:focus,
.ik-survey select:focus {
  border-color: rgba(33, 150, 243, 0.55);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
}

/* CF7 radio / checkbox список */
.ik-survey .wpcf7-list-item {
  margin: 8px 0 0 0;
  display: block;
}

.ik-survey .wpcf7-list-item label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.10);
  background: rgba(16, 24, 40, 0.02);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.ik-survey .wpcf7-list-item label:hover {
  background: rgba(33, 150, 243, 0.06);
  border-color: rgba(33, 150, 243, 0.20);
}

.ik-survey .wpcf7-list-item input {
  margin-top: 2px;
}

/* Красивые радио (без сложных псевдо-элементов, чтобы не ломалось в темах) */
.ik-survey input[type="radio"],
.ik-survey input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

/* Шкала 1–5 в ряд (вопрос 1) */
.ik-survey .wpcf7-form-control.wpcf7-radio {
  display: grid;
  gap: 8px;
}

/* На больших экранах шкалы в ряд, остальные вопросы — колонкой */
@media (min-width: 520px) {
  /* Важно: это применится ко ВСЕМ radio. Если хочешь только к Q1/Q7 — скажи, сделаю точечно. */
  .ik-survey .wpcf7-form-control.wpcf7-radio {
    grid-template-columns: 1fr;
  }
}

/* Хитрость: если радио-ответы короткие (как 1–5), они будут выглядеть как кнопки */
.ik-survey .wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label {
  width: 100%;
}

/* Кнопка отправки */
.ik-survey input[type="submit"] {
  margin-top: 16px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: #2196F3;
  color: #fff;
  box-shadow: 0 10px 20px rgba(33, 150, 243, 0.25);
  transition: transform .05s ease, filter .2s ease;
}

.ik-survey input[type="submit"]:hover {
  filter: brightness(0.98);
}

.ik-survey input[type="submit"]:active {
  transform: translateY(1px);
}

/* Сообщения CF7 */
.ik-survey .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.12);
}

.ik-survey .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #b42318;
}

/* Мобильная адаптация: меньше паддинги */
@media (max-width: 480px) {
  .ik-survey { padding: 18px 14px; border-radius: 16px; }
  .ik-survey h3 { font-size: 20px; }
}
