.elementor-kit-54240{--e-global-color-primary:#F48631;--e-global-color-secondary:#013265;--e-global-color-text:#013265;--e-global-color-accent:#FFFFFF;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Manrope";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Manrope";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;font-family:"Inter", Sans-serif;}.elementor-kit-54240 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */html,
body {
  overflow-x: hidden;
}

/* =========================================================
   LINCO POPUP FORM FIX
   Desktop 100% viewport: không cắt mất submit button
   Target Elementor popup template ID: 55057
   ========================================================= */

/* Overlay popup */
.elementor-popup-modal {
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

/* Khung popup ngoài cùng */
.elementor-popup-modal .dialog-widget-content {
  width: min(92vw, 720px) !important;
  max-width: 720px !important;

  height: auto !important;
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;

  margin: auto !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  transform: none !important;
  box-sizing: border-box !important;
}

/* Vùng nội dung popup: phần này phải scroll */
.elementor-popup-modal .dialog-message {
  width: 100% !important;

  height: auto !important;
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;

  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;

  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

/* Elementor template trong popup */
.elementor-popup-modal .elementor-55057,
.elementor-popup-modal .linco-popup-fit {
  width: 100% !important;
  max-width: 720px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Xóa min-height / height cứng làm popup bị tràn */
.elementor-popup-modal .elementor-55057 .e-con,
.elementor-popup-modal .elementor-55057 .e-con-inner,
.elementor-popup-modal .elementor-55057 .elementor-section,
.elementor-popup-modal .elementor-55057 .elementor-container,
.elementor-popup-modal .elementor-55057 .elementor-column,
.elementor-popup-modal .elementor-55057 .elementor-widget-wrap,
.elementor-popup-modal .linco-popup-fit .e-con,
.elementor-popup-modal .linco-popup-fit .e-con-inner,
.elementor-popup-modal .linco-popup-fit .elementor-section,
.elementor-popup-modal .linco-popup-fit .elementor-container,
.elementor-popup-modal .linco-popup-fit .elementor-column,
.elementor-popup-modal .linco-popup-fit .elementor-widget-wrap {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Container header + form gọn lại */
.elementor-popup-modal .elementor-55057 .e-con,
.elementor-popup-modal .linco-popup-fit .e-con {
  padding-left: clamp(22px, 3vw, 38px) !important;
  padding-right: clamp(22px, 3vw, 38px) !important;
}

/* Giảm khoảng trắng thừa trong popup */
.elementor-popup-modal .elementor-55057 .elementor-widget,
.elementor-popup-modal .linco-popup-fit .elementor-widget {
  margin-bottom: 0 !important;
}

/* Form wrapper */
.elementor-popup-modal .elementor-55057 form,
.elementor-popup-modal .linco-popup-fit form {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-bottom: 18px !important;
  box-sizing: border-box !important;
}

/* Field spacing */
.elementor-popup-modal .elementor-55057 .elementor-field-group,
.elementor-popup-modal .linco-popup-fit .elementor-field-group {
  margin-bottom: 10px !important;
}

/* Label */
.elementor-popup-modal .elementor-55057 label,
.elementor-popup-modal .linco-popup-fit label {
  margin-bottom: 5px !important;
  line-height: 1.2 !important;
}

/* Input/select/textarea */
.elementor-popup-modal .elementor-55057 input:not([type="checkbox"]):not([type="radio"]),
.elementor-popup-modal .elementor-55057 select,
.elementor-popup-modal .elementor-55057 textarea,
.elementor-popup-modal .linco-popup-fit input:not([type="checkbox"]):not([type="radio"]),
.elementor-popup-modal .linco-popup-fit select,
.elementor-popup-modal .linco-popup-fit textarea {
  min-height: 40px !important;
  height: auto !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

/* Radio / checkbox không bị phóng to */
.elementor-popup-modal .elementor-55057 input[type="checkbox"],
.elementor-popup-modal .elementor-55057 input[type="radio"],
.elementor-popup-modal .linco-popup-fit input[type="checkbox"],
.elementor-popup-modal .linco-popup-fit input[type="radio"] {
  width: 15px !important;
  height: 15px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin-top: 1px !important;
}

/* Hàng checkbox/radio gọn hơn */
.elementor-popup-modal .elementor-55057 .elementor-field-option,
.elementor-popup-modal .linco-popup-fit .elementor-field-option {
  margin-bottom: 5px !important;
  line-height: 1.2 !important;
}

/* Submit button: luôn thấy ở đáy vùng scroll */
.elementor-popup-modal .elementor-55057 .elementor-field-type-submit,
.elementor-popup-modal .linco-popup-fit .elementor-field-type-submit {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 30 !important;

  margin-top: 10px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    #ffffff 22%,
    #ffffff 100%
  ) !important;
}

/* Style submit button gọn, không bị cắt */
.elementor-popup-modal .elementor-55057 button[type="submit"],
.elementor-popup-modal .elementor-55057 input[type="submit"],
.elementor-popup-modal .elementor-55057 .elementor-button[type="submit"],
.elementor-popup-modal .linco-popup-fit button[type="submit"],
.elementor-popup-modal .linco-popup-fit input[type="submit"],
.elementor-popup-modal .linco-popup-fit .elementor-button[type="submit"] {
  min-height: 46px !important;
  height: auto !important;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  line-height: 1.1 !important;
  box-sizing: border-box !important;
}

/* Nút đóng popup */
.elementor-popup-modal .dialog-close-button {
  position: fixed !important;
  top: 18px !important;
  right: 22px !important;
  z-index: 999999 !important;
}

/* Desktop thấp: giữ nguyên 100% browser zoom vẫn không mất button */
@media (min-width: 768px) and (max-height: 820px) {
  .elementor-popup-modal {
    padding: 8px !important;
  }

  .elementor-popup-modal .dialog-widget-content {
    max-height: calc(100vh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
  }

  .elementor-popup-modal .dialog-message {
    max-height: calc(100vh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
  }

  .elementor-popup-modal .elementor-55057 .e-con,
  .elementor-popup-modal .linco-popup-fit .e-con {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .elementor-popup-modal .elementor-55057 .elementor-field-group,
  .elementor-popup-modal .linco-popup-fit .elementor-field-group {
    margin-bottom: 8px !important;
  }

  .elementor-popup-modal .elementor-55057 input:not([type="checkbox"]):not([type="radio"]),
  .elementor-popup-modal .elementor-55057 select,
  .elementor-popup-modal .elementor-55057 textarea,
  .elementor-popup-modal .linco-popup-fit input:not([type="checkbox"]):not([type="radio"]),
  .elementor-popup-modal .linco-popup-fit select,
  .elementor-popup-modal .linco-popup-fit textarea {
    min-height: 38px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .elementor-popup-modal {
    padding: 8px !important;
  }

  .elementor-popup-modal .dialog-widget-content {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100vh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 22px !important;
  }

  .elementor-popup-modal .dialog-message {
    max-height: calc(100vh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
  }

  .elementor-popup-modal .elementor-55057 .e-con,
  .elementor-popup-modal .linco-popup-fit .e-con {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .elementor-popup-modal .dialog-close-button {
    top: 12px !important;
    right: 14px !important;
  }
}/* End custom CSS */