.sppl-form-box{box-sizing:border-box;max-width:660px;margin:24px auto;padding:clamp(20px,4vw,34px);background:#fff;border:1px solid #e0e9e1;border-radius:16px;box-shadow:0 14px 42px rgba(16,83,42,.08);font-family:inherit;color:#19372a}
.sppl-form-box *{box-sizing:border-box}
.sppl-form-title{font-size:clamp(23px,2.3vw,29px);line-height:1.25;color:#11633c;margin:0 0 8px;font-weight:750}
.sppl-form-intro{font-size:15px;color:#5e7067;margin:0 0 20px}
.sppl-form-box form{margin:0}
.sppl-phone-label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}
.sppl-phone-field{display:block;width:100%;min-height:52px;border:1px solid #cddfd0!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;color:#1c3d2f!important;padding:12px 14px!important;font-size:17px!important;margin:0 0 16px!important}
.sppl-phone-field:focus{outline:2px solid #0a814c;outline-offset:1px}
.sppl-consent{display:flex!important;gap:10px;align-items:flex-start;font-size:13px;line-height:1.55;color:#52695a;font-weight:400;margin:0 0 17px;cursor:pointer}
.sppl-consent input{flex:0 0 17px;width:17px;height:17px;margin:3px 0 0}
.sppl-consent a{color:#08683e;text-decoration:underline}
.sppl-submit{display:block!important;width:100%!important;min-height:52px!important;border:0!important;border-radius:9px!important;background:#0c7b48!important;color:#fff!important;font-size:16px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;margin:0!important;cursor:pointer}
.sppl-submit:hover{background:#076337!important}
.sppl-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.sppl-form-alert{margin:0 0 15px;padding:10px 13px;border-radius:8px;font-size:14px}
.sppl-form-alert.sppl-ok{background:#e7f7ed;color:#135c34}.sppl-form-alert.sppl-error{background:#fff3e7;color:#8d3618}
@media(max-width:480px){.sppl-form-box{margin:16px 0;padding:20px 16px;border-radius:12px}.sppl-form-title{font-size:23px}}
/* Nút tư vấn nổi dùng HTML details, không cần tải JavaScript. */
.sppl-floating{position:fixed;right:18px;bottom:18px;z-index:99980;font-family:inherit;max-width:min(380px,calc(100vw - 24px))}
.sppl-floating>summary{display:block;list-style:none;background:#0c7b48;color:#fff;border-radius:999px;padding:14px 22px;box-shadow:0 8px 22px rgba(0,0,0,.2);cursor:pointer;font-size:15px;font-weight:750;letter-spacing:0}
.sppl-floating>summary::-webkit-details-marker{display:none}.sppl-floating[open]>summary{border-radius:12px 12px 0 0;text-align:center}
.sppl-floating-panel{max-height:min(80vh,620px);overflow:auto;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 15px 40px rgba(0,0,0,.2)}
.sppl-floating .sppl-form-box{box-shadow:none;border:0;border-radius:0;padding:18px;margin:0}.sppl-floating .sppl-form-title{font-size:22px}
@media(max-width:480px){.sppl-floating{right:12px;bottom:12px;width:min(350px,calc(100vw - 24px))}.sppl-floating:not([open]){width:auto}.sppl-floating>summary{padding:13px 16px}}


/* Soup Panda v1.0.2 - thu gon form noi tren Tablet/Mobile.
   Chi ap dung cho form cua plugin; khong anh huong giao dien desktop. */
@media (min-width: 550px) and (max-width: 849px) {
  .sppl-floating {
    right: 12px;
    bottom: 12px;
    width: 350px;
    max-width: calc(100vw - 24px);
  }
  .sppl-floating:not([open]) { width: auto; }
  .sppl-floating > summary { padding: 10px 14px; font-size: 13px; line-height: 1.3; }
  .sppl-floating-panel { max-height: min(74vh, 460px); }
  .sppl-floating .sppl-form-box { padding: 14px; }
  .sppl-floating .sppl-form-title { font-size: 19px; line-height: 1.3; margin-bottom: 14px; }
  .sppl-floating .sppl-phone-field { min-height: 43px; padding: 9px 11px !important; font-size: 16px !important; margin-bottom: 13px !important; }
  .sppl-floating .sppl-submit { min-height: 44px !important; font-size: 14px !important; }
  .sppl-floating .sppl-consent { font-size: 12px; line-height: 1.45; margin-bottom: 14px; }
}
@media (max-width: 549px) {
  .sppl-floating {
    right: 10px;
    bottom: 10px;
    width: min(320px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }
  .sppl-floating:not([open]) { width: auto; }
  .sppl-floating > summary { padding: 10px 12px; font-size: 12px; line-height: 1.3; }
  .sppl-floating[open] > summary { border-radius: 10px 10px 0 0; }
  .sppl-floating-panel { max-height: min(72vh, 450px); border-radius: 0 0 10px 10px; }
  .sppl-floating .sppl-form-box { padding: 13px 12px; margin: 0; }
  .sppl-floating .sppl-form-title { font-size: 17px; line-height: 1.3; margin: 0 0 12px; }
  .sppl-floating .sppl-phone-label { font-size: 12px; margin-bottom: 5px; }
  .sppl-floating .sppl-phone-field { min-height: 42px; padding: 8px 10px !important; font-size: 16px !important; margin-bottom: 12px !important; }
  .sppl-floating .sppl-consent { font-size: 12px; line-height: 1.4; gap: 8px; margin-bottom: 12px; }
  .sppl-floating .sppl-consent input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }
  .sppl-floating .sppl-submit { min-height: 42px !important; font-size: 14px !important; }
  .sppl-floating .sppl-form-alert { font-size: 12px; padding: 8px 10px; }
}

/* v1.0.3: thu gon dong phu tren popup Mobile/Tablet */
@media (min-width:550px) and (max-width:849px) {
  .sppl-floating .sppl-form-intro { font-size:13px; line-height:1.4; margin:0 0 13px; }
}
@media (max-width:549px) {
  .sppl-floating .sppl-form-intro { font-size:12px; line-height:1.35; margin:0 0 11px; }
}
