/* Seller dashboard demo (/seller/demo) — banner, toast and guided-tour layer.
   Builds on admin.css tokens; nothing here is used by the real dashboard. */

.sd-banner{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.6rem;
  background:linear-gradient(90deg, var(--ad-accent-dk), #c2416b); color:#fff;
  padding:.55rem 1.25rem; font-size:.88rem;
}
.sd-banner i{ margin-inline-end:.3rem; }
.sd-banner-actions{ display:flex; gap:.5rem; flex-wrap:wrap; }
.sd-banner-btn{
  border:1px solid rgba(255,255,255,.55); background:transparent; color:#fff; border-radius:999px;
  padding:.3rem .9rem; font-weight:700; font-size:.82rem; text-decoration:none; cursor:pointer;
}
.sd-banner-btn:hover{ background:rgba(255,255,255,.15); color:#fff; }
.sd-banner-btn-accent{ background:#fff; color:var(--ad-accent-dk); border-color:#fff; }
.sd-banner-btn-accent:hover{ background:#ffeef3; color:var(--ad-accent-dk); }

.sd-shell .rh-admin-sidebar{ height:100vh; }

.sd-demo-note{
  display:flex; gap:.5rem; align-items:flex-start;
  background:#EFE9FB; color:#5F44A5; border-radius:10px; padding:.6rem .85rem; font-size:.84rem; margin-bottom:1rem;
}
.sd-thumb{
  width:100%; aspect-ratio:1/1; border-radius:10px; margin-bottom:.5rem;
  display:flex; align-items:center; justify-content:center; font-size:2.4rem; color:#fff;
}
.sd-thumb img{ width:100%; height:100%; object-fit:cover; border-radius:10px; }
.sd-thumb-sm{ width:44px; height:44px; font-size:1.1rem; margin:0; border-radius:8px; }
.sd-gallery{ display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.6rem; }
.sd-gallery .sd-thumb{ width:84px; height:84px; margin:0; font-size:1.6rem; }
.sd-bars{ display:grid; gap:.45rem; }
.sd-bar-row{ display:grid; grid-template-columns:minmax(0,1.3fr) 3fr auto; gap:.6rem; align-items:center; font-size:.85rem; }
.sd-bar-row span:first-child{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sd-bar{ height:10px; background:var(--ad-bg); border-radius:999px; overflow:hidden; }
.sd-bar > i{ display:block; height:100%; background:var(--ad-accent); border-radius:999px; }
.sd-week{ display:flex; align-items:flex-end; gap:.4rem; height:120px; padding-top:.5rem; }
.sd-week div{ flex:1; display:flex; flex-direction:column; align-items:center; gap:.3rem; font-size:.72rem; color:var(--ad-ink-soft); height:100%; justify-content:flex-end; }
.sd-week b{ display:block; width:100%; max-width:34px; background:var(--ad-espresso); border-radius:6px 6px 0 0; }
.sd-preview-row{ display:flex; align-items:center; gap:.75rem; padding:.5rem 0; border-bottom:1px solid var(--ad-border); }
.sd-preview-row:last-child{ border-bottom:0; }
.sd-preview-row .sd-grow{ flex:1; min-width:0; }

/* Toast */
.sd-toast{
  position:fixed; inset-inline:0; bottom:1.25rem; margin:auto; width:max-content; max-width:calc(100% - 32px);
  background:var(--ad-side); color:#fff; padding:.65rem 1.1rem; border-radius:12px; font-size:.88rem;
  box-shadow:0 10px 30px rgba(0,0,0,.25); z-index:2000; opacity:0; transform:translateY(12px);
  pointer-events:none; transition:opacity .2s ease, transform .2s ease;
}
.sd-toast.show{ opacity:1; transform:none; }

/* Guided tour */
.sd-tour-blocker{ position:fixed; inset:0; z-index:1900; }
.sd-tour-spot{
  position:fixed; z-index:1901; border-radius:14px; pointer-events:none;
  box-shadow:0 0 0 3px var(--ad-accent), 0 0 0 9999px rgba(20,12,8,.62);
  transition:top .25s ease, left .25s ease, width .25s ease, height .25s ease;
}
.sd-tour-spot.sd-center{ width:0 !important; height:0 !important; top:50% !important; left:50% !important; box-shadow:0 0 0 9999px rgba(20,12,8,.62); }
.sd-tour-pop{
  position:fixed; z-index:1902; width:min(380px, calc(100vw - 32px));
  background:var(--ad-surface); color:var(--ad-ink); border-radius:16px; padding:1.1rem 1.2rem 1rem;
  box-shadow:0 18px 50px rgba(0,0,0,.3);
}
.sd-tour-pop h4{ font-size:1.05rem; margin:0 0 .45rem; display:flex; gap:.5rem; align-items:center; }
.sd-tour-pop h4 i{ color:var(--ad-accent-dk); }
.sd-tour-pop p{ margin:0 0 .5rem; font-size:.9rem; line-height:1.7; }
.sd-tour-pop ul{ margin:0 0 .5rem; padding-inline-start:1.1rem; font-size:.86rem; line-height:1.7; }
.sd-tour-foot{ display:flex; align-items:center; gap:.5rem; margin-top:.8rem; }
.sd-tour-count{ flex:1; color:var(--ad-ink-soft); font-size:.8rem; }
.sd-tour-dots{ display:flex; gap:4px; margin-top:.2rem; }
.sd-tour-dots i{ width:6px; height:6px; border-radius:50%; background:var(--ad-border); }
.sd-tour-dots i.on{ background:var(--ad-accent-dk); }
.sd-tour-close{ position:absolute; top:.55rem; inset-inline-end:.6rem; border:0; background:transparent; color:var(--ad-ink-soft); font-size:1.1rem; cursor:pointer; padding:.2rem .4rem; }
.sd-tour-ctas{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.6rem; }

@media (max-width:575px){
  .sd-banner{ padding:.5rem 16px; }
  .sd-tour-pop{ left:16px !important; right:16px; width:auto; top:auto !important; bottom:16px !important; }
  .sd-bar-row{ grid-template-columns:minmax(0,1fr) 1.4fr auto; }
}
@media (prefers-reduced-motion:reduce){
  .sd-tour-spot, .sd-toast{ transition:none; }
}
