.ccf-title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }

.ccf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ccf-note { font-size: 12px; color: #666; line-height: 14px; margin-top: 14px; }

.ccf-response { margin-top: 12px; font-size: 14px; }
.ccf-response.is-ok    { color: #1a7f37; }
.ccf-response.is-error { color: #cf222e; }

.ccf-spinner {
  display: inline-block; width: 18px; height: 18px; margin-left: 10px;
  vertical-align: middle; border: 2px solid #ccc; border-top-color: #333;
  border-radius: 50%; animation: ccf-spin .7s linear infinite;
}
.ccf-spinner[hidden] { display: none; }
@keyframes ccf-spin { to { transform: rotate(360deg); } }

.ccf-form .callback-submit:disabled { opacity: .6; cursor: default; }

.form_wrapper_inner {
  margin: 45px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* заголовок формы по центру, как и содержимое */
.ccf-title { text-align: center; }

/* сообщение об отправке и согласие тоже по центру */
.ccf-response { text-align: center; }
.form_wrapper_inner > p { text-align: center; }

/* Строка поля: иконка | поле | звёздочка */
.ccf-wrap .input_group {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 460px;
  margin-bottom: 14px;
  position: relative;
}

/* Иконка слева */
.ccf-wrap .input_group_addon {
  flex: 0 0 50px;
  width: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Обёртка поля занимает всё оставшееся место */
.ccf-wrap .wpcf7-form-control-wrap {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

/* Сами поля */
.ccf-wrap .form_control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}
.ccf-wrap input.form_control { height: 46px; }
.ccf-wrap textarea.form_control { resize: vertical; min-height: 70px; }

/* Звёздочка справа от поля */
.ccf-wrap .imp_field {
  flex: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Поле без звёздочки (email, комментарий) не должно «уезжать» влево:
   резервируем место под звёздочку, чтобы все поля были одной ширины */
.ccf-wrap .input_group:not(:has(.imp_field))::after {
  content: "";
  flex: 0 0 20px;
}

/* Капча по центру */
.ccf-wrap .input_group:has(.ccf-captcha) { justify-content: center; }

.ccf-popup { position: relative; background: #fff; max-width: 420px; margin: 20px auto; padding: 20px 30px; }




