/* Start custom CSS for section, class: .elementor-element-e40b032 *//* ================================
   InnoDraw CF7 Form – Container
   ================================ */
.innodraw-order-form {
  --primary: #0b66c3;
  --primary-dark: #084b92;
  --accent: #00c79b;
  --bg-light: #f5f7fb;
  --border-color: #d6d9e4;
  --text-main: #1f2430;
  --text-muted: #7a8194;

  background: #ffffff;
  padding: 24px 24px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 35, 52, 0.08);
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Grid: 2 columns desktop, 1 column mobile */
.innodraw-order-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 24px;
}

.innodraw-order-form .full-width {
  grid-column: 1 / -1;
}

/* Headers & text */
.innodraw-order-form h3 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
}

.innodraw-order-form p {
  margin: 4px 0 8px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Подписи для групп чекбоксов */
.innodraw-order-form .field-label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}

/* ================================
   Form fields & labels
   ================================ */
.innodraw-order-form .form-field {
  margin-bottom: 18px;
}

.innodraw-order-form .form-field > label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}

/* расстояние между подписью и самим полем */
.innodraw-order-form .form-field > label .wpcf7-form-control {
  margin-top: 8px;
}

/* базовые поля */
.innodraw-order-form input[type="text"],
.innodraw-order-form input[type="email"],
.innodraw-order-form input[type="tel"],
.innodraw-order-form input[type="number"],
.innodraw-order-form input[type="date"],
.innodraw-order-form select,
.innodraw-order-form textarea,
.innodraw-order-form input[type="file"] {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 14px;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

/* textarea чуть выше */
.innodraw-order-form textarea {
  min-height: 110px;
  resize: vertical;
  margin-top: 8px;
}

/* focus состояния */
.innodraw-order-form input[type="text"]:focus,
.innodraw-order-form input[type="email"]:focus,
.innodraw-order-form input[type="tel"]:focus,
.innodraw-order-form input[type="number"]:focus,
.innodraw-order-form input[type="date"]:focus,
.innodraw-order-form select:focus,
.innodraw-order-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(11, 102, 195, 0.15);
}

/* чекбоксы в столбик, красиво выровнены */
.innodraw-order-form .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
}

.innodraw-order-form .wpcf7-list-item-label {
  margin-left: 6px;
  font-size: 14px;
  color: var(--text-main);
}

/* acceptance */
.innodraw-order-form .acceptance-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ================================
   Submit button
   ================================ */
.innodraw-order-form .submit-wrap {
  margin-top: 20px;
}

.innodraw-order-form input[type="submit"] {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.innodraw-order-form input[type="submit"]:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(11, 102, 195, 0.35);
  transform: translateY(-1px);
}

.innodraw-order-form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ================================
   CF7 validation styling
   ================================ */
.innodraw-order-form .wpcf7-not-valid {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.15);
}

.innodraw-order-form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
}

.innodraw-order-form .wpcf7-response-output {
  margin-top: 16px !important;
  border-radius: 10px;
  border-width: 1px !important;
  font-size: 14px;
}

.innodraw-order-form .wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--accent) !important;
  background: #e5fbf5;
  color: #055f47;
}

.innodraw-order-form .wpcf7-form.invalid .wpcf7-response-output {
  border-color: #e53935 !important;
  background: #ffebee;
  color: #b71c1c;
}

/* ================================
   Responsive – 1 column mobile
   ================================ */
@media (max-width: 768px) {
  .innodraw-order-form {
    padding: 18px 16px 22px;
    border-radius: 12px;
  }

  .innodraw-order-form .form-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 14px;
  }
  
  .innodraw-order-form .submit-wrap {
  margin-top: 20px;
}

.innodraw-order-form input[type="submit"] {
  display: inline-block;
  background: #0b66c3;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.innodraw-order-form input[type="submit"]:hover {
  background: #084b92;
  box-shadow: 0 6px 16px rgba(11, 102, 195, 0.35);
  transform: translateY(-1px);
}

}/* End custom CSS */