.xtd-bg[hidden]{display:none!important}
.xtd-bg{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px}
.xtd-bg__nen{position:absolute;inset:0;background:rgba(15,36,64,.62)}
.xtd-bg__hop{position:relative;width:100%;max-width:440px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:10px;border-top:4px solid #d81f26;padding:24px 24px 18px;box-shadow:0 18px 50px rgba(0,0,0,.35);font-family:"Be Vietnam Pro",sans-serif;color:#1a1b1d}
.xtd-bg__dong{position:absolute;top:6px;right:8px;width:40px;height:40px;border:0;background:transparent;color:#42464b;font-size:30px;line-height:1;cursor:pointer;padding:0;border-radius:6px}
.xtd-bg__dong:hover,.xtd-bg__dong:focus{background:#f7f5f1;color:#d81f26}
.xtd-bg__tieude{margin:0 36px 6px 0;font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:26px;line-height:1.15;text-transform:uppercase;color:#163156}
.xtd-bg__mota{margin:0 0 6px;font-size:14px;line-height:1.5;color:#42464b}
.xtd-bg__zalo{margin:10px 0 0;font-size:13px;text-align:center;color:#42464b}
.xtd-bg__zalo a{color:#163156;font-weight:600;text-decoration:underline}
.xtd-bg__zalo a:hover{color:#d81f26}
.xtd-bg .wpforms-container{margin:8px 0 0!important;--wpforms-field-border-radius:6px;--wpforms-field-border-color:#d9d4ca;--wpforms-field-text-color:#1a1b1d;--wpforms-label-color:#1a1b1d;--wpforms-label-sublabel-color:#767b81;--wpforms-label-error-color:#d81f26;--wpforms-button-border-radius:6px;--wpforms-button-background-color:#d81f26;--wpforms-button-text-color:#fff;--wpforms-button-size-font-size:17px;--wpforms-button-size-height:48px;--wpforms-field-size-input-height:44px;--wpforms-field-size-font-size:15px;--wpforms-label-size-font-size:15px}
.xtd-bg .wpforms-field{padding:7px 0!important}
.xtd-bg .wpforms-field input{max-width:100%!important;width:100%!important}
.xtd-bg .wpforms-submit-container{padding-top:10px!important}
.xtd-bg button.wpforms-submit{width:100%!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.3px}
.xtd-bg button.wpforms-submit:hover{background-color:#b8181e!important}
.xtd-bg .wpforms-confirmation-container-full{background:#f7f5f1!important;border:1px solid #d9d4ca!important;color:#1a1b1d!important;border-radius:6px}
html.xtd-bg-mo{overflow:hidden}
@media (max-width:544px){.xtd-bg{padding:10px;align-items:flex-end}.xtd-bg__hop{padding:20px 16px 14px;max-height:calc(100dvh - 20px)}.xtd-bg__tieude{font-size:23px}}
@media print{.xtd-bg{display:none!important}}
/* 1.1 hiệu ứng mở / đóng */
@keyframes xtd-bg-nen-vao{from{opacity:0}to{opacity:1}}
@keyframes xtd-bg-hop-vao{0%{opacity:0;transform:translateY(28px) scale(.94)}60%{opacity:1;transform:translateY(-4px) scale(1.01)}100%{opacity:1;transform:none}}
@keyframes xtd-bg-hop-len{0%{transform:translateY(100%)}70%{transform:translateY(-6px)}100%{transform:none}}
@keyframes xtd-bg-muc-vao{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes xtd-bg-nut-sang{0%,100%{box-shadow:0 0 0 0 rgba(216,31,38,.45)}50%{box-shadow:0 0 0 8px rgba(216,31,38,0)}}
.xtd-bg:not([hidden]) .xtd-bg__nen{animation:xtd-bg-nen-vao .25s ease-out both}
.xtd-bg:not([hidden]) .xtd-bg__hop{animation:xtd-bg-hop-vao .42s cubic-bezier(.2,.8,.3,1) both}
.xtd-bg:not([hidden]) .xtd-bg__tieude,.xtd-bg:not([hidden]) .xtd-bg__mota,.xtd-bg:not([hidden]) .wpforms-field,.xtd-bg:not([hidden]) .wpforms-submit-container,.xtd-bg:not([hidden]) .xtd-bg__zalo{animation:xtd-bg-muc-vao .35s ease-out both}
.xtd-bg:not([hidden]) .xtd-bg__mota{animation-delay:.08s}
.xtd-bg:not([hidden]) .wpforms-field:nth-child(1){animation-delay:.12s}
.xtd-bg:not([hidden]) .wpforms-field:nth-child(2){animation-delay:.16s}
.xtd-bg:not([hidden]) .wpforms-field:nth-child(3){animation-delay:.2s}
.xtd-bg:not([hidden]) .wpforms-field:nth-child(4){animation-delay:.24s}
.xtd-bg:not([hidden]) .wpforms-field:nth-child(n+5){animation-delay:.28s}
.xtd-bg:not([hidden]) .wpforms-submit-container{animation-delay:.3s}
.xtd-bg:not([hidden]) .xtd-bg__zalo{animation-delay:.34s}
.xtd-bg:not([hidden]) button.wpforms-submit{animation:xtd-bg-nut-sang 1.6s ease-in-out .8s 2}
.xtd-bg .wpforms-field input:focus{box-shadow:0 0 0 3px rgba(22,49,86,.15)!important;border-color:#163156!important}
@keyframes xtd-bg-nen-ra{from{opacity:1}to{opacity:0}}
@keyframes xtd-bg-hop-ra{from{opacity:1;transform:none}to{opacity:0;transform:translateY(20px) scale(.96)}}
@keyframes xtd-bg-hop-xuong{from{transform:none}to{transform:translateY(100%)}}
.xtd-bg.xtd-bg--dong .xtd-bg__nen{animation:xtd-bg-nen-ra .2s ease-in both}
.xtd-bg.xtd-bg--dong .xtd-bg__hop{animation:xtd-bg-hop-ra .2s ease-in both}
@media (max-width:544px){.xtd-bg:not([hidden]) .xtd-bg__hop{animation:xtd-bg-hop-len .45s cubic-bezier(.2,.8,.3,1) both}.xtd-bg.xtd-bg--dong .xtd-bg__hop{animation:xtd-bg-hop-xuong .2s ease-in both}}
@media (prefers-reduced-motion:reduce){.xtd-bg *,.xtd-bg .xtd-bg__hop,.xtd-bg .xtd-bg__nen{animation:none!important;transition:none!important}}
