/* Start custom CSS for wp-widget-gform_widget, class: .elementor-element-c95efdd *//* === استایل کلی فرم === */
form {
  max-width: 800px;
  margin: 40px auto;
  background: #fafafa; /* سفید ملایم برای تمایز با بک‌گراند */
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* === تیترها === */
form h2, 
form h3, 
form h4 {
  color: #0b3c88; /* رنگ هدر سایت */
  font-weight: 600;
  margin-bottom: 20px;
}

/* === لیبل‌ها === */
form label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #333;
}

/* === فیلدهای ورودی === */
form input[type="text"],
form input[type="email"],
form input[type="number"],
form input[type="date"],
form select,
form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  box-sizing: border-box;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: #0b3c88;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 60, 136, 0.12);
}

/* === دکمه ارسال === */
form button,
form input[type="submit"] {
  background: #0b3c88;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%; /* برای موبایل تمام عرض */
}

form button:hover,
form input[type="submit"]:hover {
  background: #092f6d;
  box-shadow: 0 6px 16px rgba(11, 60, 136, 0.3);
}

/* === فاصله بین فیلدها === */
form .form-group,
form p {
  margin-bottom: 18px;
}

/* === نسخه موبایل (ریسپانسیو) === */
@media (max-width: 768px) {
  form {
    padding: 20px;
    margin: 20px 10px;
    border-radius: 12px;
  }

  form h2, 
  form h3, 
  form h4 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
  }

  form label {
    font-size: 13px;
  }

  form input,
  form select,
  form textarea {
    font-size: 13px;
    padding: 10px 12px;
  }

  form button,
  form input[type="submit"] {
    font-size: 14px;
    padding: 12px;
  }
}/* End custom CSS */