/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Form ngang Contact Form 7 */
.inline-form {
  display: flex;
  gap: 10px; /* khoảng cách giữa các ô */
  flex-wrap: wrap; /* xuống dòng khi màn hình nhỏ */
}

.inline-form .form-field {
  flex: 1;
  margin: 0;
}

.inline-form .form-field input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.inline-form .form-field input[type="submit"] {
    background: #c40000;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 1px 9px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.inline-form .form-field input[type="submit"]:hover {
  background: #a30000;
}

.form-section {
  background: linear-gradient(180deg, rgb(19, 50, 43) 0%, rgb(33, 95, 81) 100%);
}

/* Khung form */
.cf7-custom-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 350px; /* form gọn như hình */
  margin: 0 auto;   /* căn giữa */
}

/* Input */
.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="tel"],
.cf7-custom-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Nút submit */
.cf7-custom-form input[type="submit"] {
    background: #c40000;
    color: #fff;
    border: none;
    padding: 2px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cf7-custom-form input[type="submit"]:hover {
  background: #a30000;
}

.cf7-custom-form input[type="text"],
.cf7-custom-form input[type="tel"],
.cf7-custom-form input[type="email"],
.cf7-custom-form input[type="submit"] {
    width: 300px; /* tất cả bằng nhau */
    display: block;
    margin: 0 auto 10px; /* căn giữa */
    padding: 12px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}