.teco-mc-bar{display:none}
.teco-mc-dialog{box-sizing:border-box;width:calc(100% - 24px);max-width:460px;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:18px;background:#fff;color:#222;box-shadow:0 20px 80px #0004;overscroll-behavior:contain}
.teco-mc-dialog:not([open]){display:none}
.teco-mc-dialog::backdrop{background:rgba(13,23,38,.62)}
.teco-mc-dialog-inner{position:relative;padding:24px 24px 26px}
.teco-mc-dialog h2{font-size:22px;font-weight:600;line-height:1.4;color:#222;margin:0 36px 20px 0}
.teco-mc-dialog .teco-mc-close{position:absolute;top:10px;right:8px;display:flex;align-items:center;justify-content:center;min-width:44px;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#555;font-size:32px;line-height:1;box-shadow:none}
.teco-mc-dialog .wpcf7,.teco-mc-dialog form,.teco-mc-dialog .form-dang-ky{margin:0;padding:0;width:100%;background:transparent;box-shadow:none;border:0}
.teco-mc-dialog .form-dang-ky>label:first-child{display:none}
.teco-mc-dialog .form-dang-ky .row-form{display:none}
.teco-mc-dialog .form-dang-ky p{margin:0 0 15px;float:none;width:100%}
.teco-mc-dialog .wpcf7-form-control-wrap{display:block;float:none;width:100%;margin:0}
.teco-mc-dialog input[type=text],.teco-mc-dialog input[type=tel],.teco-mc-dialog input[type=email],.teco-mc-dialog select,.teco-mc-dialog textarea{box-sizing:border-box;width:100%;height:56px;min-height:56px;margin:0;padding:14px 22px;border:1px solid transparent;border-radius:32px;background:#fafafa;color:#333;font-size:16px;line-height:1.5;box-shadow:0 3px 18px rgba(0,0,0,.025)}
.teco-mc-dialog input::placeholder{color:#777;opacity:1}
.teco-mc-dialog input:focus{outline:2px solid #1479df;outline-offset:2px}
.teco-mc-dialog input[type=submit]{display:block;float:none;width:auto;max-width:100%;min-width:240px;min-height:54px;height:auto;margin:24px 0 0;padding:12px 26px;border:0;border-radius:32px;background:#ed1c24;color:#fff;font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:0;line-height:1.5;box-shadow:none}
.teco-mc-dialog .wpcf7-not-valid-tip{font-size:13px;padding:5px 16px;line-height:1.4}
.teco-mc-dialog .wpcf7-response-output{margin:16px 0 0!important;padding:12px!important;font-size:14px;line-height:1.5}
.teco-mc-dialog .wpcf7-spinner{margin:8px}
html.teco-mc-modal-open,html.teco-mc-modal-open body{overflow:hidden}
@media(max-width:849px){
 .teco-mc-bar{position:fixed;inset:auto max(16px,env(safe-area-inset-right,0px)) calc(50px + env(safe-area-inset-bottom,0px)) auto;z-index:99990;display:flex;flex-direction:column;align-items:center;gap:12px;box-sizing:border-box;padding:0;background:transparent;box-shadow:none}
 .teco-mc-bar>a,.teco-mc-bar>button{display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:56px;height:56px;min-width:56px;min-height:56px;margin:0;padding:0;border:0;border-radius:50%;color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1;text-transform:none;letter-spacing:0;text-decoration:none;box-shadow:0 4px 14px #0003;cursor:pointer}
 .teco-mc-bar svg{width:27px;height:27px}
 .teco-mc-bar .teco-mc-zalo{background:#0879e8}
 .teco-mc-bar .teco-mc-open{background:#ed1c24}
 .teco-mc-zalo-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:31px;height:27px;border-radius:9px;background:#fff;color:#0879e8;font-size:11px;font-weight:800}
 .teco-mc-bar a:focus-visible,.teco-mc-bar button:focus-visible,.teco-mc-close:focus-visible{outline:3px solid #222;outline-offset:2px}
 .box_fixRight,.box_fixRight2{display:none!important}
 .back-to-top{bottom:calc(18px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:360px){.teco-mc-dialog-inner{padding:22px 16px}}

@keyframes teco-mc-ring{0%,70%,100%{transform:rotate(0)}74%,82%{transform:rotate(-10deg)}78%,86%{transform:rotate(10deg)}90%{transform:rotate(0)}}
@keyframes teco-mc-pulse{0%{transform:scale(1);opacity:.45}75%,100%{transform:scale(1.5);opacity:0}}
@media(max-width:849px){
 .teco-mc-bar>a,.teco-mc-bar>button{position:relative;isolation:isolate}
 .teco-mc-bar>a::before,.teco-mc-bar>button::before{content:"";position:absolute;inset:0;border:2px solid currentColor;border-radius:50%;z-index:-1;pointer-events:none;animation:teco-mc-pulse 2.8s ease-out infinite}
 .teco-mc-bar .teco-mc-zalo::before{color:#0879e8}
 .teco-mc-bar .teco-mc-open::before{color:#ed1c24;animation-delay:1.4s}
 .teco-mc-zalo-icon,.teco-mc-open svg{animation:teco-mc-ring 4s ease-in-out infinite}
 .teco-mc-open svg{animation-delay:1.2s}
 .teco-mc-bar>a:active,.teco-mc-bar>button:active{transform:scale(.93)}
}
@media(prefers-reduced-motion:reduce){.teco-mc-bar>a::before,.teco-mc-bar>button::before,.teco-mc-zalo-icon,.teco-mc-open svg{animation:none}}
