/* BoostCab floating pill menu (2026-10-10) */

/* Floating circular button */
.bc-fab{position:fixed;left:18px;bottom:24px;z-index:1001;width:56px;height:56px;border-radius:50%;border:none;background:#2b3446;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.45);transition:transform .2s,background .2s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.bc-fab:hover{transform:scale(1.06);background:#374154}
.bc-fab:active{transform:scale(.96)}
.bc-fab svg{width:22px;height:22px}

/* Pill menu - FULL PAGE */
.bc-pill{position:fixed;inset:0;z-index:1001;background:#0c1322;overflow-y:auto;padding:20px;transform:translateY(100%);opacity:0;pointer-events:none;transition:transform .35s cubic-bezier(.32,.72,.3,1),opacity .25s;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.bc-pill.open{transform:translateY(0);opacity:1;pointer-events:auto}

.bc-pill-close{position:sticky;top:0;width:44px;height:44px;border-radius:50%;border:none;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;margin:0 0 16px auto;transition:background .15s}
.bc-pill-close:hover{background:rgba(255,255,255,.16)}
.bc-pill-close svg{width:20px;height:20px}

.bc-pill-nav{display:flex;flex-direction:column;gap:4px;max-width:420px;margin:0 auto}
.bc-pill-item{display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:14px;color:#e8edf5;text-decoration:none;font-size:16px;font-weight:500;transition:background .15s;white-space:nowrap}
.bc-pill-item:hover{background:rgba(255,255,255,.06)}
.bc-pill-item.active{color:#38bdf8;background:rgba(56,189,248,.1)}
.bc-pill-item svg{width:20px;height:20px;flex-shrink:0;opacity:.85}
.bc-pill-item span{flex:1}

/* Collapsible groups */
.bc-pill-group{border-radius:16px}
.bc-pill-ghead{width:100%;display:flex;align-items:center;gap:12px;padding:10px 14px;border:none;background:none;color:#9aa7bd;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;border-radius:16px;transition:background .15s,color .15s;-webkit-tap-highlight-color:transparent}
.bc-pill-ghead:hover{background:rgba(255,255,255,.06);color:#dbe4f0}
.bc-pill-ghead svg{width:18px;height:18px;flex-shrink:0}
.bc-pill-ghead span{flex:1;text-align:left}
.bc-pill-ghead .bc-chev{width:14px;height:14px;transition:transform .25s;opacity:.6}
.bc-pill-group.open .bc-pill-ghead .bc-chev{transform:rotate(180deg)}
.bc-pill-gbody{max-height:0;overflow:hidden;transition:max-height .3s ease}
.bc-pill-group.open .bc-pill-gbody{max-height:600px}
.bc-pill-sub{padding-left:44px;font-size:13.5px;color:#c4cede}
.bc-pill-sub:hover{color:#fff}

/* Dashboard login */
.bc-pill-dash{margin-top:8px;border-top:1px solid rgba(255,255,255,.08);padding-top:14px;color:#38bdf8;font-weight:600}
.bc-pill-dash:hover{background:rgba(56,189,248,.1)}

/* Overlay */
.bc-pill-overlay{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .25s}
.bc-pill-overlay.show{opacity:1;pointer-events:auto}

/* Header login icon */
.bc-header-login{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--opt-bg);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;transition:.2s;flex-shrink:0;text-decoration:none;margin-left:8px}
.bc-header-login:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px)}
.bc-header-login svg{width:19px;height:19px;display:block}

/* Light mode */
html[data-theme="light"] .bc-fab{background:#1e293b}
html[data-theme="light"] .bc-pill{background:#ffffff}
html[data-theme="light"] .bc-pill-close{background:#f1f5f9;color:#1e293b}
html[data-theme="light"] .bc-pill-item{color:#1e293b}
html[data-theme="light"] .bc-pill-item:hover{background:#f1f5f9}
html[data-theme="light"] .bc-pill-ghead{color:#64748b}
html[data-theme="light"] .bc-pill-ghead:hover{color:#1e293b;background:#f1f5f9}
html[data-theme="light"] .bc-pill-sub{color:#475569}
html[data-theme="light"] .bc-pill-dash{border-top-color:#e2e8f0}

/* Small screens */
@media (max-width:480px){
  .bc-fab{left:14px;bottom:18px;width:52px;height:52px}
  .bc-pill{left:14px;bottom:82px;min-width:200px}
}
