/* Bổ sung cho Tailwind: chi tiết nhỏ của giao diện quản trị */
html, body, #root { height: 100%; }
body { font-family: Inter, system-ui, sans-serif; overflow: hidden; }
.scroll-thin { scrollbar-width: thin; scrollbar-color: #d4d4d8 transparent; }
.scroll-thin::-webkit-scrollbar { width: 8px; height: 8px; }
.scroll-thin::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }

input[type="range"].wb-range { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: #e4e4e7; outline: none; }
input[type="range"].wb-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #18181b; border: 3px solid #fff; box-shadow: 0 0 0 1px #d4d4d8, 0 2px 4px rgba(0,0,0,.15); cursor: pointer; }
input[type="range"].wb-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #18181b; border: 3px solid #fff; box-shadow: 0 0 0 1px #d4d4d8; cursor: pointer; }
input[type="color"].wb-color { -webkit-appearance: none; border: 0; padding: 0; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; background: none; }
input[type="color"].wb-color::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"].wb-color::-webkit-color-swatch { border: 1px solid rgba(0,0,0,.12); border-radius: 8px; }
input[type="color"].wb-color::-moz-color-swatch { border: 1px solid rgba(0,0,0,.12); border-radius: 8px; }

.fade-in { animation: wbFade .2s ease; }
.pop-in { animation: wbPop .22s cubic-bezier(.2,.9,.3,1.2); }
.slide-in-r { animation: wbSlideR .25s ease; }
@keyframes wbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wbPop { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes wbSlideR { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.device-frame { transition: width .45s cubic-bezier(.2,.8,.2,1), border-radius .3s, box-shadow .3s; }
.thumb-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.thumb-card:hover { transform: translateY(-1px); }
.dragging { box-shadow: 0 12px 30px rgba(0,0,0,.18); z-index: 10; position: relative; }
