/* Start custom CSS for shortcode, class: .elementor-element-1736884 */.form__imp_sale {
  background-image: url("https://nhakhoathuyanh.com/wp-content/uploads/2025/10/form-dang-ky-khuyen-mai-implant.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: flex-start; /* đưa form sang bên trái */
  align-items: flex-end;       /* đưa form xuống gần đáy */
  
  padding: 60px;
  position: relative;
}

.form__content_imp_sale {
  padding: 0;                  /* bỏ padding trên để form sát đáy hơn */
  width: 70%;                  /* vẫn chiếm nửa ảnh */
  border-radius: 16px;
  position: relative;
  bottom: -60px;                /* cách mép dưới ảnh 20px */
}

/* Đưa 2 ô input lên cùng 1 hàng */
.form__content_imp_sale p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2%; /* khoảng cách nhỏ giữa các input */
  margin: 0 0 16px 0;
}

.form__imp_sale input[type="text"],
.form__imp_sale input[type="tel"] {
  width: 100%; /* mỗi ô chiếm gần nửa chiều ngang */
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 20px 20px;
}

/* Nút gửi */
.form__imp_sale input[type="submit"] {
  background: linear-gradient(to right, #1f6c8f, #58b12c);
  color: white;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  margin: 0px !important;
}

.form__imp_sale input[type="submit"]:hover {
  background-color: #b71c1c;
}

.form__content_imp_sale span[data-name="text-25"],

.form__content_imp_sale span[data-name="tel-137"] {
  width: 48%;
}

/* Mobile */
@media screen and (max-width: 945px) {
  .form__imp_sale {
    background-image: url("https://nhakhoathuyanh.com/wp-content/uploads/2025/10/form-dang-ky-khuyen-mai-implant-mobile.webp") !important;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px;
    
  }

  .form__content_imp_sale {
    margin: 0 auto 245px auto;
    width: 50%;
    border-radius: 8px;
    padding: 0;
    top:60px;
    bottom: 0;
  }
  
  .form__content_imp_sale span[data-name="text-25"],

.form__content_imp_sale span[data-name="tel-137"] {
  width: 100%;
}

  .form__imp_sale input[type="submit"] {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 500px) {
  .form__imp_sale {
    background-image: url("https://nhakhoathuyanh.com/wp-content/uploads/2025/10/form-dang-ky-khuyen-mai-implant-mobile.webp") !important;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px;
    
  }

  .form__content_imp_sale {
    margin: 0 auto 245px auto;
    width: 100%;

    padding: 0;
    top:80px;
    bottom: 0;
  }
  
  .form__content_imp_sale span[data-name="text-25"],

.form__content_imp_sale span[data-name="tel-137"] {
  width: 100%;
}

.form__imp_sale input[type="text"],
.form__imp_sale input[type="tel"] {
margin-bottom: 5px !important;
font-size: 10px;
}

  .form__imp_sale input[type="submit"] {
    margin-bottom: 0;
    font-size:10px;
  }
}/* End custom CSS */