/* Start custom CSS for image, class: .elementor-element-3bccfc1c */.cv-doc-img{
    position: relative;
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-344f50e6 */.cv-doc-btn .elementor-button {
    position: absolute;
    bottom: 20px; /* tuỳ design */
    left: 40%;
    z-index: 5;
    border-radius: 20px;
      background: linear-gradient(to right, #1f6c8f, #58b12c);
      font-weight: bold
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-51f30c42 */.book-doc-btn .elementor-button {
    position: absolute;
    bottom: 20px; /* tuỳ design */
    left: 65%;
    z-index: 5;
    border-radius: 20px;
    font-weight: bold;
    background-color: white !important;
  border: none !important;
  overflow: hidden;
}

.book-doc-btn .elementor-button span {
  background: linear-gradient(to right, #1f6c8f, #58b12c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-doc-btn .elementor-button::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* độ dày viền */
  border-radius: inherit;
  background: linear-gradient(to right, #1f6c8f, #58b12c);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}/* End custom CSS */
/* Start custom CSS for column, class: .elementor-element-1e58e480 */.doctor-card-desktop .elementor-widget:not(:last-child) {
    margin-bottom: 0px;
}/* End custom CSS */
/* Start custom CSS for image, class: .elementor-element-1c715678 */.doctor-card-desktop .elementor-widget:not(:last-child) {
    margin-bottom: 0px;
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-6a7f29ef */.cv-doc-btn-m .elementor-button {
     padding: 7px;
    position: absolute;
    bottom: 10px; /* tuỳ design */
    left: 44%;
    z-index: 5;
    border-radius: 20px;
      background: linear-gradient(to right, #1f6c8f, #58b12c);
      font-weight: bold;
      font-size: 10px
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-30bcee6f */.book-doc-btn-m .elementor-button {
    position: absolute;
    bottom: 10px; /* tuỳ design */
    left: 75%;
    z-index: 5;
    border-radius: 20px;
    font-weight: bold;
    background-color: white !important;
  border: none !important;
  overflow: hidden;
  padding: 7px;
}

.book-doc-btn-m .elementor-button span {
  background: linear-gradient(to right, #1f6c8f, #58b12c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 10px
}

.book-doc-btn-m .elementor-button::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* độ dày viền */
  border-radius: inherit;
  background: linear-gradient(to right, #1f6c8f, #58b12c);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-4a972bd6 */.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 */