/* VietSCI - nút xoá nhanh trong ô tìm kiếm (website, Cổng, App) */
.sx-w { position: relative; min-width: 0; vertical-align: middle; }
.sx-w--host { min-width: 0; }
.sx-w > .sx-in { padding-right: 38px !important; box-sizing: border-box; }
.sx-w > input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.sx-x { position: absolute; top: 50%; right: 8px; z-index: 2; display: none; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: #ecebf3; color: #5b5875; cursor: pointer; transform: translateY(-50%); transition: background .15s, color .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.sx-w.has-v > .sx-x { display: grid; animation: sxIn .15s ease-out; }
.sx-x:hover, .sx-x:focus-visible { background: #1800ad; color: #fff; outline: 0; }
.sx-x:active { transform: translateY(-50%) scale(.92); }
@keyframes sxIn { from { opacity: 0; transform: translateY(-50%) scale(.7); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
@media (pointer: coarse) { .sx-x { width: 28px; height: 28px; right: 6px; } .sx-w > .sx-in { padding-right: 42px !important; } }
