:root{
  --primary:#1e40af;
  --primary-soft:#eef2ff;
  --accent:#0ea5e9;
  --radius:16px;
}
* {font-family:'Prompt','Inter',system-ui,sans-serif}
body{background:#f8fafc;color:#0f172a}
.brand-name{font-family:'Prompt',system-ui,sans-serif}
.navbar .dropdown-toggle::after{opacity:.7}
.card{border:0;border-radius:var(--radius);box-shadow:0 4px 24px rgba(15,23,42,.06)}
.card-header{border-radius:var(--radius) var(--radius) 0 0 !important}
.btn{border-radius:10px;padding:.6rem 1.1rem;font-weight:500}
.btn-primary{background:linear-gradient(135deg,#1e40af,#3b82f6);border:0}
.btn-primary:hover{filter:brightness(1.05)}
.navbar-brand{letter-spacing:.3px}
.hero{ background: linear-gradient(135deg,#0f172a 0%,#1e3a8a 50%,#0ea5e9 100%); color:#fff; border-radius:24px; overflow:hidden; position:relative}
.hero::after{content:"";position:absolute;inset:0;background:radial-gradient(600px 300px at 80% 20%,rgba(255,255,255,.15),transparent)}
.stat-card{border-radius:16px;background:#fff;padding:1.2rem;border:1px solid #e2e8f0}
.stat-icon{width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem}
.table thead th{font-weight:600;color:#475569;font-size:.85rem;text-transform:uppercase;letter-spacing:.4px;background:#f8fafc;border-bottom-width:1px}
.badge-soft{padding:.4em .7em;border-radius:999px;font-weight:500}
.auth-card{max-width:460px;margin:2rem auto}
.qr-box{background:#fff;border:2px dashed #cbd5e1;border-radius:16px;padding:1.5rem;text-align:center}
.notification-dot{width:8px;height:8px;background:#ef4444;border-radius:50%;display:inline-block}
.package-card{transition:.2s;border:1px solid #e2e8f0;overflow:hidden}
.package-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(15,23,42,.12);border-color:#3b82f6}
.package-img-wrapper{aspect-ratio:4/3;overflow:hidden;background:#f1f5f9;position:relative}
.package-img-wrapper img{transition:transform .5s ease}
.package-card:hover .package-img-wrapper img{transform:scale(1.05)}
.package-img{width:100%;height:100%;object-fit:cover}
.package-img-thumb{width:110px;aspect-ratio:4/3;overflow:hidden;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc}
.price{font-size:1.8rem;font-weight:700;color:var(--primary)}
.sidebar{position:sticky;top:76px}
.sidebar .nav-link{color:#334155;border-radius:10px;padding:.6rem .9rem}
.sidebar .nav-link.active{background:var(--primary-soft);color:var(--primary);font-weight:600}
.sidebar .nav-link:hover{background:#f1f5f9}
@media (max-width:991px){.sidebar{position:static}}
/* ===== Support Live Chat (ProDeeToDay) ===== */
.chat-wrap{display:flex;flex-direction:column;height:560px;max-height:70vh;background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden}
.chat-head{background:linear-gradient(135deg,#0f172a,#1e40af 60%,#0ea5e9);color:#fff;padding:.8rem 1rem;display:flex;align-items:center;gap:.7rem}
.chat-head .avatar{width:40px;height:40px;border-radius:12px;background:#fff;color:#0ea5e9;display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}
.chat-head .status-dot{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.25);display:inline-block}
.chat-body{flex:1;overflow-y:auto;padding:1rem;background:linear-gradient(180deg,#f8fafc,#eef2ff);display:flex;flex-direction:column;gap:.5rem}
.chat-msg{max-width:78%;padding:.55rem .85rem;border-radius:14px;font-size:.92rem;line-height:1.5;word-break:break-word;box-shadow:0 1px 4px rgba(15,23,42,.08)}
.chat-msg.me{align-self:flex-end;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;border-bottom-right-radius:4px}
.chat-msg.them{align-self:flex-start;background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-bottom-left-radius:4px}
.chat-msg.sys{align-self:center;background:#fef9c3;color:#854d0e;font-size:.8rem;border:1px dashed #facc15;max-width:92%;text-align:center}
.chat-meta{font-size:.68rem;opacity:.65;margin-top:2px}
.chat-input{display:flex;gap:.5rem;padding:.7rem;background:#fff;border-top:1px solid #e2e8f0}
.chat-input input{flex:1;border:1px solid #cbd5e1;border-radius:12px;padding:.6rem .9rem;outline:none}
.chat-input input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.15)}
.chat-typing{font-size:.75rem;color:#64748b;font-style:italic}
.chat-wrap-tall{height:640px;max-height:calc(100vh - 250px);min-height:480px}
.chat-side .card{margin-bottom:1rem}
.room-item.active{background:var(--primary-soft);border-color:#3b82f6}
.hero-compact{border-radius:20px}
/* floating widget */
#supFab{position:fixed;right:18px;bottom:18px;z-index:1050;width:56px;height:56px;border-radius:50%;border:0;background:linear-gradient(135deg,#1e40af,#0ea5e9);color:#fff;font-size:1.5rem;box-shadow:0 10px 28px rgba(30,64,175,.4);display:flex;align-items:center;justify-content:center}
#supFab:hover{filter:brightness(1.08)}
#supFab .unread{position:absolute;top:-4px;right:-4px;background:#ef4444;color:#fff;font-size:.7rem;min-width:22px;height:22px;border-radius:11px;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff}
#supFab{transition:transform .2s ease}
#supFab:hover{transform:scale(1.06)}
#supPanel{position:fixed;right:18px;bottom:84px;z-index:1050;width:360px;max-width:calc(100vw - 36px);height:480px;max-height:70vh;display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(15,23,42,.25);border:1px solid #e2e8f0;transform-origin:bottom right;transition:opacity .22s ease,transform .22s ease,visibility .22s;opacity:0;visibility:hidden;transform:scale(.85) translateY(12px);pointer-events:none}
#supPanel.open{opacity:1;visibility:visible;transform:scale(1) translateY(0);pointer-events:auto}
#supPanel .chat-wrap{border:0;border-radius:0;height:100%;max-height:none}
@media (max-width:576px){#supPanel{right:10px;bottom:84px}}
