/*
  AstruSocial base styles
  --------------------
  Theme: Bootstrap 5.3.8 defaults for light mode + an OpenArt-inspired dark mode.
  We keep most styling Bootstrap-native and layer on:
  - small compatibility aliases (the --vq-* tokens map to Bootstrap variables)
  - structural/layout helpers used by the app shell and Home/Index showcases
  - dark-mode variable overrides and component styling for the shared shell
*/

/* Compatibility aliases (do not change Bootstrap; just map to it) */
:root{
  --vq-bg: var(--bs-body-bg);
  --vq-bg-2: var(--bs-body-bg);
  --vq-surface: var(--bs-body-bg);
  --vq-surface-2: var(--bs-tertiary-bg);
  --vq-surface-solid: var(--bs-body-bg);
  --vq-surface-elev: var(--bs-tertiary-bg);
  --vq-text: var(--bs-body-color);
  --vq-muted: var(--bs-secondary-color);
  --vq-border: var(--bs-border-color);
  --vq-primary: var(--bs-primary);
  --vq-primary-2: var(--bs-primary);
  --vq-radius: var(--bs-border-radius);
  --vq-shadow: none;
}

/* Base */
.vq-body{ min-height: 100vh; }
/* When the public top nav is fixed, add a safe spacer so content doesn't hide under it */
body.vq-has-fixed-topnav{ padding-top: var(--vq-topnav-h, 72px); }
.vq-nav{ background-color: var(--bs-body-bg); }

/* Logo */
.vq-logo{
  font-weight: 800;
  letter-spacing: -.03em;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.vq-logo-sm{ font-size: 1.05rem; }

.vq-brandmark{
  display:inline-block;
  width:auto;
  height:40px;
  object-fit:contain;
  vertical-align:middle;
  flex:0 0 auto;
}
.vq-brandmark-sm{
  height:32px;
}
.vq-brandwrap{
  display:inline-flex;
  align-items:center;
  line-height:0;
  flex:0 0 auto;
}
.vq-brandmark-dark{
  display:none;
}
html[data-bs-theme="dark"] .vq-brandmark-light{
  display:none;
}
html[data-bs-theme="dark"] .vq-brandmark-dark{
  display:inline-block;
}

/* ---------- App shell (sidebar + content) ---------- */
.vq-app-shell{
  --sd-app-sidebar-width: 280px;
  display:grid;
  grid-template-columns: var(--sd-app-sidebar-width) 1fr;
  min-height: 100vh;
}
@media (max-width: 991.98px){
  .vq-app-shell{ grid-template-columns: 1fr; }
}

.vq-sidebar-mobile-head{
  display: none;
}

.vq-sidebar-backdrop{
  display: none;
}

.vq-sidebar{
  background-color: var(--bs-tertiary-bg);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}

.vq-main{ min-width: 0; }
.vq-app-topbar{
  background-color: var(--bs-body-bg);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.vq-app-content{ padding: 0; }


@media (max-width: 991.98px){
  body.vq-mobile-sidebar-open{
    overflow: hidden;
  }

  .vq-app-shell{
    position: relative;
  }

  .vq-sidebar{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 320px);
    height: 100dvh;
    max-height: 100dvh;
    z-index: 1045;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.35);
    border-right: var(--bs-border-width) solid var(--bs-border-color);
  }

  .vq-app-shell.vq-sidebar-open .vq-sidebar{
    transform: translateX(0);
  }

  .vq-sidebar-mobile-head{
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 1rem;
    background: var(--bs-body-bg);
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
  }

  .vq-sidebar-backdrop{
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,.48);
    transition: opacity .22s ease;
  }

  .vq-app-shell.vq-sidebar-open .vq-sidebar-backdrop{
    opacity: 1;
    pointer-events: auto;
  }

  .vq-main{
    width: 100%;
  }

  .vq-app-topbar{
    z-index: 1030;
  }
}

@media (min-width: 992px){
  .vq-sidebar-backdrop,
  .vq-sidebar-mobile-head{
    display: none !important;
  }
}

/* Desktop app shell: keep sidebar and main content scrolling independently.
   The body itself should not scroll inside the logged-in app; only the
   left navigation column and the right content column should scroll. */
@media (min-width: 992px){
  html,
  body.vq-body.vq-app{
    height: 100%;
  }

  body.vq-body.vq-app{
    min-height: 100vh;
    overflow: hidden;
  }

  .vq-app-shell{
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .vq-sidebar{
    position: relative;
    top: auto;
    align-self: stretch;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .vq-main{
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .vq-app-topbar{
    flex: 0 0 auto;
    position: relative;
    top: auto;
    z-index: 1020;
  }

  .vq-app-content{
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Sidebar links */
.vq-navgroup .vq-side-link{
  width: 100%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .65rem;
  border-radius: var(--bs-border-radius);
  text-decoration: none;
  color: var(--bs-body-color);
  opacity: .85;
  border: var(--bs-border-width) solid transparent;
}
.vq-navgroup .vq-side-link:hover,
.vq-navgroup .vq-side-link:focus{
  opacity: 1;
  background: var(--bs-secondary-bg);
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}
.vq-navgroup .vq-side-link.active{
  opacity: 1;
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary-border-subtle);
  color: var(--bs-body-color);
}
.display-5 {
    font-size: calc(0.125rem + 2.1vw);
    font-size: calc(0.02rem + 2.1vw);
}

.vq-navgroup .vq-side-link-button{
  justify-content: space-between;
  background: transparent;
}
.vq-navgroup .vq-side-link-button .vq-story-caret{
  transition: transform .2s ease;
}
.vq-navgroup .vq-side-link-button.story-open .vq-story-caret{
  transform: rotate(180deg);
}
.vq-story-submenu{
  display: none;
  padding-left: .65rem;
  margin-top: .25rem;
}
.vq-story-submenu.show{
  display: block;
}
.vq-navgroup .vq-side-link-sub{
  font-size: .95rem;
  padding-top: .45rem;
  padding-bottom: .45rem;
  padding-left: 2rem;
  opacity: .8;
}

/* ---------- Common app helpers ---------- */
.vq-glass,
.vq-card{
  background: var(--bs-body-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.vq-card{
  padding: 1rem;
}

.vq-icon{
  width: 44px;
  height: 44px;
  border-radius: var(--bs-border-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-secondary-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.vq-pill,
.vq-pill-sm{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  border-radius: 999px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
  font-weight: 600;
}
.vq-pill{ padding: .35rem .6rem; font-size: .875rem; }
.vq-pill-sm{ padding: .2rem .5rem; font-size: .78rem; }

.vq-badge-soft{
  display:inline-flex;
  align-items:center;
  border-radius: 999px;
  padding: .18rem .5rem;
  font-weight: 600;
  font-size: .78rem;
  background: var(--bs-secondary-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  color: var(--bs-body-color);
}

/* ---------- Scriptwriter duration preset buttons ---------- */
.vq-duration-preset{ min-width: 56px; }

/* ---------- Global showcases (Home/Index) ---------- */
.vq-thumb-grid{ overflow: visible; }

.vq-thumb-tile{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  display:flex;
  align-items:center;
  justify-content:center;
}
.vq-thumb-tile img,
.vq-thumb-tile video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.vq-square-tile{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  display:flex;
  align-items:center;
  justify-content:center;
}
.vq-square-tile img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.vq-thumb-meta{ min-height: 74px; }

.vq-play-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  color:#fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* ---------- Loading overlay ---------- */
.vq-loading-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.vq-loading-overlay.show{ display:flex; }

.vq-loading-content{
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  padding: 2rem 3rem;
  border-radius: var(--bs-border-radius);
  text-align: center;
  border: var(--bs-border-width) solid var(--bs-border-color);
}
.vq-spinner{
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0,0,0,.12);
  border-top: 4px solid var(--bs-primary);
  border-radius: 50%;
  animation: vq-spin 1s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes vq-spin{ to{ transform: rotate(360deg); } }


/* ---------- Index2 (legacy home) template styles ---------- */
.vq-legacy-body{
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 800px at 20% 0%, rgba(167,139,250,.18), transparent 60%),
                radial-gradient(1100px 700px at 90% 20%, rgba(96,165,250,.14), transparent 55%),
                radial-gradient(900px 600px at 50% 100%, rgba(247,201,72,.10), transparent 60%),
                var(--vq-bg);
    color: var(--vq-text);
    min-height: 100vh;
    overflow: hidden;
}

.vq-legacy-announcement{
    height: 40px;
    display:flex;
    align-items:center;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.vq-legacy-announcement-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
}
.vq-legacy-announcement-text{
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.01em;
}
.vq-legacy-announcement-link{
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display:inline-flex;
    align-items:center;
    gap: 4px;
}
.vq-legacy-announcement-link:hover{ color: #fff; }

.vq-legacy-topbar{
    height: 56px;
    display:flex;
    align-items:center;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(10,11,15,.72);
    backdrop-filter: blur(12px);
}
.vq-legacy-brand{ color: rgba(255,255,255,.92); }
.vq-legacy-brand:hover{ color:#fff; }

.vq-legacy-pill-link{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.85);
}
.vq-legacy-pill-link:hover{ background: rgba(255,255,255,.10); color:#fff; }

.vq-legacy-btn-ghost{
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.86);
    border-radius: 10px;
    padding: 6px 12px;
}
.vq-legacy-btn-ghost:hover{
    background: rgba(255,255,255,.06);
    color:#fff;
    border-color: rgba(255,255,255,.18);
}
.vq-legacy-btn-primary{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    border-radius: 10px;
    padding: 6px 12px;
}
.vq-legacy-btn-primary:hover{
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.20);
    color:#fff;
}

.vq-legacy-shell{
    height: calc(100vh - 40px - 56px);
    display:flex;
    width: 100%;
}

.vq-legacy-rail{
    width: 86px;
    flex: 0 0 86px;
    border-right: 1px solid rgba(255,255,255,.08);
    background: rgba(10,11,15,.60);
    backdrop-filter: blur(10px);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding: 10px 8px;
}

.vq-legacy-rail-top, .vq-legacy-rail-bottom{
    display:flex;
    flex-direction:column;
    gap: 8px;
}

.vq-legacy-rail-item{
    position: relative;
    width: 70px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 8px 6px 6px;
    text-decoration: none;
    color: rgba(255,255,255,.70);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 4px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.vq-legacy-rail-item:hover{
    background: rgba(255,255,255,.06);
    color:#fff;
}
.vq-legacy-rail-item.active{
    background: rgba(96,165,250,.16);
    border: 1px solid rgba(96,165,250,.22);
    color:#fff;
}

.vq-legacy-rail-icon{
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}
.vq-legacy-rail-item.active .vq-legacy-rail-icon{
    background: rgba(96,165,250,.18);
    border-color: rgba(96,165,250,.25);
}
.vq-legacy-rail-icon i{ font-size: 18px; }

.vq-legacy-rail-label{
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -.01em;
    opacity: .95;
}

.vq-legacy-rail-divider{
    height: 1px;
    width: 70px;
    margin: 4px auto;
    background: rgba(255,255,255,.10);
}

.vq-legacy-rail-badge{
    position:absolute;
    top: -6px;
    right: -2px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.10));
    border: 1px solid rgba(255,255,255,.16);
    color:#fff;
}
.vq-legacy-rail-badge-pink{
    background: linear-gradient(180deg, rgba(247,91,255,.20), rgba(255,255,255,.10));
    border-color: rgba(247,91,255,.24);
}

.vq-legacy-main{
    flex: 1 1 auto;
    overflow: hidden;
}
.vq-legacy-main-inner{
    height: 100%;
    overflow-y: auto;
    padding: 18px 18px 0;
}

.vq-legacy-h1{
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: rgba(255,255,255,.92);
    margin-bottom: 14px;
}

.vq-legacy-tabs{
    display:flex;
    align-items:center;
    gap: 10px;
    margin-bottom: 18px;
}
.vq-legacy-tab{
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.90);
    font-weight: 700;
    font-size: 20px;
    padding: 6px 0;
    line-height: 1.1;
    display:inline-flex;
    align-items:center;
    gap: 6px;
}
.vq-legacy-tab:not(.active){ color: rgba(255,255,255,.55); }
.vq-legacy-tab-info{ font-size: 12px; opacity: .75; }
.vq-legacy-tab-sep{
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,.22);
}

.vq-legacy-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    margin-top: 2px;
    margin-bottom: 12px;
}
.vq-legacy-section-title{
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
}
.vq-legacy-section-more{
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.90);
    text-decoration:none;
}
.vq-legacy-section-more:hover{ color:#fff; }

.vq-legacy-templates{
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vq-legacy-template{
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 190px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
}
.vq-legacy-template:before{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(600px 260px at 20% 0%, rgba(255,255,255,.16), transparent 60%),
                linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.58) 86%);
    z-index: 1;
}
.vq-legacy-template-tag{
    position:absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: rgba(255,255,255,.92);
    background: rgba(171,160,255,.18);
    border: 1px solid rgba(171,160,255,.22);
    padding: 6px 10px;
    border-radius: 10px;
}
.vq-legacy-tag-violet{
    background: rgba(171,160,255,.18);
    border-color: rgba(171,160,255,.24);
}
.vq-legacy-tag-green{
    background: rgba(64,255,131,.14);
    border-color: rgba(64,255,131,.20);
}
.vq-legacy-tag-amber{
    background: rgba(247,201,72,.14);
    border-color: rgba(247,201,72,.22);
}

.vq-legacy-template-body{
    position:absolute;
    left: 14px;
    bottom: 16px;
    z-index: 2;
    padding-right: 80px;
}
.vq-legacy-template-title{
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 4px;
}
.vq-legacy-template-sub{
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.72);
}

.vq-legacy-template-btn{
    position:absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: calc(100% - 28px);
    text-align:center;
    text-decoration:none;
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-weight: 800;
}
.vq-legacy-template-btn:hover{
    background: rgba(0,0,0,.40);
    border-color: rgba(255,255,255,.18);
    color:#fff;
}

/* Card backgrounds */
.vq-legacy-bg-1{ background: radial-gradient(850px 360px at 20% 0%, rgba(171,160,255,.35), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-bg-2{ background: radial-gradient(850px 360px at 20% 0%, rgba(96,165,250,.30), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-bg-3{ background: radial-gradient(850px 360px at 20% 0%, rgba(64,255,131,.24), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-bg-4{ background: radial-gradient(850px 360px at 20% 0%, rgba(247,201,72,.26), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }

.vq-legacy-model-banner{
    margin-top: 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    position: relative;
    min-height: 140px;
}
.vq-legacy-model-banner-bg{
    position:absolute;
    inset:0;
    background:
        radial-gradient(1000px 500px at 0% 40%, rgba(96,165,250,.24), transparent 60%),
        radial-gradient(900px 420px at 75% 10%, rgba(247,91,255,.18), transparent 55%),
        linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.50));
}
.vq-legacy-model-banner-inner{
    position: relative;
    z-index: 1;
    padding: 16px;
}
.vq-legacy-model-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color:#fff;
    margin-bottom: 8px;
}
.vq-legacy-model-title{
    font-size: 16px;
    font-weight: 900;
    color:#fff;
    letter-spacing: -.02em;
}
.vq-legacy-model-desc{
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.70);
    max-width: 900px;
}
.vq-legacy-model-cta{
    display:inline-flex;
    align-items:center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 800;
    color:#fff;
    text-decoration:none;
}
.vq-legacy-model-cta:hover{ color:#fff; text-decoration: underline; }

.vq-legacy-chips{
    display:flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content:flex-end;
}
.vq-legacy-chip{
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.75);
    font-weight: 700;
    font-size: 12px;
}
.vq-legacy-chip:hover{
    background: rgba(255,255,255,.09);
    color:#fff;
}
.vq-legacy-chip.active{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.16);
    color:#fff;
}

.vq-legacy-grid{
    margin-top: 12px;
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: 14px;
    padding-bottom: 24px;
}

.vq-legacy-card{
    position: relative;
    border-radius: 14px;
    overflow:hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    text-decoration:none;
    color: #fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
}
.vq-legacy-card:before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to bottom, transparent 52%, rgba(0,0,0,.62) 92%);
    z-index: 1;
}
.vq-legacy-card-top{
    position: relative;
    z-index: 2;
    padding: 10px;
    display:flex;
    gap: 8px;
    align-items:center;
}
.vq-legacy-card-chip{
    display:inline-flex;
    align-items:center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,.80);
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}
.vq-legacy-card-title{
    position: relative;
    z-index: 2;
    padding: 0 12px 12px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vq-legacy-card.span-2{ grid-column: span 2; }
.vq-legacy-card.wide{ grid-column: span 2; }
.vq-legacy-card.tall{ grid-row: span 2; }

.vq-legacy-card:hover{
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.16);
    color:#fff;
}

.vq-legacy-card-bg-1{ background: radial-gradient(900px 380px at 20% 0%, rgba(171,160,255,.32), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-2{ background: radial-gradient(900px 380px at 20% 0%, rgba(96,165,250,.28), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-3{ background: radial-gradient(900px 380px at 20% 0%, rgba(247,91,255,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-4{ background: radial-gradient(900px 420px at 20% 0%, rgba(64,255,131,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-5{ background: radial-gradient(900px 380px at 20% 0%, rgba(247,201,72,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-6{ background: radial-gradient(900px 380px at 20% 0%, rgba(96,165,250,.20), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-7{ background: radial-gradient(900px 380px at 20% 0%, rgba(171,160,255,.22), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }
.vq-legacy-card-bg-8{ background: radial-gradient(900px 380px at 20% 0%, rgba(247,91,255,.18), rgba(0,0,0,.10) 55%), rgba(255,255,255,.04); }

.vq-legacy-footer-spacer{
    height: 24px;
}

/* Responsive tweaks */
@media (max-width: 1199.98px){
    .vq-legacy-templates{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vq-legacy-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
    .vq-legacy-card.span-2, .vq-legacy-card.wide{ grid-column: span 2; }
}
@media (max-width: 767.98px){
    .vq-legacy-rail{ display:none; }
    .vq-legacy-shell{ height: calc(100vh - 40px - 56px); }
    .vq-legacy-main-inner{ padding: 14px 14px 0; }
    .vq-legacy-templates{ grid-template-columns: 1fr; }
    .vq-legacy-grid{ grid-template-columns: 1fr; grid-auto-rows: 190px; }
    .vq-legacy-card.span-2, .vq-legacy-card.wide{ grid-column: span 1; }
    .vq-legacy-card.tall{ grid-row: span 1; }
    .vq-legacy-chips{ justify-content:flex-start; }
}


.vq-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vq-play-overlay i {
    font-size: 2.5rem;
    opacity: .85;
    text-shadow: 0 8px 18px rgba(0,0,0,.35);
}
/* Light mode tweak: make text ~30% darker than Bootstrap defaults */
[data-bs-theme="light"] {
    --bs-body-color: #000; /* #171A1D; */
    --bs-body-color-rgb: 23,26,29;
    --bs-emphasis-color: #111315;
    --bs-emphasis-color-rgb: 17,19,21;
    --bs-secondary-color: #111; /* rgba(23,26,29,.75); */
    --bs-secondary-rgb: 0,0,0;
    --bs-tertiary-color: rgba(23,26,29,.5);
    --bs-btn-color: #333; /* #6c757d; */
}

/*.text-secondary {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-secondary-rgb),var(--bs-text-opacity)) !important;
}*/
    /* Placeholders can be too faint in light mode; darken slightly */
    [data-bs-theme="light"] .form-control::placeholder,
    [data-bs-theme="light"] .form-select::placeholder,
    [data-bs-theme="light"] textarea::placeholder {
        color: rgba(23,26,29,.55);
        opacity: 1;
    }

    [data-bs-theme="light"] .btn-outline-secondary {
        color: #222; /* #6c757d;  */
    }

/* -------------------- OpenArt-inspired dark mode --------------------
   Goal: deep near-black surfaces, luminous violet/cyan accents,
   glossy layered panels, and brighter CTA buttons.
*/
html[data-bs-theme="dark"] {
    --bs-body-bg: #06070d;
    --bs-body-bg-rgb: 6,7,13;
    --bs-body-color: #f4f6ff;
    --bs-body-color-rgb: 244,246,255;
    --bs-emphasis-color: #ffffff;
    --bs-emphasis-color-rgb: 255,255,255;
    --bs-secondary-color: rgba(244,246,255,.72);
    --bs-secondary-rgb: 244,246,255;
    --bs-tertiary-color: rgba(244,246,255,.54);
    --bs-tertiary-bg: #0d1019;
    --bs-tertiary-bg-rgb: 13,16,25;
    --bs-secondary-bg: #141827;
    --bs-secondary-bg-rgb: 20,24,39;
    --bs-border-color: rgba(168,147,255,.14);
    --bs-link-color: #ab9cff;
    --bs-link-hover-color: #c8baff;
    --bs-primary: #8b5cf6;
    --bs-primary-rgb: 139,92,246;
    --bs-primary-bg-subtle: rgba(139,92,246,.18);
    --bs-primary-border-subtle: rgba(139,92,246,.34);
    --bs-success: #33d59b;
    --bs-success-rgb: 51,213,155;
    --bs-info: #44d4ff;
    --bs-info-rgb: 68,212,255;
}

html[data-bs-theme="dark"] body.vq-body {
    background:
        radial-gradient(1100px 620px at 12% -10%, rgba(139,92,246,.22), transparent 60%),
        radial-gradient(920px 520px at 88% 8%, rgba(68,212,255,.13), transparent 48%),
        radial-gradient(900px 560px at 50% 105%, rgba(255,110,183,.10), transparent 58%),
        linear-gradient(180deg, #06070d 0%, #080a12 48%, #05060b 100%);
    background-attachment: fixed;
}

html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .vq-sidebar,
html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer {
    background: rgba(9,11,18,.82) !important;
    border-color: rgba(255,255,255,.06) !important;
    backdrop-filter: blur(14px);
}

html[data-bs-theme="dark"] .vq-sidebar {
    background:
        linear-gradient(180deg, rgba(10,11,18,.95), rgba(10,12,20,.98));
    box-shadow: inset -1px 0 0 rgba(255,255,255,.03);
}

html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav {
    box-shadow: 0 10px 32px rgba(0,0,0,.28);
}

html[data-bs-theme="dark"] .vq-logo {
    color: #fff;
    text-shadow: 0 0 18px rgba(139,92,246,.20);
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-dark {
    background:
        linear-gradient(180deg, rgba(20,24,39,.94) 0%, rgba(13,16,25,.98) 100%) !important;
    border-color: rgba(255,255,255,.07) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

html[data-bs-theme="dark"] .vq-icon,
html[data-bs-theme="dark"] .vq-pill,
html[data-bs-theme="dark"] .vq-pill-sm,
html[data-bs-theme="dark"] .vq-badge-soft,
html[data-bs-theme="dark"] .nav-pills,
html[data-bs-theme="dark"] .nav-tabs,
html[data-bs-theme="dark"] .input-group-text {
    background: rgba(255,255,255,.04) !important;
    border-color: rgba(255,255,255,.08) !important;
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.08);
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active {
    background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(68,212,255,.10));
    border-color: rgba(139,92,246,.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(72,37,148,.18);
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-select:disabled {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.08);
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] .form-select::placeholder,
html[data-bs-theme="dark"] textarea::placeholder {
    color: rgba(244,246,255,.48);
    opacity: 1;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus {
    background: rgba(255,255,255,.04);
    border-color: rgba(139,92,246,.42);
    box-shadow: 0 0 0 .2rem rgba(139,92,246,.16);
    color: var(--bs-body-color);
}

html[data-bs-theme="dark"] select.form-select {
    color-scheme: dark;
}

html[data-bs-theme="dark"] .form-select option {
    color: #333333 !important;
    background-color: #ffffff !important;
}



/* Dark mode select dropdown arrows
   Ensures Bootstrap .form-select and plain <select> controls keep a visible down-arrow on dark backgrounds. */
:root {
    --slamdunk-select-arrow-dark: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f8f9fa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

html[data-bs-theme="dark"] {
    --bs-form-select-bg-img: var(--slamdunk-select-arrow-dark);
}

html[data-bs-theme="dark"] select,
html[data-bs-theme="dark"] .form-select {
    color-scheme: dark;
}

html[data-bs-theme="dark"] .form-select {
    --bs-form-select-bg-img: var(--slamdunk-select-arrow-dark);
    background-image: var(--slamdunk-select-arrow-dark) !important;
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]):not(.form-select) {
    padding-right: 2.25rem;
    background-image: var(--slamdunk-select-arrow-dark) !important;
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary {
    background: linear-gradient(135deg, #7c5cff 0%, #a855f7 55%, #ff6eb7 100%);
    border-color: rgba(255,255,255,.06);
    color: #fff;
    box-shadow: 0 12px 28px rgba(124,92,255,.28), inset 0 1px 0 rgba(255,255,255,.14);
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus {
    background: linear-gradient(135deg, #8b6bff 0%, #b765ff 55%, #ff82c2 100%);
    border-color: rgba(255,255,255,.10);
    color: #fff;
    box-shadow: 0 16px 34px rgba(124,92,255,.34), inset 0 1px 0 rgba(255,255,255,.16);
}

html[data-bs-theme="dark"] .btn-outline-primary {
    color: #d8cfff;
    border-color: rgba(139,92,246,.34);
    background: rgba(139,92,246,.08);
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus {
    color: #fff;
    border-color: rgba(139,92,246,.48);
    background: rgba(139,92,246,.18);
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
    color: rgba(244,246,255,.88);
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-bs-theme="dark"] .btn-outline-light:focus {
    color: #fff;
    border-color: rgba(139,92,246,.28);
    background: linear-gradient(135deg, rgba(139,92,246,.16), rgba(68,212,255,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

html[data-bs-theme="dark"] .badge,
html[data-bs-theme="dark"] .text-bg-secondary,
html[data-bs-theme="dark"] .text-bg-light {
    border: 1px solid rgba(255,255,255,.08);
}

html[data-bs-theme="light"] .badge {
        color: #333;
    }

html[data-bs-theme="dark"] .text-bg-secondary {
    color: #f4f6ff !important;
    background: rgba(255,255,255,.05) !important;
}

html[data-bs-theme="dark"] .text-bg-light {
    color: #f4f6ff !important;
    background: rgba(255,255,255,.04) !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
    --bs-table-bg: transparent;
    --bs-table-color: var(--bs-body-color);
    --bs-table-border-color: rgba(255,255,255,.08);
}

html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .link-secondary {
    color: rgba(244,246,255,.84);
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-bs-theme="dark"] .navbar-brand:hover,
html[data-bs-theme="dark"] .link-secondary:hover {
    color: #fff;
}

html[data-bs-theme="dark"] .navbar-toggler,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end {
    border-color: rgba(255,255,255,.08) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: rgba(255,255,255,.02);
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(139,92,246,.40), rgba(68,212,255,.24));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(139,92,246,.58), rgba(68,212,255,.34));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* -------------------- Index2 / PixVerse-inspired public landing -------------------- */
.pv-page{
  position: relative;
  padding: 1.5rem 0 2.5rem;
}
html[data-bs-theme="dark"] .pv-page{
  background:
    radial-gradient(1200px 700px at 12% 0%, rgba(139,92,246,.12), transparent 58%),
    radial-gradient(1000px 640px at 88% 8%, rgba(68,212,255,.10), transparent 50%);
}

.pv-hero,
.pv-featured-panel,
.pv-cap-card,
.pv-enterprise,
.pv-stat-card,
.pv-story-card,
.pv-stage,
.pv-release-card,
.pv-mini-stat{
  position: relative;
  background: linear-gradient(180deg, rgba(20,24,39,.80), rgba(10,12,20,.96));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

html[data-bs-theme="light"] .pv-hero,
html[data-bs-theme="light"] .pv-featured-panel,
html[data-bs-theme="light"] .pv-cap-card,
html[data-bs-theme="light"] .pv-enterprise,
html[data-bs-theme="light"] .pv-stat-card,
html[data-bs-theme="light"] .pv-story-card,
html[data-bs-theme="light"] .pv-stage,
html[data-bs-theme="light"] .pv-release-card,
html[data-bs-theme="light"] .pv-mini-stat{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,249,252,.98));
  border-color: rgba(17,24,39,.08);
  box-shadow: 0 18px 42px rgba(15,23,42,.10);
}

.pv-hero{
  padding: clamp(1.5rem, 2vw, 2rem);
  overflow: hidden;
}
.pv-hero-glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .9;
  pointer-events: none;
}
.pv-hero-glow-1{
  width: 24rem;
  height: 24rem;
  top: -10rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(139,92,246,.34), rgba(139,92,246,0) 70%);
}
.pv-hero-glow-2{
  width: 22rem;
  height: 22rem;
  right: -6rem;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(68,212,255,.28), rgba(68,212,255,0) 70%);
}

.pv-kicker,
.pv-section-eyebrow,
.pv-featured-pill,
.pv-release-version,
.pv-story-eyebrow,
.pv-stage-pill{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--bs-body-color);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
html[data-bs-theme="light"] .pv-kicker,
html[data-bs-theme="light"] .pv-section-eyebrow,
html[data-bs-theme="light"] .pv-featured-pill,
html[data-bs-theme="light"] .pv-release-version,
html[data-bs-theme="light"] .pv-story-eyebrow,
html[data-bs-theme="light"] .pv-stage-pill{
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.12);
}
.pv-kicker-dot{
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #44d4ff);
  box-shadow: 0 0 0 .2rem rgba(139,92,246,.18);
}

.pv-mini-stat,
.pv-stat-card,
.pv-story-card,
.pv-cap-card,
.pv-release-card{
  border-radius: 1.25rem;
  padding: 1.1rem;
}
.pv-mini-stat-value,
.pv-stat-value{
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}
.pv-mini-stat-label,
.pv-stat-label{
  margin-top: .45rem;
  color: var(--bs-secondary-color);
  font-size: .86rem;
}

.pv-stage{
  border-radius: 1.75rem;
  padding: 1rem;
}
.pv-stage-topbar,
.pv-stage-strip{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.pv-stage-strip{
  padding-top: .35rem;
}
.pv-stage-strip-item{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .86rem;
  font-weight: 600;
}
html[data-bs-theme="light"] .pv-stage-strip-item{
  background: rgba(79,70,229,.05);
  border-color: rgba(79,70,229,.10);
}

.pv-release-icon,
.pv-cap-icon,
.pv-story-icon{
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  font-size: 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
html[data-bs-theme="light"] .pv-release-icon,
html[data-bs-theme="light"] .pv-cap-icon,
html[data-bs-theme="light"] .pv-story-icon{
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.12);
}
.pv-accent-violet .pv-release-icon{ box-shadow: 0 0 0 .3rem rgba(139,92,246,.08); }
.pv-accent-cyan .pv-release-icon{ box-shadow: 0 0 0 .3rem rgba(68,212,255,.08); }
.pv-accent-pink .pv-release-icon{ box-shadow: 0 0 0 .3rem rgba(255,110,183,.08); }

.pv-section{
  padding-top: 2.4rem;
}
.pv-section-head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pv-featured-panel,
.pv-enterprise,
.pv-story-card{
  border-radius: 1.75rem;
}
.pv-featured-panel{ padding: 1.5rem; }
.pv-enterprise{ padding: clamp(1.35rem, 2vw, 2rem); }
.pv-inline-link{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--bs-link-color);
}
.pv-inline-link:hover{ color: var(--bs-link-hover-color); }

@media (max-width: 991.98px){
  .pv-page{ padding-top: 1rem; }
}


.pv-video-card{
  margin-top: 1rem;
  border-radius: 1.5rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}
html[data-bs-theme="light"] .pv-video-card{
  background: linear-gradient(180deg, rgba(79,70,229,.04), rgba(79,70,229,.02));
  border-color: rgba(79,70,229,.12);
}
.pv-video-now{
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
}
.pv-video-now-label{
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bs-secondary-color);
}
.pv-video-frame{
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #070b14;
  aspect-ratio: 16 / 9;
}
html[data-bs-theme="light"] .pv-video-frame{
  border-color: rgba(79,70,229,.12);
  background: #edf1f8;
}
.pv-video-media{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.pv-video-playlist{
  display: flex;
  flex-wrap: nowrap;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .15rem;
}
.pv-video-dot{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: .8rem .9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--bs-body-color);
  font-size: .8rem;
  font-weight: 700;
  text-align: left;
}
.pv-video-dot span{
  font-size: .84rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
}
.pv-video-dot.is-active{
  border-color: rgba(68,212,255,.45);
  box-shadow: 0 0 0 .18rem rgba(68,212,255,.12);
  background: linear-gradient(180deg, rgba(68,212,255,.10), rgba(139,92,246,.10));
}
html[data-bs-theme="light"] .pv-video-dot{
  background: rgba(79,70,229,.04);
  border-color: rgba(79,70,229,.10);
}
@media (max-width: 767.98px){
  .pv-video-playlist{
    flex-wrap: nowrap;
  }
  .pv-video-dot{
    flex: 0 0 8.75rem;
  }
}

.lead {
    font-size: 1.0rem;
    font-weight: 300;
}

/* ---------- Google sign-in button ---------- */
.vq-google-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  min-height:44px;
  width:100%;
  padding:.7rem .95rem;
  border:1px solid #dadce0;
  border-radius:.5rem;
  background:#fff;
  color:#1f1f1f;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 1px 2px rgba(60,64,67,.16);
}
.vq-google-btn:hover,
.vq-google-btn:focus{
  color:#1f1f1f;
  border-color:#c6c6c6;
  box-shadow:0 1px 3px rgba(60,64,67,.24);
}
.vq-google-btn__icon{
  display:inline-flex;
  width:20px;
  height:20px;
}
.vq-google-btn__icon svg{
  width:20px;
  height:20px;
  display:block;
}
[data-bs-theme="dark"] .vq-google-btn{
  background:#fff;
  color:#1f1f1f;
}


/* ---------- Landing page tools toolbar ---------- */
.vq-tools-toolbar{
  max-width: 1100px;
  margin-inline: auto;
}
.vq-tools-dropdown,
.vq-tools-open-btn{
  min-width: 11.5rem;
  border-radius: 999px;
  padding: .8rem 1.1rem;
}
.vq-tools-toolbar .dropdown-menu{
  min-width: 18rem;
  border-radius: 1rem;
  padding: .45rem;
  border-color: var(--bs-border-color);
}
.vq-tools-toolbar .dropdown-menu{
  margin-top: .55rem;
}
.vq-tools-toolbar .dropdown.vq-hover-open > .vq-tools-dropdown,
.vq-tools-toolbar .dropdown.show > .vq-tools-dropdown{
  color: var(--bs-btn-hover-color, var(--bs-body-color));
  background: var(--bs-secondary-bg);
  border-color: var(--bs-border-color);
}
@media (hover: hover) and (pointer: fine){
  .vq-tools-toolbar .dropdown-menu{
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(.35rem);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }
  .vq-tools-toolbar .dropdown.vq-hover-open > .dropdown-menu,
  .vq-tools-toolbar .dropdown.show > .dropdown-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}
.vq-tools-toolbar .dropdown-item{
  border-radius: .8rem;
  padding: .75rem .9rem;
  white-space: normal;
}
.vq-tools-toolbar .dropdown-item strong{
  display: block;
  margin-bottom: .1rem;
}
.vq-tools-toolbar .dropdown-item small{
  display: block;
  color: var(--bs-secondary-color);
}
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu{
  background: #121826;
}
@media (max-width: 575.98px){
  .vq-tools-dropdown,
  .vq-tools-open-btn{
    width: 100%;
  }
  .vq-tools-toolbar .dropdown{
    width: 100%;
  }
}


/* ---------- Landing page creative heading ---------- */
.vq-creative-title{
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.8rem, 4.8vw + .85rem, 5.35rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .9;
  text-wrap: balance;
  max-width: 18ch;
  margin-inline: auto;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.vq-creative-title-word{
  display: inline;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  color: inherit !important;
  text-shadow: none;
}
.vq-creative-title-word + .vq-creative-title-word{
  margin-left: .18em;
}
.vq-creative-break{
  display:block;
  height:0;
}
html[data-bs-theme="dark"] .vq-creative-title{
  color: #f8fafc;
}
@media (max-width: 575.98px){
  .vq-creative-title{
    font-size: clamp(2.35rem, 8vw + .5rem, 3.55rem);
    letter-spacing: -.045em;
    max-width: 16ch;
  }
}

/* ---------- App sidebar All Tools modal ---------- */
.vq-all-tools-modal .modal-content {
  border-radius: 1.25rem;
  overflow: hidden;
}

.vq-all-tools-section {
  margin-bottom: 1.5rem;
}

.vq-all-tools-heading {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.vq-all-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .75rem;
}

.vq-all-tool-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 58px;
  padding: .8rem .9rem;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: 1rem;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.vq-all-tool-card i {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: var(--bs-secondary-bg);
  flex: 0 0 auto;
}

.vq-all-tool-card span {
  font-weight: 600;
}

.vq-all-tool-card:hover,
.vq-all-tool-card:focus {
  transform: translateY(-1px);
  border-color: var(--bs-primary-border-subtle);
  background: var(--bs-secondary-bg);
  color: var(--bs-body-color);
  box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .08);
}

.vq-all-tool-card.active {
  border-color: var(--bs-primary-border-subtle);
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .vq-all-tool-card {
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .08);
}

html[data-bs-theme="dark"] .vq-all-tool-card i {
  background: rgba(255, 255, 255, .06);
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus,
html[data-bs-theme="dark"] .vq-all-tool-card.active {
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(68,212,255,.08));
  border-color: rgba(139,92,246,.28);
  box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .28);
}

/* Keep the All Tools modal on the main content side, not over the sidebar. */
.vq-all-tools-modal {
  z-index: 1065;
}

.vq-all-tools-modal .modal-dialog {
  pointer-events: auto;
}

.vq-all-tools-modal .modal-content {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border: var(--bs-border-width) solid var(--bs-border-color);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .22);
}

.vq-all-tools-modal .modal-body,
.vq-all-tools-modal .modal-header {
  background-color: var(--bs-body-bg);
}

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header {
  background-color: #0f172a;
  color: #f8fafc;
}

@media (min-width: 993px) {
  body.vq-app .vq-all-tools-modal {
    left: 280px;
    width: calc(100vw - 280px);
  }

  body.vq-app .vq-all-tools-modal .modal-dialog {
    max-width: min(980px, calc(100vw - 320px));
    margin-left: auto;
    margin-right: auto;
  }

  body.vq-app.vq-all-tools-modal-open .modal-backdrop {
    left: 280px;
    width: calc(100vw - 280px);
  }
}


/* ---------- OpenArt-inspired dark mode overrides (AstruSocial 2026-04-25) ----------
   These rules intentionally come after the earlier dark-mode section so the
   app feels closer to OpenArt Suite: flat near-black canvas, solid charcoal
   panels, soft gray borders, and subtle violet selection states rather than
   neon/glass gradients.
*/
html[data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: #080808;
  --bs-body-bg-rgb: 8,8,8;
  --bs-body-color: #f5f5f5;
  --bs-body-color-rgb: 245,245,245;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255,255,255;
  --bs-secondary-color: rgba(245,245,245,.66);
  --bs-secondary-rgb: 185,185,190;
  --bs-tertiary-color: rgba(245,245,245,.48);
  --bs-tertiary-bg: #111112;
  --bs-tertiary-bg-rgb: 17,17,18;
  --bs-secondary-bg: #18181a;
  --bs-secondary-bg-rgb: 24,24,26;
  --bs-border-color: rgba(255,255,255,.105);
  --bs-border-color-translucent: rgba(255,255,255,.11);
  --bs-link-color: #d7ccff;
  --bs-link-hover-color: #ffffff;
  --bs-primary: #8b5cf6;
  --bs-primary-rgb: 139,92,246;
  --bs-primary-bg-subtle: rgba(139,92,246,.18);
  --bs-primary-border-subtle: rgba(139,92,246,.38);
  --vq-bg: #080808;
  --vq-bg-2: #0d0d0e;
  --vq-surface: #141416;
  --vq-surface-2: #1a1a1d;
  --vq-surface-solid: #141416;
  --vq-surface-elev: #1b1b1f;
  --vq-text: #f5f5f5;
  --vq-muted: rgba(245,245,245,.62);
  --vq-border: rgba(255,255,255,.105);
  --vq-shadow: 0 18px 60px rgba(0,0,0,.42);
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body {
  background: #080808 !important;
  color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .vq-app-shell { background: #080808; }

html[data-bs-theme="dark"] .vq-main,
html[data-bs-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] .container,
html[data-bs-theme="dark"] .container-fluid { color: var(--bs-body-color); }

html[data-bs-theme="dark"] .vq-sidebar {
  background: #0f0f10 !important;
  border-color: rgba(255,255,255,.085) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer {
  background: #0d0d0e !important;
  border-color: rgba(255,255,255,.085) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-logo { color: #fff; text-shadow: none; }

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link {
  color: rgba(245,245,245,.76);
  border-color: transparent;
  background: transparent;
  opacity: 1;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus {
  color: #fff;
  background: #1a1a1d;
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active {
  color: #fff;
  background: #202024;
  border-color: rgba(255,255,255,.10);
  box-shadow: inset 3px 0 0 rgba(139,92,246,.95);
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-dark {
  background: #141416 !important;
  color: var(--bs-body-color) !important;
  border-color: rgba(255,255,255,.105) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .card:hover { border-color: rgba(255,255,255,.16) !important; }

html[data-bs-theme="dark"] .vq-icon,
html[data-bs-theme="dark"] .vq-pill,
html[data-bs-theme="dark"] .vq-pill-sm,
html[data-bs-theme="dark"] .vq-badge-soft,
html[data-bs-theme="dark"] .nav-pills,
html[data-bs-theme="dark"] .nav-tabs,
html[data-bs-theme="dark"] .input-group-text,
html[data-bs-theme="dark"] .badge,
html[data-bs-theme="dark"] .text-bg-secondary,
html[data-bs-theme="dark"] .text-bg-light {
  background: #1b1b1f !important;
  color: rgba(245,245,245,.86) !important;
  border-color: rgba(255,255,255,.105) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-select:disabled {
  background: #111112 !important;
  border-color: rgba(255,255,255,.12) !important;
  color: #f5f5f5 !important;
  box-shadow: none;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus {
  background: #141416 !important;
  border-color: rgba(139,92,246,.58) !important;
  box-shadow: 0 0 0 .2rem rgba(139,92,246,.16) !important;
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] .form-select::placeholder,
html[data-bs-theme="dark"] textarea::placeholder { color: rgba(245,245,245,.42); }

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #09090a !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus {
  background: #eeeeef !important;
  border-color: #eeeeef !important;
  color: #09090a !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #f2efff !important;
  border-color: rgba(139,92,246,.42) !important;
  background: rgba(139,92,246,.12) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus {
  color: #ffffff !important;
  border-color: rgba(139,92,246,.72) !important;
  background: rgba(139,92,246,.22) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light {
  color: rgba(245,245,245,.82) !important;
  border-color: rgba(255,255,255,.12) !important;
  background: #141416 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-bs-theme="dark"] .btn-outline-light:focus {
  color: #fff !important;
  border-color: rgba(255,255,255,.20) !important;
  background: #202024 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: #f5f5f5;
  --bs-table-border-color: rgba(255,255,255,.105);
}

html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .link-secondary { color: rgba(245,245,245,.76) !important; }

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-bs-theme="dark"] .navbar-brand:hover,
html[data-bs-theme="dark"] .link-secondary:hover {
  color: #fff !important;
  background-color: #202024;
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] .navbar-toggler,
html[data-bs-theme="dark"] .accordion-button { border-color: rgba(255,255,255,.105) !important; }

html[data-bs-theme="dark"] .pv-page,
html[data-bs-theme="dark"] .vq-home-page,
html[data-bs-theme="dark"] .vq-public-page { background: #080808 !important; }

html[data-bs-theme="dark"] .pv-hero,
html[data-bs-theme="dark"] .pv-featured-panel,
html[data-bs-theme="dark"] .pv-cap-card,
html[data-bs-theme="dark"] .pv-enterprise,
html[data-bs-theme="dark"] .pv-stat-card,
html[data-bs-theme="dark"] .pv-story-card,
html[data-bs-theme="dark"] .vq-tool-card,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu {
  background: #141416 !important;
  border-color: rgba(255,255,255,.105) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:focus {
  background: #202024 !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .vq-all-tools-modal,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-dialog { color: #f5f5f5; }

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header {
  background: #141416 !important;
  color: #f5f5f5 !important;
  border-color: rgba(255,255,255,.105) !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card {
  background: #1a1a1d !important;
  border-color: rgba(255,255,255,.105) !important;
  color: rgba(245,245,245,.90) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card i {
  background: #242428 !important;
  color: rgba(245,245,245,.90) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus {
  background: #242428 !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card.active {
  background: rgba(139,92,246,.20) !important;
  border-color: rgba(139,92,246,.48) !important;
  color: #fff !important;
  box-shadow: inset 3px 0 0 rgba(139,92,246,.95) !important;
}

html[data-bs-theme="dark"] .modal-backdrop { background-color: #000 !important; opacity: .66 !important; }

html[data-bs-theme="dark"] ::-webkit-scrollbar-track { background: #0f0f10; }

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #2a2a2f;
  border: 2px solid #0f0f10;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #3a3a40;
  border: 2px solid #0f0f10;
  border-radius: 999px;
  background-clip: padding-box;
}

/* ---------- OpenArt-style pink CTA buttons (AstruSocial 2026-04-25) ----------
   OpenArt's dark UI uses bright pink/purple CTA buttons on top of the flat
   near-black canvas. Keep neutral/outline buttons charcoal, but make primary
   action buttons use the pink accent instead of black/white blocks.
*/
html[data-bs-theme="dark"] {
  --bs-primary: #ff4fb8;
  --bs-primary-rgb: 255,79,184;
  --bs-primary-bg-subtle: rgba(255,79,184,.16);
  --bs-primary-border-subtle: rgba(255,79,184,.38);
  --vq-primary: #ff4fb8;
  --vq-primary-2: #a855f7;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-bs-theme="dark"] .btn-dark,
html[data-bs-theme="dark"] .btn.btn-dark,
html[data-bs-theme="dark"] .btn-success,
html[data-bs-theme="dark"] .btn.btn-success,
html[data-bs-theme="dark"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ff4fb8;
  --bs-btn-border-color: #ff4fb8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff69c6;
  --bs-btn-hover-border-color: #ff69c6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #e83fa7;
  --bs-btn-active-border-color: #e83fa7;
  --bs-btn-disabled-color: rgba(255,255,255,.70);
  --bs-btn-disabled-bg: rgba(255,79,184,.46);
  --bs-btn-disabled-border-color: rgba(255,79,184,.28);
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,255,255,.10) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.22) !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-bs-theme="dark"] .btn-dark:hover,
html[data-bs-theme="dark"] .btn-dark:focus,
html[data-bs-theme="dark"] .btn.btn-dark:hover,
html[data-bs-theme="dark"] .btn.btn-dark:focus,
html[data-bs-theme="dark"] .btn-success:hover,
html[data-bs-theme="dark"] .btn-success:focus,
html[data-bs-theme="dark"] .btn.btn-success:hover,
html[data-bs-theme="dark"] .btn.btn-success:focus,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:focus {
  background: linear-gradient(135deg, #ff69c6 0%, #b86bff 100%) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  box-shadow: 0 12px 34px rgba(255,79,184,.30) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="dark"] .btn-primary:active,
html[data-bs-theme="dark"] .btn.btn-primary:active,
html[data-bs-theme="dark"] .btn-dark:active,
html[data-bs-theme="dark"] .btn.btn-dark:active,
html[data-bs-theme="dark"] .btn-success:active,
html[data-bs-theme="dark"] .btn.btn-success:active,
html[data-bs-theme="dark"] .vq-legacy-btn-primary:active {
  background: linear-gradient(135deg, #e83fa7 0%, #9652df 100%) !important;
  box-shadow: 0 6px 18px rgba(255,79,184,.20) !important;
  transform: translateY(0);
}

html[data-bs-theme="dark"] .btn-outline-primary {
  color: #ffd8ef !important;
  border-color: rgba(255,79,184,.48) !important;
  background: rgba(255,79,184,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus {
  color: #fff !important;
  border-color: rgba(255,79,184,.72) !important;
  background: rgba(255,79,184,.20) !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.16) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active {
  box-shadow: inset 3px 0 0 rgba(255,79,184,.96) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card.active {
  background: rgba(255,79,184,.16) !important;
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: inset 3px 0 0 rgba(255,79,184,.96) !important;
}

/* ---------- OpenArt-style pink active tabs and card hover states (AstruSocial 2026-04-25) ---------- */
html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
html[data-bs-theme="dark"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .nav-pills .show > .nav-link,
html[data-bs-theme="dark"] .vq-legacy-tab.active,
html[data-bs-theme="dark"] .vq-legacy-chip.active,
html[data-bs-theme="dark"] .btn-group .btn.active,
html[data-bs-theme="dark"] .btn-check:checked + .btn,
html[data-bs-theme="dark"] .model-tile.active,
html[data-bs-theme="dark"] .videoai2-pill.active,
html[data-bs-theme="dark"] .videoai2-model.active,
html[data-bs-theme="dark"] .videoai2-side-item.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(255,79,184,.24) 0%, rgba(168,85,247,.20) 100%) !important;
  border-color: rgba(255,79,184,.58) !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.16), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  border-bottom-color: rgba(255,79,184,.58) !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link:hover,
html[data-bs-theme="dark"] .nav-tabs .nav-link:focus,
html[data-bs-theme="dark"] .nav-pills .nav-link:hover,
html[data-bs-theme="dark"] .nav-pills .nav-link:focus,
html[data-bs-theme="dark"] .model-tile:hover,
html[data-bs-theme="dark"] .model-tile:focus,
html[data-bs-theme="dark"] .videoai2-model:hover,
html[data-bs-theme="dark"] .videoai2-model:focus {
  color: #fff !important;
  background: rgba(255,79,184,.12) !important;
  border-color: rgba(255,79,184,.42) !important;
  box-shadow: 0 8px 24px rgba(255,79,184,.12) !important;
}

html[data-bs-theme="dark"] .card:hover,
html[data-bs-theme="dark"] .card:focus-within,
html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .vq-card:focus-within,
html[data-bs-theme="dark"] .vq-tool-card:hover,
html[data-bs-theme="dark"] .vq-tool-card:focus-within,
html[data-bs-theme="dark"] .pv-cap-card:hover,
html[data-bs-theme="dark"] .pv-cap-card:focus-within,
html[data-bs-theme="dark"] .pv-stat-card:hover,
html[data-bs-theme="dark"] .pv-stat-card:focus-within,
html[data-bs-theme="dark"] .pv-story-card:hover,
html[data-bs-theme="dark"] .pv-story-card:focus-within,
html[data-bs-theme="dark"] .pv-featured-panel:hover,
html[data-bs-theme="dark"] .pv-featured-panel:focus-within,
html[data-bs-theme="dark"] .videoai2-card:hover,
html[data-bs-theme="dark"] .videoai2-card:focus-within,
html[data-bs-theme="dark"] .title-sug-card:hover,
html[data-bs-theme="dark"] .thumb-sug-card:hover {
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: 0 16px 40px rgba(255,79,184,.14), 0 0 0 1px rgba(255,79,184,.18) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(255,79,184,.18) 0%, rgba(168,85,247,.14) 100%) !important;
  border-color: rgba(255,79,184,.38) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus {
  box-shadow: 0 14px 32px rgba(255,79,184,.14) !important;
}

html[data-bs-theme="dark"] .page-item.active .page-link {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,79,184,.72) !important;
  box-shadow: 0 10px 28px rgba(255,79,184,.16) !important;
}

/* ---------- Compact All Tools dialog buttons (AstruSocial 2026-04-25) ---------- */
.vq-all-tools-modal .modal-body {
  padding-top: 1rem;
}

.vq-all-tools-modal .modal-body > p {
  margin-bottom: 1rem !important;
}

.vq-all-tools-modal .vq-all-tools-section {
  margin-bottom: 1rem;
}

.vq-all-tools-modal .vq-all-tools-heading {
  margin-bottom: .45rem;
  font-size: .86rem;
}

.vq-all-tools-modal .vq-all-tools-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: .45rem;
}

.vq-all-tools-modal .vq-all-tool-card {
  min-height: 40px;
  padding: .45rem .6rem;
  gap: .5rem;
  border-radius: .72rem;
  font-size: .84rem;
}

.vq-all-tools-modal .vq-all-tool-card i {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: .55rem;
  font-size: .78rem;
}

.vq-all-tools-modal .vq-all-tool-card span {
  font-weight: 600;
  line-height: 1.15;
}

/* ---------- Light mode compact All Tools dialog buttons (AstruSocial 2026-04-25) ---------- */
html[data-bs-theme="light"] .vq-all-tools-modal .modal-body {
  padding-top: 1rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .modal-body > p {
  margin-bottom: 1rem !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tools-section {
  margin-bottom: 1rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tools-heading {
  margin-bottom: .45rem;
  font-size: .86rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tools-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: .45rem;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card {
  min-height: 40px;
  padding: .45rem .6rem;
  gap: .5rem;
  border-radius: .72rem;
  font-size: .84rem;
  background: #ffffff;
  border-color: rgba(15, 23, 42, .10);
  color: #111827;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card i {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: .55rem;
  font-size: .78rem;
  background: rgba(255, 79, 184, .10);
  color: #c026d3;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card span {
  font-weight: 600;
  line-height: 1.15;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card.active {
  background: linear-gradient(135deg, rgba(255,79,184,.10), rgba(168,85,247,.08));
  border-color: rgba(255,79,184,.42);
  color: #111827;
  box-shadow: 0 12px 28px rgba(255,79,184,.13);
}

/* ---------- Light mode OpenArt-style tabs, cards and buttons (AstruSocial 2026-04-25) ---------- */
html[data-bs-theme="light"] {
  --bs-primary: #ff4fb8;
  --bs-primary-rgb: 255,79,184;
  --bs-primary-bg-subtle: rgba(255,79,184,.11);
  --bs-primary-border-subtle: rgba(255,79,184,.34);
  --vq-primary: #ff4fb8;
  --vq-primary-2: #a855f7;
  --bs-link-color: #c026d3;
  --bs-link-hover-color: #a21caf;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ff4fb8;
  --bs-btn-border-color: #ff4fb8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff69c6;
  --bs-btn-hover-border-color: #ff69c6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #e83fa7;
  --bs-btn-active-border-color: #e83fa7;
  --bs-btn-disabled-color: rgba(255,255,255,.75);
  --bs-btn-disabled-bg: rgba(255,79,184,.46);
  --bs-btn-disabled-border-color: rgba(255,79,184,.28);
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(168,85,247,.18) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.20) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus {
  background: linear-gradient(135deg, #ff69c6 0%, #b86bff 100%) !important;
  border-color: rgba(168,85,247,.25) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(255,79,184,.26) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-primary:active,
html[data-bs-theme="light"] .btn.btn-primary:active,
html[data-bs-theme="light"] .btn-dark:active,
html[data-bs-theme="light"] .btn.btn-dark:active,
html[data-bs-theme="light"] .btn-success:active,
html[data-bs-theme="light"] .btn.btn-success:active,
html[data-bs-theme="light"] .vq-legacy-btn-primary:active {
  background: linear-gradient(135deg, #e83fa7 0%, #9652df 100%) !important;
  box-shadow: 0 6px 16px rgba(255,79,184,.18) !important;
  transform: translateY(0);
}

html[data-bs-theme="light"] .btn-outline-primary {
  color: #c026d3 !important;
  border-color: rgba(255,79,184,.46) !important;
  background: rgba(255,79,184,.06) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus {
  color: #fff !important;
  border-color: rgba(255,79,184,.66) !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.18) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-pills .show > .nav-link,
html[data-bs-theme="light"] .vq-legacy-tab.active,
html[data-bs-theme="light"] .vq-legacy-chip.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-pill.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-bs-theme="light"] .videoai2-side-item.active {
  color: #86198f !important;
  background: linear-gradient(135deg, rgba(255,79,184,.14) 0%, rgba(168,85,247,.11) 100%) !important;
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.12), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active {
  border-bottom-color: rgba(255,79,184,.52) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link:hover,
html[data-bs-theme="light"] .nav-tabs .nav-link:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-bs-theme="light"] .model-tile:hover,
html[data-bs-theme="light"] .model-tile:focus,
html[data-bs-theme="light"] .videoai2-model:hover,
html[data-bs-theme="light"] .videoai2-model:focus {
  color: #86198f !important;
  background: rgba(255,79,184,.08) !important;
  border-color: rgba(255,79,184,.36) !important;
  box-shadow: 0 8px 22px rgba(255,79,184,.10) !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-bs-theme="light"] .card:focus-within,
html[data-bs-theme="light"] .vq-card:hover,
html[data-bs-theme="light"] .vq-card:focus-within,
html[data-bs-theme="light"] .vq-tool-card:hover,
html[data-bs-theme="light"] .vq-tool-card:focus-within,
html[data-bs-theme="light"] .pv-cap-card:hover,
html[data-bs-theme="light"] .pv-cap-card:focus-within,
html[data-bs-theme="light"] .pv-stat-card:hover,
html[data-bs-theme="light"] .pv-stat-card:focus-within,
html[data-bs-theme="light"] .pv-story-card:hover,
html[data-bs-theme="light"] .pv-story-card:focus-within,
html[data-bs-theme="light"] .pv-featured-panel:hover,
html[data-bs-theme="light"] .pv-featured-panel:focus-within,
html[data-bs-theme="light"] .videoai2-card:hover,
html[data-bs-theme="light"] .videoai2-card:focus-within,
html[data-bs-theme="light"] .title-sug-card:hover,
html[data-bs-theme="light"] .thumb-sug-card:hover {
  border-color: rgba(255,79,184,.40) !important;
  box-shadow: 0 16px 36px rgba(255,79,184,.12), 0 0 0 1px rgba(255,79,184,.12) !important;
}

html[data-bs-theme="light"] .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
  color: #86198f !important;
  background: linear-gradient(135deg, rgba(255,79,184,.11) 0%, rgba(168,85,247,.09) 100%) !important;
  border-color: rgba(255,79,184,.32) !important;
}

html[data-bs-theme="light"] .page-item.active .page-link {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,79,184,.66) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.14) !important;
}

/* ---------- Light mode outline button visibility fix (AstruSocial 2026-04-25) ----------
   Buttons such as the landing-page "App info" CTA use btn-outline-light.
   On light backgrounds Bootstrap makes those controls white-on-white, so force
   them into the same visible pink/purple outline treatment used elsewhere. */
html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn.btn-outline-light,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light {
  --bs-btn-color: #86198f;
  --bs-btn-border-color: rgba(255,79,184,.46);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff4fb8;
  --bs-btn-hover-border-color: rgba(255,79,184,.66);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #e83fa7;
  --bs-btn-active-border-color: rgba(255,79,184,.72);
  color: #86198f !important;
  background: rgba(255,79,184,.06) !important;
  border-color: rgba(255,79,184,.46) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-bs-theme="light"] .btn.btn-outline-light:hover,
html[data-bs-theme="light"] .btn.btn-outline-light:focus,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:hover,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:focus {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4fb8 0%, #a855f7 100%) !important;
  border-color: rgba(255,79,184,.66) !important;
  box-shadow: 0 10px 24px rgba(255,79,184,.18) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-light:active,
html[data-bs-theme="light"] .btn.btn-outline-light:active,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:active {
  color: #fff !important;
  background: linear-gradient(135deg, #e83fa7 0%, #9652df 100%) !important;
  border-color: rgba(255,79,184,.72) !important;
  box-shadow: 0 6px 16px rgba(255,79,184,.16) !important;
  transform: translateY(0);
}

/* ---------- Light mode blue accent restore (AstruSocial 2026-04-25) ----------
   Keep the OpenArt-style pink/purple accents for dark mode only. In light mode,
   restore the original Bootstrap-style blue accent for buttons, tabs, cards, and tool links. */
html[data-bs-theme="light"] {
  --bs-primary: #0d6efd;
  --bs-primary-rgb: 13,110,253;
  --bs-primary-bg-subtle: rgba(13,110,253,.10);
  --bs-primary-border-subtle: rgba(13,110,253,.32);
  --vq-primary: #0d6efd;
  --vq-primary-2: #0b5ed7;
  --bs-link-color: #0d6efd;
  --bs-link-hover-color: #0a58ca;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-disabled-color: rgba(255,255,255,.75);
  --bs-btn-disabled-bg: rgba(13,110,253,.46);
  --bs-btn-disabled-border-color: rgba(13,110,253,.30);
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(13,110,253,.18) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus {
  background: #0b5ed7 !important;
  border-color: #0a58ca !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(13,110,253,.22) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-primary:active,
html[data-bs-theme="light"] .btn.btn-primary:active,
html[data-bs-theme="light"] .btn-dark:active,
html[data-bs-theme="light"] .btn.btn-dark:active,
html[data-bs-theme="light"] .btn-success:active,
html[data-bs-theme="light"] .btn.btn-success:active,
html[data-bs-theme="light"] .vq-legacy-btn-primary:active {
  background: #0a58ca !important;
  border-color: #0a53be !important;
  box-shadow: 0 6px 16px rgba(13,110,253,.16) !important;
  transform: translateY(0);
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn.btn-outline-light,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light {
  --bs-btn-color: #0d6efd;
  --bs-btn-border-color: rgba(13,110,253,.48);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0d6efd;
  --bs-btn-hover-border-color: #0d6efd;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  color: #0d6efd !important;
  background: rgba(13,110,253,.055) !important;
  border-color: rgba(13,110,253,.48) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus,
html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-bs-theme="light"] .btn.btn-outline-light:hover,
html[data-bs-theme="light"] .btn.btn-outline-light:focus,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:hover,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:focus {
  color: #fff !important;
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  box-shadow: 0 10px 24px rgba(13,110,253,.20) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-primary:active,
html[data-bs-theme="light"] .btn-outline-light:active,
html[data-bs-theme="light"] .btn.btn-outline-light:active,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light:active {
  color: #fff !important;
  background: #0a58ca !important;
  border-color: #0a53be !important;
  box-shadow: 0 6px 16px rgba(13,110,253,.16) !important;
  transform: translateY(0);
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-pills .show > .nav-link,
html[data-bs-theme="light"] .vq-legacy-tab.active,
html[data-bs-theme="light"] .vq-legacy-chip.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-pill.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-bs-theme="light"] .videoai2-side-item.active {
  color: #084298 !important;
  background: rgba(13,110,253,.10) !important;
  border-color: rgba(13,110,253,.44) !important;
  box-shadow: 0 8px 20px rgba(13,110,253,.12), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active {
  border-bottom-color: rgba(13,110,253,.52) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link:hover,
html[data-bs-theme="light"] .nav-tabs .nav-link:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-bs-theme="light"] .model-tile:hover,
html[data-bs-theme="light"] .model-tile:focus,
html[data-bs-theme="light"] .videoai2-model:hover,
html[data-bs-theme="light"] .videoai2-model:focus {
  color: #084298 !important;
  background: rgba(13,110,253,.075) !important;
  border-color: rgba(13,110,253,.34) !important;
  box-shadow: 0 8px 20px rgba(13,110,253,.10) !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-bs-theme="light"] .card:focus-within,
html[data-bs-theme="light"] .vq-card:hover,
html[data-bs-theme="light"] .vq-card:focus-within,
html[data-bs-theme="light"] .vq-tool-card:hover,
html[data-bs-theme="light"] .vq-tool-card:focus-within,
html[data-bs-theme="light"] .pv-cap-card:hover,
html[data-bs-theme="light"] .pv-cap-card:focus-within,
html[data-bs-theme="light"] .pv-stat-card:hover,
html[data-bs-theme="light"] .pv-stat-card:focus-within,
html[data-bs-theme="light"] .pv-story-card:hover,
html[data-bs-theme="light"] .pv-story-card:focus-within,
html[data-bs-theme="light"] .pv-featured-panel:hover,
html[data-bs-theme="light"] .pv-featured-panel:focus-within,
html[data-bs-theme="light"] .videoai2-card:hover,
html[data-bs-theme="light"] .videoai2-card:focus-within,
html[data-bs-theme="light"] .title-sug-card:hover,
html[data-bs-theme="light"] .thumb-sug-card:hover {
  border-color: rgba(13,110,253,.38) !important;
  box-shadow: 0 14px 32px rgba(13,110,253,.11), 0 0 0 1px rgba(13,110,253,.11) !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card i {
  background: rgba(13,110,253,.10) !important;
  color: #0d6efd !important;
}

html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-all-tools-modal .vq-all-tool-card.active,
html[data-bs-theme="light"] .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
  color: #084298 !important;
  background: rgba(13,110,253,.08) !important;
  border-color: rgba(13,110,253,.32) !important;
  box-shadow: 0 10px 24px rgba(13,110,253,.12) !important;
}

html[data-bs-theme="light"] .page-item.active .page-link {
  color: #fff !important;
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  box-shadow: 0 8px 20px rgba(13,110,253,.14) !important;
}


/* Clear homepage purpose panel for Google OAuth review and visitors */
.vq-purpose-box{
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}
.vq-purpose-box p{
  color: var(--bs-secondary-color);
}
.vq-purpose-box a{
  color: var(--bs-link-color);
}
html[data-bs-theme="dark"] .vq-purpose-box{
  background: #121216;
  border-color: rgba(255,255,255,.12);
}

@media (max-width: 576px){
  .vq-brandmark{ height:34px; }
  .vq-brandmark-sm{ height:28px; }
}

/* Simple app Home page */
.vq-app-home-simple{
  min-height: calc(100vh - 58px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.vq-app-home-inner{
  width:100%;
  max-width:1120px;
  padding-top:clamp(2rem, 7vw, 6rem);
}
.vq-app-home-title{
  font-size:clamp(2.25rem, 5vw, 4.8rem);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:800;
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
}
html[data-bs-theme="dark"] .vq-app-home-title{
  color:#fff;
}
html[data-bs-theme="light"] .vq-app-home-title{
  color:#111827;
}
.vq-app-home-simple .vq-tools-toolbar{
  margin-left:auto;
  margin-right:auto;
}
.vq-app-home-simple .vq-tools-toolbar .dropdown-menu{
  text-align:left;
}

/* AstruSocial dark-mode select arrows - final override
   Put at the end because earlier dark-mode form rules use the background shorthand,
   which can wipe out Bootstrap's select arrow background-image. */
:root {
  --slamdunk-select-arrow-light-svg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.25' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]),
html[data-theme="dark"] select:not([multiple]):not([size]) {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  color-scheme: dark !important;
  padding-right: 2.75rem !important;
  background-color: #111112 !important;
  background-image: var(--slamdunk-select-arrow-light-svg) !important;
  background-repeat: no-repeat !important;
  background-position: right .85rem center !important;
  background-size: 1rem .75rem !important;
}

html[data-bs-theme="dark"] select:not([multiple]):not([size]):focus,
html[data-theme="dark"] select:not([multiple]):not([size]):focus {
  background-color: #141416 !important;
  background-image: var(--slamdunk-select-arrow-light-svg) !important;
  background-repeat: no-repeat !important;
  background-position: right .85rem center !important;
  background-size: 1rem .75rem !important;
}

html[data-bs-theme="dark"] .form-select,
html[data-theme="dark"] .form-select {
  --bs-form-select-bg-img: var(--slamdunk-select-arrow-light-svg) !important;
}

html[data-bs-theme="dark"] select::-ms-expand,
html[data-theme="dark"] select::-ms-expand {
  display: none !important;
}


/* Performance: avoid rendering lower page sections until they are near the viewport. */
@supports (content-visibility: auto) {
  body:not(.vq-app) main > section:not(.vq-hero) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }

  .vq-app .home-section-shell {
    content-visibility: auto;
    contain-intrinsic-size: 1px 460px;
  }
}

/* ---------- Sidebar AI/All Tools hover modal (AstruSocial 2026-05-15) ----------
   Keeps the hover-open behaviour, but centers the tools panel in the available
   app window area to the right of the sidebar instead of pinning it flush left. */
.vq-all-tools-flyout {
  position: fixed;
  top: var(--sd-all-tools-top, 0);
  left: var(--sd-all-tools-left, 280px);
  width: var(--sd-all-tools-area-width, calc(100vw - var(--sd-all-tools-left, 280px)));
  height: var(--sd-all-tools-height, 100vh);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1065;
  pointer-events: none;
  padding: clamp(.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
}

.vq-all-tools-flyout.show {
  display: flex;
  pointer-events: auto;
}

.vq-all-tools-flyout .modal-dialog {
  width: min(980px, 100%);
  max-width: min(980px, 100%);
  height: auto;
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem));
  margin: 0;
  transform: translateY(8px) scale(.985);
  opacity: 0;
  transition: transform .16s ease, opacity .16s ease;
}

.vq-all-tools-flyout.show .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.vq-all-tools-flyout .modal-content {
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem));
  border-radius: 1.15rem;
  border: var(--bs-border-width) solid var(--bs-border-color);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .22);
  overflow: hidden;
}

.vq-all-tools-flyout .modal-body {
  overflow-y: auto;
}

body.vq-app.vq-all-tools-modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

body.vq-app.vq-all-tools-modal-open .modal-backdrop {
  display: none !important;
}

@media (max-width: 991.98px) {
  .vq-all-tools-flyout {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    padding: .75rem;
  }

  .vq-all-tools-flyout .modal-dialog {
    width: min(100%, 980px);
    max-width: min(100%, 980px);
    max-height: calc(100dvh - 1.5rem);
  }

  .vq-all-tools-flyout .modal-content {
    max-height: calc(100dvh - 1.5rem);
    border-radius: 1rem;
  }
}

/* Higher-specificity overrides so the hover modal wins over the old Bootstrap modal rules. */
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout {
  position: fixed;
  top: var(--sd-all-tools-top, 0) !important;
  left: var(--sd-all-tools-left, 280px) !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--sd-all-tools-area-width, calc(100vw - var(--sd-all-tools-left, 280px))) !important;
  height: var(--sd-all-tools-height, 100vh) !important;
  margin: 0 !important;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-dialog,
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .vq-all-tools-dialog {
  width: min(980px, 100%) !important;
  max-width: min(980px, 100%) !important;
  height: auto !important;
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem)) !important;
  margin: 0 !important;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  height: auto !important;
  max-height: calc(var(--sd-all-tools-height, 100vh) - clamp(1.5rem, 4vw, 3rem)) !important;
}

@media (max-width: 991.98px) {
  body.vq-app .vq-all-tools-modal.vq-all-tools-flyout {
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: .75rem !important;
  }
}


/* All Tools inline multi-layer sidebar dropdown */
.vq-navgroup .vq-side-link-button .vq-tools2-caret {
  transition: transform .18s ease;
}

.vq-navgroup .vq-side-link-button.tools2-open .vq-tools2-caret {
  transform: rotate(180deg);
}

.vq-tools2-menu {
  display: none;
  margin: .35rem 0 .75rem .15rem;
  padding: .35rem .35rem .45rem .55rem;
  border-left: 1px solid rgba(255,255,255,.10);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,.025);
}

.vq-tools2-menu.show {
  display: block;
}

.vq-tools2-group + .vq-tools2-group {
  margin-top: .25rem;
}

.vq-tools2-category {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .48rem .55rem;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 700;
  text-align: left;
}

.vq-tools2-category span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.vq-tools2-category:hover,
.vq-tools2-category:focus {
  background: rgba(255,255,255,.08);
  outline: none;
}

.vq-tools2-category .bi-chevron-down {
  transition: transform .18s ease;
  font-size: .78rem;
  opacity: .78;
}

.vq-tools2-group.open > .vq-tools2-category .bi-chevron-down {
  transform: rotate(180deg);
}

.vq-tools2-layer {
  display: none;
  margin: .2rem 0 .35rem .65rem;
  padding-left: .45rem;
  border-left: 1px dashed rgba(255,255,255,.13);
}

.vq-tools2-layer.show {
  display: block;
}

.vq-tools2-layer .vq-side-link-sub {
  font-size: .82rem;
  padding-top: .42rem;
  padding-bottom: .42rem;
  margin-bottom: .12rem;
}

html[data-bs-theme="light"] .vq-tools2-menu {
  background: rgba(15, 23, 42, .025);
  border-left-color: rgba(15, 23, 42, .10);
}

html[data-bs-theme="light"] .vq-tools2-category:hover,
html[data-bs-theme="light"] .vq-tools2-category:focus {
  background: rgba(15, 23, 42, .065);
}

html[data-bs-theme="light"] .vq-tools2-layer {
  border-left-color: rgba(15, 23, 42, .12);
}

/* ---------- Cleaner app sidebar: search, favorites, recent and accordion groups ---------- */
.vq-navgroup-clean {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.vq-sidebar-tools {
  display: grid;
  gap: .5rem;
}

.vq-sidebar-search-wrap {
  position: relative;
}

.vq-sidebar-search-wrap > i {
  position: absolute;
  left: .72rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bs-secondary-color);
  pointer-events: none;
  font-size: .9rem;
}

.vq-sidebar-search {
  border-radius: 999px;
  padding-left: 2rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .035);
}

.vq-sidebar-pin-current {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  padding: .42rem .75rem;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.vq-sidebar-pin-current:hover,
.vq-sidebar-pin-current:focus {
  background: rgba(var(--bs-primary-rgb), .09);
  border-color: rgba(var(--bs-primary-rgb), .35);
  color: var(--bs-primary);
}

.vq-sidebar-pin-current.pinned {
  background: rgba(var(--bs-warning-rgb, 255, 193, 7), .14);
  border-color: rgba(var(--bs-warning-rgb, 255, 193, 7), .38);
  color: var(--bs-warning-text-emphasis, #664d03);
}

.vq-sidebar-smart-section {
  border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .08);
  border-radius: 1rem;
  padding: .62rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .025);
}

.vq-sidebar-smart-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  margin-bottom: .45rem;
}

.vq-sidebar-smart-list {
  display: grid;
  gap: .28rem;
}

.vq-sidebar-empty {
  color: var(--bs-secondary-color);
  font-size: .78rem;
  line-height: 1.25;
  padding: .1rem .15rem;
}

.vq-sidebar-mini-link {
  display: flex;
  align-items: center;
  gap: .48rem;
  min-width: 0;
  border-radius: .78rem;
  padding: .42rem .5rem;
  color: var(--bs-body-color);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
}

.vq-sidebar-mini-link:hover,
.vq-sidebar-mini-link:focus {
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
}

.vq-sidebar-mini-link i {
  flex: 0 0 auto;
  color: var(--bs-secondary-color);
}

.vq-sidebar-mini-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vq-nav-accordion {
  display: grid;
  gap: .42rem;
}

.vq-nav-accordion-item {
  border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .075);
  border-radius: 1rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .018);
  overflow: hidden;
}

.vq-nav-accordion-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--bs-body-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .78rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: .92rem;
  text-align: left;
}

.vq-nav-accordion-toggle > span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}

.vq-nav-accordion-toggle > span > i {
  color: var(--bs-secondary-color);
}

.vq-nav-accordion-toggle > .bi-chevron-down {
  color: var(--bs-secondary-color);
  transition: transform .16s ease;
}

.vq-nav-accordion-toggle:hover,
.vq-nav-accordion-toggle:focus,
.vq-nav-accordion-toggle.active {
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
}

.vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down {
  transform: rotate(180deg);
}

.vq-nav-accordion-panel {
  display: none;
  padding: .16rem .42rem .52rem;
}

.vq-nav-accordion-panel.show {
  display: grid;
  gap: .18rem;
}

.vq-navgroup-clean .vq-side-link-main,
.vq-navgroup-clean .vq-side-link-sub {
  border-radius: .78rem;
  padding-top: .55rem;
  padding-bottom: .55rem;
}

.vq-navgroup-clean .vq-side-link-sub {
  margin-left: .42rem;
  padding-left: .62rem;
}

.vq-navgroup-clean .vq-side-link-button {
  width: 100%;
}

.vq-nav-filter-hidden {
  display: none !important;
}

.vq-navgroup-clean.vq-nav-searching .vq-sidebar-smart-section {
  display: none;
}

.vq-navgroup-clean.vq-nav-searching .vq-nav-accordion-item {
  border-color: rgba(var(--bs-primary-rgb), .16);
}

html[data-bs-theme="dark"] .vq-sidebar-search {
  background: rgba(255, 255, 255, .045);
}

html[data-bs-theme="dark"] .vq-sidebar-pin-current,
html[data-bs-theme="dark"] .vq-sidebar-smart-section,
html[data-bs-theme="dark"] .vq-nav-accordion-item {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .08);
}

html[data-bs-theme="dark"] .vq-sidebar-pin-current.pinned {
  background: rgba(255, 193, 7, .14);
  color: #ffd66b;
}

/* ---------- All Tools modal visible inside border (AstruSocial 2026-05-16) ---------- */
.vq-all-tools-modal .modal-content {
  border: 1px solid rgba(15, 23, 42, .22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, .08),
    0 1.25rem 3rem rgba(0, 0, 0, .22) !important;
}

.vq-all-tools-modal .modal-header {
  border-bottom: 1px solid rgba(15, 23, 42, .12) !important;
}

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content {
  border-color: rgba(255, 255, 255, .22) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .10),
    0 1.25rem 3rem rgba(0, 0, 0, .44) !important;
}

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header {
  border-bottom-color: rgba(255, 255, 255, .14) !important;
}

/* ---------- All Tools hover modal guaranteed inner border (AstruSocial 2026-05-16 v2) ----------
   Draws the border on pseudo-elements inside the actual hover flyout content so
   it remains visible even when Bootstrap/theme rules override normal borders. */
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  position: relative !important;
  border: 2px solid rgba(15, 23, 42, .42) !important;
  outline: 1px solid rgba(255, 255, 255, .65) !important;
  outline-offset: -6px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .78),
    inset 0 0 0 7px rgba(15, 23, 42, .10),
    0 1.25rem 3rem rgba(0, 0, 0, .24) !important;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(15, 23, 42, .30);
  border-radius: calc(1.15rem - 8px);
  pointer-events: none;
  z-index: 3;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header,
body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-body {
  position: relative;
  z-index: 2;
}

body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header {
  border-bottom: 2px solid rgba(15, 23, 42, .18) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content {
  border-color: rgba(255, 255, 255, .38) !important;
  outline-color: rgba(15, 23, 42, .75) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 0 0 7px rgba(255, 255, 255, .07),
    0 1.25rem 3rem rgba(0, 0, 0, .48) !important;
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-content::before {
  border-color: rgba(255, 255, 255, .28);
}

html[data-bs-theme="dark"] body.vq-app .vq-all-tools-modal.vq-all-tools-flyout .modal-header {
  border-bottom-color: rgba(255, 255, 255, .18) !important;
}

/* ---------- My tools sidebar hover modal (AstruSocial 2026-05-16) ---------- */
.vq-my-tools-nav-item {
  overflow: visible;
}

.vq-my-tools-trigger.my-tools-open,
.vq-my-tools-trigger:hover,
.vq-my-tools-trigger:focus {
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--bs-primary);
}

.vq-my-tools-hover-modal {
  position: fixed;
  top: var(--sd-my-tools-top, 0);
  left: var(--sd-my-tools-left, 280px);
  width: var(--sd-my-tools-area-width, calc(100vw - var(--sd-my-tools-left, 280px)));
  height: var(--sd-my-tools-height, 100vh);
  z-index: 2147483000 !important;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 2.4vw, 2rem);
  pointer-events: none;
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  isolation: isolate;
  transform: translateZ(0);
}

.vq-my-tools-hover-modal.show {
  display: flex !important;
  pointer-events: auto;
}

body.sd-my-tools-modal-open-body .vq-main,
body.sd-my-tools-modal-open-body .vq-app-topbar,
body.sd-my-tools-modal-open-body .vq-app-content {
  pointer-events: none;
}

body.sd-my-tools-modal-open-body .vq-my-tools-hover-modal,
body.sd-my-tools-modal-open-body .vq-my-tools-hover-modal * {
  pointer-events: auto;
}

.vq-my-tools-card {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100vw - var(--sd-my-tools-left, 280px) - 2rem));
  max-height: calc(var(--sd-my-tools-height, 100vh) - clamp(2rem, 5vw, 4rem));
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: 1.25rem;
  background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), .98);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .22);
  pointer-events: auto;
}

.vq-my-tools-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, .10);
}

.vq-my-tools-header h2 {
  font-size: 1.18rem;
  line-height: 1.15;
  margin: 0;
  font-weight: 850;
}

.vq-my-tools-header p {
  color: var(--bs-secondary-color);
  font-size: .88rem;
  margin: .25rem 0 0;
}

.vq-my-tools-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  flex: 0 0 auto;
}

.vq-my-tools-close:hover,
.vq-my-tools-close:focus {
  color: var(--bs-primary);
  border-color: rgba(var(--bs-primary-rgb), .35);
  background: rgba(var(--bs-primary-rgb), .08);
}

.vq-my-tools-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  padding: 1rem;
  overflow: auto;
  max-height: calc(var(--sd-my-tools-height, 100vh) - 8rem);
}

.vq-my-tools-column {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1rem;
  background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .025);
  padding: .8rem;
}

.vq-my-tools-column h3 {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  margin: 0 0 .62rem;
}

.vq-my-tools-column a {
  display: flex;
  align-items: center;
  gap: .48rem;
  min-width: 0;
  border-radius: .75rem;
  padding: .52rem .58rem;
  color: var(--bs-body-color);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 650;
}

.vq-my-tools-column a:hover,
.vq-my-tools-column a:focus,
.vq-my-tools-column a.active {
  background: rgba(var(--bs-primary-rgb), .09);
  color: var(--bs-primary);
}

.vq-my-tools-column a i {
  color: var(--bs-secondary-color);
  flex: 0 0 auto;
}

.vq-my-tools-column a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-bs-theme="dark"] .vq-my-tools-card {
  background: rgba(14, 15, 18, .98);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .48);
}

html[data-bs-theme="dark"] .vq-my-tools-hover-modal {
  background: rgba(0, 0, 0, .58);
}


html[data-bs-theme="dark"] .vq-my-tools-header {
  border-bottom-color: rgba(255, 255, 255, .10);
}

html[data-bs-theme="dark"] .vq-my-tools-column {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .035);
}

@media (max-width: 991.98px) {
  .vq-my-tools-hover-modal {
    left: 0;
    width: 100vw;
    padding: .75rem;
    z-index: 2147483000 !important;
  }

  .vq-my-tools-card {
    width: min(100%, 680px);
    max-height: calc(100dvh - 1.5rem);
  }

  .vq-my-tools-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100dvh - 7rem);
  }
}

@media (max-width: 575.98px) {
  .vq-my-tools-body {
    grid-template-columns: 1fr;
  }
}


/* ---------- Mobile app topbar account dropdown (AstruSocial 2026-05-16) ---------- */
.vq-mobile-account-menu .dropdown-menu {
  min-width: min(18rem, calc(100vw - 1rem));
}

.vq-mobile-account-dropdown {
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .18);
  overflow: hidden;
}

.vq-mobile-account-dropdown .dropdown-item {
  min-height: 2.4rem;
}

@media (max-width: 991.98px) {
  .vq-app-topbar .vq-topbar-actions {
    flex: 0 0 auto;
  }

  .vq-app-topbar .vq-mobile-account-toggle {
    min-width: 2.45rem;
  }

  .vq-app-topbar-title {
    max-width: 28vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 575.98px) {
  .vq-app-topbar .px-3 {
    padding-left: .65rem !important;
    padding-right: .65rem !important;
  }

  .vq-app-topbar .vq-brandmark-sm {
    max-width: 118px;
  }

  .vq-app-topbar-title {
    display: none;
  }
}

/* ---------- Public example galleries ---------- */
.ss-example-card{
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ss-example-card:hover,
.ss-example-card:focus-within{
  transform: translateY(-2px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.12);
}
.ss-example-icon{
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--bs-primary-rgb), .12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}
.ss-example-preview{
  min-height: 210px;
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--bs-primary-rgb), .28), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(168, 85, 247, .20), transparent 28%),
    linear-gradient(135deg, var(--bs-tertiary-bg), var(--bs-body-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  font-size: 4rem;
}
.ss-example-preview-image{
  aspect-ratio: 4 / 3;
}

/* ---------- Step 10: mobile layout polish ---------- */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

img, video, canvas, svg{
  max-width: 100%;
}

pre, code, .form-control, .form-select, .btn, .dropdown-item{
  touch-action: manipulation;
}

/* Keep iOS from zooming form controls and make controls easier to tap. */
@media (max-width: 575.98px){
  input.form-control,
  textarea.form-control,
  select.form-select,
  .input-group-text{
    font-size: 16px;
  }

  .btn,
  .dropdown-item,
  .form-control,
  .form-select{
    min-height: 44px;
  }

  .btn-sm{
    min-height: 40px;
    padding-top: .45rem;
    padding-bottom: .45rem;
  }
}

/* Public navigation: allow long menus to scroll cleanly on phones. */
@media (max-width: 991.98px){
  .vq-nav .navbar-collapse{
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  .vq-nav .navbar-nav{
    align-items: stretch !important;
    gap: .25rem !important;
  }

  .vq-nav .nav-link,
  .vq-nav .navbar-nav .btn{
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: var(--bs-border-radius);
  }

  .vq-nav .navbar-nav .btn{
    width: 100%;
    justify-content: center;
    margin-top: .4rem;
  }
}

/* Footer links should wrap instead of creating a wide horizontal page. */
footer .d-flex.gap-3{
  flex-wrap: wrap;
  row-gap: .35rem !important;
}

@media (max-width: 575.98px){
  footer .container{
    text-align: center;
  }

  footer .d-flex.gap-3{
    justify-content: center;
    gap: .85rem !important;
  }
}

/* App shell: give mobile pages breathing room and keep top actions stable. */
@media (max-width: 991.98px){
  .vq-app-content > .container-fluid,
  .vq-app-content > .container{
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }

  .vq-app-topbar .vq-brandmark-sm{
    height: 28px;
  }

  .vq-app-topbar-title{
    max-width: 44vw;
  }
}

@media (max-width: 575.98px){
  .vq-app-topbar .vq-brandwrap{
    display: none;
  }

  .vq-app-topbar-title{
    display: inline-block;
    max-width: 46vw;
  }

  .vq-app-topbar .btn[data-app-sidebar-toggle] span{
    display: none;
  }
}

/* Public landing and gallery pages. */
@media (max-width: 767.98px){
  .vq-hero .container,
  .vq-home-hero .container,
  main > .container,
  section.container{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .display-5{
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.05 !important;
  }

  .display-6{
    font-size: clamp(1.65rem, 7vw, 2.35rem) !important;
    line-height: 1.1 !important;
  }

  .lead{
    font-size: 1.05rem;
  }

  .vq-hero-copy,
  .vq-home-hero .vq-hero-copy{
    text-align: left;
  }

  .vq-hero-actions .btn,
  .vq-home-hero .vq-hero-cta,
  .vq-page-actions .btn,
  .vq-page-actions button,
  .vq-page-actions a{
    width: 100%;
    justify-content: center;
  }

  .vq-public-link-strip{
    gap: .35rem .75rem !important;
  }

  .vq-public-link-strip .text-secondary{
    display: none;
  }

  .vq-glass{
    padding: 1rem !important;
  }
}

/* Horizontal mobile scrollers for button groups and playlists. */
@media (max-width: 575.98px){
  .vq-mobile-scroll-x,
  .pv-video-playlist{
    display: flex;
    flex-wrap: nowrap !important;
    gap: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .pv-video-dot{
    flex: 0 0 auto;
    min-width: 8.5rem;
    scroll-snap-align: start;
  }
}

/* Marketing tool pages: Ads, Campaign Library and Brand Kit. */
@media (max-width: 767.98px){
  .ads-page .ads-hero-card,
  .campaigns-page .campaigns-hero,
  .brandkit-page .brandkit-hero,
  .campaigns-page .campaign-create-card,
  .campaigns-page .campaign-card,
  .brandkit-page .brandkit-section-card,
  .brandkit-page .brandkit-preview-box{
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .ads-page .card-body,
  .ads-page .card-header,
  .ads-page .card-footer{
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ads-page .ads-result-box,
  .campaigns-page .campaign-workflow-box{
    min-height: 18rem !important;
    max-height: 65vh;
    overflow: auto;
  }

  .ads-page .ads-template-scroll{
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .ads-page .ads-template-scroll .row{
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .4rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .ads-page .ads-template-scroll [class*="col-"]{
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }

  .ads-page .ads-output-option,
  .ads-page .ads-template-card{
    min-height: 100%;
  }

  .ads-page .ads-step-pill{
    width: 1.75rem;
    height: 1.75rem;
  }

  .campaigns-page .campaign-card .vq-card-actions,
  .campaigns-page .campaign-card form,
  .campaigns-page .campaign-card .btn,
  .campaigns-page .campaign-card details .btn,
  .campaigns-page .campaign-card details form,
  .campaigns-page .campaign-card details button{
    width: 100%;
  }

  .campaigns-page .campaign-card .vq-card-actions,
  .campaigns-page .campaign-card details .d-flex{
    align-items: stretch !important;
  }

  .campaigns-page .campaign-card .btn,
  .campaigns-page .campaign-card details button{
    justify-content: center;
  }

  .brandkit-page dl.row > dt,
  .brandkit-page dl.row > dd{
    width: 100%;
    max-width: 100%;
  }

  .brandkit-page dl.row > dd{
    margin-bottom: .75rem;
  }

  .sticky-lg-top{
    position: static !important;
  }
}

@media (max-width: 575.98px){
  .ads-page .ads-template-scroll [class*="col-"]{
    flex-basis: 88%;
    max-width: 88%;
  }

  .ads-page .ads-output-option{
    padding: .75rem;
  }

  .ads-page .ads-credit-estimate-box,
  #adsCreditEstimateBox{
    align-items: stretch !important;
  }

  #adsGenerationCreditsBadge,
  #adsGenerateButtonCredits{
    white-space: nowrap;
  }

  .campaigns-page .display-6{
    font-size: 2rem !important;
  }
}

/* Make media/result previews usable on small screens. */
@media (max-width: 767.98px){
  textarea[readonly],
  textarea[disabled],
  .ads-result-box,
  .campaign-workflow-box{
    font-size: .9rem;
    line-height: 1.45;
  }

  .table-responsive,
  .vq-table-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767.98px){
  .ss-example-card .btn,
  .vq-card .btn{
    max-width: 100%;
  }

  .ss-example-preview{
    min-height: 150px;
    font-size: 3rem;
  }

  .vq-page-actions.justify-content-center,
  .vq-page-actions{
    align-items: stretch !important;
  }

  .vq-page-actions .btn,
  .vq-page-actions a.btn,
  .vq-page-actions button.btn{
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Step 9: finished sample ad previews ---------- */
.ss-finished-ad-preview{
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bs-body-bg);
}
.ss-finished-ad-art{
  min-height: 160px;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 16% 18%, rgba(var(--bs-primary-rgb), .34), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(168, 85, 247, .22), transparent 28%),
    linear-gradient(135deg, var(--bs-tertiary-bg), var(--bs-body-bg));
  position: relative;
}
.ss-finished-ad-art::before{
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(var(--bs-body-bg-rgb), .75);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.10);
}
.ss-finished-ad-art::after{
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 44%;
  height: .65rem;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), .28);
  box-shadow: 0 1.05rem 0 rgba(var(--bs-primary-rgb), .18), 0 2.1rem 0 rgba(var(--bs-primary-rgb), .10);
}
.ss-finished-ad-art > span{
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  border-radius: .75rem;
  background: rgba(var(--bs-body-bg-rgb), .92);
  border: 1px solid var(--bs-border-color);
  padding: .45rem .65rem;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.10);
}

/* SEO use-case landing pages */
.ss-seo-preview-card .ss-finished-ad-art {
    min-height: 220px;
}
@media (max-width: 575.98px) {
    .ss-seo-preview-card .ss-finished-ad-art {
        min-height: 160px;
    }
}

/* AstruSocial Step 11: Guided Mode / Expert Mode */
html[data-sd-mode="guided"] [data-sd-expert-only="true"],
html[data-sd-mode="guided"] [data-sd-expert-only="True"] {
    display: none !important;
}

.sd-mode-toggle.active,
.sd-mode-toggle[aria-pressed="true"] {
    border-color: rgba(var(--bs-primary-rgb), .55) !important;
    background: rgba(var(--bs-primary-rgb), .12) !important;
    color: var(--bs-primary) !important;
}

.sd-mode-card {
    border: 1px solid rgba(var(--bs-primary-rgb), .18);
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .08), rgba(var(--bs-body-bg-rgb), .96));
    border-radius: 1rem;
    padding: .85rem;
}

.sd-mode-card .btn-group .btn {
    font-weight: 700;
}

html[data-sd-mode="guided"] [data-sd-mode-set="guided"],
html[data-sd-mode="expert"] [data-sd-mode-set="expert"] {
    color: var(--bs-btn-active-color, #fff);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.sd-mode-info-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(var(--bs-primary-rgb), .18);
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .09), rgba(var(--bs-body-bg-rgb), .98));
}

.sd-mode-info-card .sd-mode-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .78rem;
    font-weight: 800;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
}

html[data-sd-mode="guided"] [data-sd-expert-message],
html[data-sd-mode="expert"] [data-sd-guided-message] {
    display: none !important;
}

/* AstruSocial Step 12: Simplified Guided sidebar */
html[data-sd-mode="expert"] [data-sd-guided-only="true"] {
    display: none !important;
}

.vq-guided-sidebar-note {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    border: 1px solid rgba(var(--bs-primary-rgb), .16);
    background: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-secondary-color);
    border-radius: .9rem;
    padding: .65rem .75rem;
    font-size: .78rem;
    line-height: 1.3;
}

.vq-guided-sidebar-note i {
    color: var(--bs-primary);
    margin-top: .1rem;
}

html[data-sd-mode="guided"] .vq-nav-accordion-item[data-sd-nav-group="guided-main"] .vq-side-link,
html[data-sd-mode="guided"] .vq-nav-accordion-item[data-sd-nav-group="guided-tools"] .vq-side-link {
    min-height: 2.45rem;
}

html[data-sd-mode="guided"] .vq-nav-accordion-item[data-sd-nav-group="guided-main"] .vq-side-link span,
html[data-sd-mode="guided"] .vq-nav-accordion-item[data-sd-nav-group="guided-tools"] .vq-side-link span {
    font-weight: 700;
}

/* AstruSocial Step 13: First-login setup wizard */
.sd-setup-reminder-modal .modal-content {
    border-radius: 1.25rem;
    background: var(--bs-body-bg);
}

.sd-setup-reminder-modal .modal-header,
.sd-setup-reminder-modal .modal-footer {
    background: transparent;
}

.sd-setup-reminder-modal .border {
    background: rgba(var(--bs-primary-rgb), .04);
}

/* AstruSocial Step 15: Global Create button */
.sd-global-create .sd-global-create-btn {
    font-weight: 800;
    box-shadow: 0 .35rem 1rem rgba(var(--bs-primary-rgb), .18);
}

.sd-global-create-menu {
    width: min(28rem, calc(100vw - 1.5rem));
    border-radius: 1rem;
    border: 1px solid rgba(var(--bs-primary-rgb), .16);
    overflow: hidden;
}

.sd-global-create-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
}

.sd-global-create-item {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    border-radius: .85rem;
    white-space: normal;
    padding: .7rem .75rem;
}

.sd-global-create-item i {
    width: 2rem;
    height: 2rem;
    border-radius: .7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .10);
    color: var(--bs-primary);
}

.sd-global-create-item strong,
.sd-global-create-item small {
    display: block;
    line-height: 1.2;
}

.sd-global-create-item small {
    margin-top: .15rem;
    color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
    .sd-global-create-grid {
        grid-template-columns: 1fr;
    }
}

/* AstruSocial Step 16: Demo campaign starter */
.sd-global-create-grid form {
    margin: 0;
}

.sd-global-create-grid form .sd-global-create-item {
    height: 100%;
    text-align: left;
}

/* AstruSocial Step 17: Universal search */
.sd-universal-search {
    max-width: 34rem;
    min-width: 18rem;
}

.sd-universal-search-wrap {
    position: relative;
}

.sd-universal-search-icon {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary-color);
    pointer-events: none;
    z-index: 2;
}

.sd-universal-search-input {
    padding-left: 2.25rem;
    padding-right: 2.6rem;
    border-radius: 999px;
    background: rgba(var(--bs-body-color-rgb), .035);
}

.sd-universal-search-submit {
    position: absolute;
    right: .2rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    z-index: 3;
    padding: .15rem .45rem;
}

.sd-universal-search-results {
    position: absolute;
    top: calc(100% + .45rem);
    left: 0;
    right: 0;
    z-index: 1080;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .28);
    overflow: hidden;
    max-height: min(32rem, calc(100vh - 6rem));
    overflow-y: auto;
}

.sd-search-suggestion,
.sd-search-suggestion-empty {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .75rem .85rem;
    text-decoration: none;
    color: var(--bs-body-color);
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.sd-search-suggestion:last-child {
    border-bottom: 0;
}

.sd-search-suggestion:hover,
.sd-search-suggestion:focus {
    background: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-body-color);
}

.sd-search-suggestion-icon,
.sd-search-result-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .10);
    color: var(--bs-primary);
}

.sd-search-suggestion-copy {
    min-width: 0;
    display: block;
}

.sd-search-suggestion-copy strong,
.sd-search-suggestion-copy small,
.sd-search-suggestion-copy em {
    display: block;
    line-height: 1.25;
}

.sd-search-suggestion-copy small,
.sd-search-suggestion-copy em {
    color: var(--bs-secondary-color);
}

.sd-search-suggestion-copy em {
    font-style: normal;
    margin-top: .12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-search-suggestion-all {
    background: rgba(var(--bs-primary-rgb), .05);
    font-weight: 600;
}

.sd-search-suggestion-empty {
    color: var(--bs-secondary-color);
    display: block;
}

.sd-search-page-form {
    border: 1px solid rgba(var(--bs-primary-rgb), .12) !important;
}

.sd-search-result-list {
    border-radius: 1rem;
    overflow: hidden;
}

.sd-search-result-list .list-group-item {
    border-color: var(--bs-border-color-translucent);
}

.sd-search-starter-card {
    color: var(--bs-body-color);
    transition: transform .16s ease, box-shadow .16s ease;
}

.sd-search-starter-card:hover,
.sd-search-starter-card:focus {
    color: var(--bs-body-color);
    transform: translateY(-2px);
    box-shadow: 0 .85rem 2rem rgba(0, 0, 0, .14) !important;
}

/* Step 9: plain-language credits */
.sd-credit-topbar-menu .dropdown-toggle::after {
    margin-left: .35rem;
}

.sd-credit-dropdown {
    width: min(360px, calc(100vw - 1rem));
    border-radius: 1rem;
    overflow: hidden;
}

.sd-credit-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.sd-credit-dropdown-grid > div,
.sd-credit-mini-stat {
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    padding: .65rem .75rem;
    background: rgba(var(--bs-secondary-rgb), .05);
}

.sd-credit-dropdown-grid strong,
.sd-credit-dropdown-grid span,
.sd-credit-mini-stat strong,
.sd-credit-mini-stat span {
    display: block;
    line-height: 1.25;
}

.sd-credit-dropdown-grid span,
.sd-credit-mini-stat span {
    color: var(--bs-secondary-color);
    font-size: .82rem;
}

.sd-credit-plain-card {
    background:
        radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), .10), transparent 22rem),
        var(--bs-body-bg);
}

.sd-credit-mini-stat .fw-semibold,
.sd-credit-mini-stat strong {
    font-size: 1.05rem;
}

.sd-mobile-credit-summary {
    background: rgba(var(--bs-secondary-rgb), .05);
}

.sd-credit-guide-page .list-group-item {
    background: transparent;
}

/* Step 20: save draft and continue later */
.sd-draft-toolbar {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .65rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.sd-draft-toolbar .small {
    color: var(--bs-secondary-color);
}

.sd-draft-restore-banner {
    margin: 1rem 1rem 0 1rem;
    border-radius: 1rem;
}

.sd-home-continue-card,
.sd-continue-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
}

.sd-home-continue-card {
    padding: 1rem;
}

.sd-continue-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.sd-continue-card-compact {
    align-items: flex-start;
    margin-bottom: .75rem;
}

.sd-continue-card-icon,
.sd-continue-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.sd-continue-card-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.sd-continue-empty-inline {
    border: 1px dashed var(--bs-border-color);
    border-radius: .9rem;
    padding: 1rem;
    color: var(--bs-secondary-color);
    background: var(--bs-tertiary-bg);
}

.sd-continue-empty-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    font-size: 2rem;
}

@media (max-width: 575.98px) {
    .sd-draft-toolbar {
        left: .75rem;
        right: .75rem;
        justify-content: center;
        border-radius: 1rem;
        flex-wrap: wrap;
    }

    .sd-continue-card {
        flex-direction: column;
    }
}

/* AstruSocial contextual help tooltips */
.sd-help-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    padding: 0;
    margin-left: .25rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--bs-secondary-color);
    font-size: .95em;
    line-height: 1;
    vertical-align: text-top;
}

.sd-help-tip:hover,
.sd-help-tip:focus-visible {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .10);
    outline: none;
}

.sd-help-tip i {
    pointer-events: none;
}

/* Step 22: beginner-friendly prompt builder */
.sd-prompt-builder {
    background:
        radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), .08), transparent 18rem),
        var(--bs-body-bg);
    border-radius: 1rem;
}

.sd-prompt-builder-icon {
    width: 2rem;
    height: 2rem;
    border-radius: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
    flex: 0 0 auto;
}

.sd-prompt-builder-output {
    min-height: 7rem;
    font-family: var(--bs-font-monospace);
    white-space: pre-wrap;
}

.sd-prompt-builder-page .card,
.sd-prompt-builder-page .alert {
    border-radius: 1rem;
}

@media (max-width: 575.98px) {
    .sd-prompt-builder .btn {
        width: 100%;
    }
}

/* Step 23: editable generated output sections */
.sd-editable-output {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1rem;
    background:
        radial-gradient(circle at top left, rgba(var(--bs-primary-rgb), .07), transparent 18rem),
        var(--bs-body-bg);
}

.sd-editable-output-empty {
    border: 1px dashed var(--bs-border-color);
    border-radius: .875rem;
    padding: 1rem;
    background: rgba(var(--bs-secondary-rgb), .04);
}

.sd-editable-output-sections .accordion-item {
    border-color: var(--bs-border-color);
    background: var(--bs-body-bg);
}

.sd-editable-output-sections .accordion-button {
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    font-weight: 600;
}

.sd-editable-section-body {
    min-height: 10rem;
    font-family: var(--bs-font-monospace);
    font-size: .9rem;
    line-height: 1.45;
}

.sd-output-editor-page .card {
    border-radius: 1rem;
}

@media (max-width: 575.98px) {
    .sd-editable-output .btn,
    .sd-editable-section .btn {
        width: 100%;
    }
}

/* AstruSocial Step 24: public landing page UI previews */
.ss-public-screenshots-section {
    position: relative;
    overflow: hidden;
}
.ss-public-screenshots-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 11rem;
    pointer-events: none;
    background: radial-gradient(circle at 15% 10%, rgba(var(--bs-primary-rgb), .12), transparent 35%),
                radial-gradient(circle at 85% 0%, rgba(168, 85, 247, .10), transparent 30%);
}
.ss-public-screenshots-section > .container {
    position: relative;
    z-index: 1;
}
.ss-ui-shot {
    border: 1px solid var(--bs-border-color);
    border-radius: 1.15rem;
    background: var(--bs-body-bg);
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,.08);
}
.ss-ui-shot-topbar {
    min-height: 2.35rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .75rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}
.ss-ui-shot-topbar > span {
    width: .58rem;
    height: .58rem;
    border-radius: 999px;
    background: rgba(var(--bs-secondary-rgb), .28);
}
.ss-ui-shot-body {
    min-height: 170px;
    display: grid;
    grid-template-columns: 3.75rem 1fr;
}
.ss-ui-shot-sidebar {
    padding: .85rem .7rem;
    border-right: 1px solid var(--bs-border-color);
    background: rgba(var(--bs-secondary-bg-rgb), .55);
}
.ss-ui-shot-sidebar span {
    display: block;
    height: .55rem;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), .18);
    margin-bottom: .75rem;
}
.ss-ui-shot-sidebar span:nth-child(2) { width: 65%; }
.ss-ui-shot-sidebar span:nth-child(3) { width: 85%; background: rgba(var(--bs-secondary-rgb), .18); }
.ss-ui-shot-sidebar span:nth-child(4) { width: 55%; background: rgba(var(--bs-secondary-rgb), .16); }
.ss-ui-shot-main {
    padding: .95rem;
}
.ss-ui-shot-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .12);
    border: 1px solid rgba(var(--bs-primary-rgb), .18);
}
.ss-ui-shot-line {
    height: .55rem;
    border-radius: 999px;
    background: rgba(var(--bs-secondary-rgb), .16);
    margin-bottom: .55rem;
}
.ss-ui-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    padding: .15rem .45rem;
    font-size: .72rem;
    line-height: 1;
}
.ss-demo-strip {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .08), var(--bs-body-bg));
}
.ss-demo-step {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(var(--bs-body-bg-rgb), .8);
}
@media (max-width: 575.98px) {
    .ss-ui-shot-body {
        grid-template-columns: 3rem 1fr;
    }
    .ss-ui-shot-sidebar {
        padding-inline: .55rem;
    }
}

/* AstruSocial recommended next action cards */
.sd-next-action-card {
    border: 1px solid rgba(var(--bs-primary-rgb), .22);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at top left, rgba(var(--bs-primary-rgb), .12), transparent 28rem),
        linear-gradient(135deg, rgba(var(--bs-body-bg-rgb), .99), rgba(var(--bs-primary-rgb), .035));
    box-shadow: 0 .85rem 2rem rgba(15, 23, 42, .06);
    padding: 1rem;
}

.sd-next-action-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--bs-primary-rgb), .13);
    color: var(--bs-primary);
    font-size: 1.35rem;
}

.sd-next-action-details {
    border-top: 1px solid rgba(var(--bs-primary-rgb), .12);
}

.sd-next-action-tip,
.sd-next-action-link {
    border: 1px solid var(--bs-border-color);
    border-radius: .85rem;
    background: var(--bs-body-bg);
    padding: .65rem .75rem;
    min-height: 100%;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: inherit;
    text-decoration: none;
}

.sd-next-action-tip i,
.sd-next-action-link i {
    color: var(--bs-primary);
    flex: 0 0 auto;
}

.sd-next-action-link:hover,
.sd-next-action-link:focus {
    border-color: rgba(var(--bs-primary-rgb), .42);
    color: var(--bs-primary);
}

@media (max-width: 575.98px) {
    .sd-next-action-card .btn,
    .sd-next-action-buttons {
        width: 100%;
    }
}

/* Step 40: light-mode readability pass.
   Darken normal/lightweight text while leaving explicit bold/semibold text alone. */
html[data-bs-theme="light"] {
  --bs-body-color: #030712;
  --bs-body-color-rgb: 3,7,18;
  --bs-emphasis-color: #030712;
  --bs-emphasis-color-rgb: 3,7,18;
  --bs-secondary-color: #111827;
  --bs-secondary-color-rgb: 17,24,39;
  --bs-secondary-rgb: 17,24,39;
  --bs-tertiary-color: #1f2937;
  --bs-tertiary-color-rgb: 31,41,55;
  --vq-text: #030712;
  --vq-muted: #111827;
}

html[data-bs-theme="light"] body,
html[data-bs-theme="light"] body.vq-body,
html[data-bs-theme="light"] .vq-app-content,
html[data-bs-theme="light"] main,
html[data-bs-theme="light"] .container,
html[data-bs-theme="light"] .container-fluid {
  color: #030712;
}

html[data-bs-theme="light"] :where(
  p,
  li,
  td,
  dt,
  dd,
  label,
  caption,
  .card-text,
  .lead,
  .form-label,
  .form-check-label,
  .form-text,
  .list-group-item,
  .accordion-body,
  .modal-body,
  .dropdown-item,
  .nav-link,
  .page-link,
  .vq-side-link,
  .vq-side-link-sub,
  .vq-navgroup-title,
  .vq-section-subtitle,
  .vq-muted,
  .sd-next-action-tip,
  .sd-next-action-link
):not(:where(
  b,
  strong,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .fw-bold,
  .fw-semibold,
  .fw-bolder,
  .fw-medium,
  .badge,
  .btn,
  .navbar-brand,
  .alert-heading,
  .vq-logo,
  .vq-app-home-title,
  [class*="fw-bold"],
  [class*="fw-semibold"],
  [class*="fw-bolder"]
)) {
  color: #030712;
}

html[data-bs-theme="light"] :where(
  .text-muted,
  .text-secondary,
  .text-body-secondary,
  .link-secondary,
  .blockquote-footer,
  small,
  .small,
  .text-opacity-50,
  .text-opacity-75,
  .opacity-50,
  .opacity-75
):not(:where(
  b,
  strong,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .fw-bold,
  .fw-semibold,
  .fw-bolder,
  .fw-medium,
  .badge,
  .btn,
  .navbar-brand,
  .alert-heading,
  .vq-logo,
  .vq-app-home-title,
  [class*="fw-bold"],
  [class*="fw-semibold"],
  [class*="fw-bolder"]
)) {
  color: #111827 !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] :where(
  .card,
  .vq-card,
  .vq-glass,
  .modal-content,
  .dropdown-menu,
  .offcanvas,
  .accordion-item,
  .table,
  .table td,
  .table .small,
  .table small,
  .form-control,
  .form-select,
  textarea,
  .input-group-text
) {
  color: #030712;
}

html[data-bs-theme="light"] :where(.form-control::placeholder, .form-select::placeholder, textarea::placeholder) {
  color: #374151;
  opacity: 1;
}

html[data-bs-theme="light"] .btn-outline-secondary:not(.fw-bold):not(.fw-semibold):not(.fw-bolder),
html[data-bs-theme="light"] .btn-outline-light:not(.fw-bold):not(.fw-semibold):not(.fw-bolder) {
  color: #111827 !important;
}

/* AstruSocial Step 41: keep public/demo navbar dropdowns readable in light mode.
   The main public layout still uses Bootstrap's dropdown-menu-dark class for dark mode,
   so override only when the active theme is light. */
html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark {
  --bs-dropdown-bg: #ffffff;
  --bs-dropdown-color: #030712;
  --bs-dropdown-link-color: #030712;
  --bs-dropdown-link-hover-color: #000000;
  --bs-dropdown-link-hover-bg: #f3f4f6;
  --bs-dropdown-link-active-color: #000000;
  --bs-dropdown-link-active-bg: #ede9fe;
  --bs-dropdown-border-color: rgba(17, 24, 39, .12);
  --bs-dropdown-divider-bg: rgba(17, 24, 39, .12);
  background-color: #ffffff !important;
  color: #030712 !important;
  border-color: rgba(17, 24, 39, .12) !important;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .14) !important;
}

html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item {
  color: #030712 !important;
}

html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:focus,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:focus,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-item:focus {
  background-color: #f3f4f6 !important;
  color: #000000 !important;
}

html[data-bs-theme="light"] .vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-divider,
html[data-bs-theme="light"] .navbar.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-divider,
html[data-bs-theme="light"] header.vq-nav .dropdown-menu.dropdown-menu-dark .dropdown-divider {
  border-top-color: rgba(17, 24, 39, .12) !important;
}

/* AstruSocial mobile/PWA shell */
.postnest-mobile-status {
  position: sticky;
  top: 0;
  z-index: 1025;
  padding: .45rem .85rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-warning-bg-subtle);
  color: var(--bs-warning-text-emphasis);
  font-size: .875rem;
  text-align: center;
}

.postnest-mobile-status.is-online {
  background: var(--bs-success-bg-subtle);
  color: var(--bs-success-text-emphasis);
}

.postnest-mobile-status.is-update {
  background: var(--bs-info-bg-subtle);
  color: var(--bs-info-text-emphasis);
}

.postnest-mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .15rem;
  padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--bs-border-color);
  background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 -1rem 2rem rgba(0,0,0,.12);
}

.postnest-mobile-tab {
  min-width: 0;
  min-height: 3.1rem;
  border-radius: .85rem;
  color: var(--bs-secondary-color);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  font-size: .72rem;
  font-weight: 600;
}

.postnest-mobile-tab i {
  font-size: 1.15rem;
  line-height: 1;
}

.postnest-mobile-tab.active,
.postnest-mobile-tab:hover,
.postnest-mobile-tab:focus {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .12);
}

@media (max-width: 991.98px) {
  body.vq-body.vq-app .vq-app-content {
    padding-bottom: calc(4.45rem + env(safe-area-inset-bottom));
  }

  body.vq-body.vq-app .vq-app-topbar {
    position: sticky;
    top: 0;
  }

  .postnest-mobile-status:not(.d-none) + .vq-app-content {
    padding-top: .25rem;
  }
}

@media (min-width: 992px) {
  .postnest-mobile-tabbar,
  .postnest-mobile-status {
    display: none !important;
  }
}

/* ---------- Vuexy-inspired light mode refresh (AstruSocial step71) ----------
   The user's requested reference is the Vuexy vertical-menu admin demo.
   This is an original CSS adaptation for AstruSocial: no Vuexy assets or licensed
   template files are copied. The goal is to replace the previous bright pink
   light mode with a softer Vuexy-like admin palette: pale app background,
   white elevated cards, lavender primary actions, rounded controls and gentle
   shadows. Dark mode is intentionally untouched.
*/
html[data-bs-theme="light"],
html[data-theme="light"] {
  color-scheme: light;
  --bs-body-bg: #f8f7fa;
  --bs-body-bg-rgb: 248,247,250;
  --bs-body-color: #444050;
  --bs-body-color-rgb: 68,64,80;
  --bs-emphasis-color: #2f2b3d;
  --bs-emphasis-color-rgb: 47,43,61;
  --bs-secondary-color: rgba(47,43,61,.68);
  --bs-secondary-rgb: 110,107,123;
  --bs-tertiary-color: rgba(47,43,61,.52);
  --bs-tertiary-bg: #f3f2f7;
  --bs-tertiary-bg-rgb: 243,242,247;
  --bs-secondary-bg: #f1f0f5;
  --bs-secondary-bg-rgb: 241,240,245;
  --bs-border-color: #dbdade;
  --bs-border-color-translucent: rgba(47,43,61,.12);
  --bs-heading-color: #2f2b3d;
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #675dd8;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.30);
  --bs-primary-text-emphasis: #5e50ee;
  --bs-success: #28c76f;
  --bs-success-rgb: 40,199,111;
  --bs-info: #00bad1;
  --bs-info-rgb: 0,186,209;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255,159,67;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --bs-border-radius: .5rem;
  --bs-border-radius-sm: .375rem;
  --bs-border-radius-lg: .75rem;
  --vq-bg: #f8f7fa;
  --vq-bg-2: #f3f2f7;
  --vq-surface: #ffffff;
  --vq-surface-2: #f8f7fa;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --vq-text: #444050;
  --vq-muted: rgba(47,43,61,.68);
  --vq-border: #dbdade;
  --vq-primary: #7367f0;
  --vq-primary-2: #8f85f3;
  --vq-radius: .75rem;
  --vq-shadow: 0 .25rem 1.125rem rgba(47,43,61,.10);
  --sd-vuexy-shadow-sm: 0 .125rem .375rem rgba(47,43,61,.08);
  --sd-vuexy-shadow: 0 .25rem 1.125rem rgba(47,43,61,.10);
  --sd-vuexy-shadow-lg: 0 .625rem 1.5rem rgba(47,43,61,.14);
}

html[data-bs-theme="light"] body,
html[data-theme="light"] body,
html[data-bs-theme="light"] .vq-body,
html[data-theme="light"] .vq-body {
  background:
    radial-gradient(760px 460px at 92% -10%, rgba(115,103,240,.10), transparent 60%),
    radial-gradient(600px 360px at 4% 2%, rgba(0,186,209,.07), transparent 58%),
    #f8f7fa !important;
  color: #444050;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-bs-theme="light"] .vq-app-shell,
html[data-theme="light"] .vq-app-shell {
  background: transparent;
}

html[data-bs-theme="light"] .vq-main,
html[data-theme="light"] .vq-main,
html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content {
  background: transparent;
}

html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content {
  padding-top: .25rem;
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #dbdade !important;
  box-shadow: 0 .25rem 1.125rem rgba(47,43,61,.08);
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-theme="light"] .vq-sidebar .small {
  color: rgba(47,43,61,.62) !important;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar {
  background: rgba(255,255,255,.86) !important;
  border-bottom: 0 !important;
  box-shadow: 0 .125rem .75rem rgba(47,43,61,.08);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

html[data-bs-theme="light"] .vq-app-topbar-title,
html[data-theme="light"] .vq-app-topbar-title,
html[data-bs-theme="light"] h1,
html[data-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-theme="light"] h6 {
  color: #2f2b3d;
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .vq-glass,
html[data-theme="light"] .vq-glass,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas,
html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item {
  background-color: #ffffff !important;
  border-color: rgba(47,43,61,.12) !important;
  color: #444050;
  box-shadow: var(--sd-vuexy-shadow-sm);
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu {
  border-radius: .75rem !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-bs-theme="light"] .card:focus-within,
html[data-bs-theme="light"] .vq-card:hover,
html[data-bs-theme="light"] .vq-card:focus-within,
html[data-bs-theme="light"] .vq-tool-card:hover,
html[data-bs-theme="light"] .vq-tool-card:focus-within,
html[data-bs-theme="light"] .pv-cap-card:hover,
html[data-bs-theme="light"] .pv-cap-card:focus-within,
html[data-bs-theme="light"] .pv-stat-card:hover,
html[data-bs-theme="light"] .pv-stat-card:focus-within,
html[data-bs-theme="light"] .pv-story-card:hover,
html[data-bs-theme="light"] .pv-story-card:focus-within,
html[data-bs-theme="light"] .pv-featured-panel:hover,
html[data-bs-theme="light"] .pv-featured-panel:focus-within,
html[data-bs-theme="light"] .videoai2-card:hover,
html[data-bs-theme="light"] .videoai2-card:focus-within,
html[data-bs-theme="light"] .title-sug-card:hover,
html[data-bs-theme="light"] .thumb-sug-card:hover {
  border-color: rgba(115,103,240,.32) !important;
  box-shadow: var(--sd-vuexy-shadow) !important;
}

html[data-bs-theme="light"] .vq-icon,
html[data-theme="light"] .vq-icon,
html[data-bs-theme="light"] .vq-pill,
html[data-theme="light"] .vq-pill,
html[data-bs-theme="light"] .vq-pill-sm,
html[data-theme="light"] .vq-pill-sm,
html[data-bs-theme="light"] .vq-badge-soft,
html[data-theme="light"] .vq-badge-soft,
html[data-bs-theme="light"] .badge.bg-secondary,
html[data-theme="light"] .badge.bg-secondary {
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.18) !important;
  color: #5e50ee !important;
}

html[data-bs-theme="light"] .btn,
html[data-theme="light"] .btn,
html[data-bs-theme="light"] .form-control,
html[data-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-theme="light"] .form-select,
html[data-bs-theme="light"] .input-group-text,
html[data-theme="light"] .input-group-text {
  border-radius: .5rem;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #7367f0;
  --bs-btn-border-color: #7367f0;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #685dd8;
  --bs-btn-hover-border-color: #685dd8;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5e50ee;
  --bs-btn-active-border-color: #5e50ee;
  background: linear-gradient(135deg, #7367f0 0%, #8f85f3 100%) !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.36) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus {
  background: linear-gradient(135deg, #685dd8 0%, #7d73ea 100%) !important;
  border-color: #685dd8 !important;
  color: #fff !important;
  box-shadow: 0 .375rem 1rem rgba(115,103,240,.42) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary {
  --bs-btn-color: #7367f0;
  --bs-btn-border-color: rgba(115,103,240,.45);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #7367f0;
  --bs-btn-hover-border-color: #7367f0;
  color: #7367f0 !important;
  border-color: rgba(115,103,240,.45) !important;
  background: rgba(115,103,240,.06) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:focus {
  color: #fff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.28) !important;
}

html[data-bs-theme="light"] .btn-outline-secondary,
html[data-theme="light"] .btn-outline-secondary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-theme="light"] .btn-outline-light {
  color: #6d6a7c !important;
  border-color: rgba(47,43,61,.18) !important;
  background: #fff !important;
}

html[data-bs-theme="light"] .btn-outline-secondary:hover,
html[data-bs-theme="light"] .btn-outline-secondary:focus,
html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-theme="light"] .btn-outline-secondary:hover,
html[data-theme="light"] .btn-outline-secondary:focus,
html[data-theme="light"] .btn-outline-light:hover,
html[data-theme="light"] .btn-outline-light:focus {
  color: #5e50ee !important;
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.34) !important;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select,
html[data-theme="light"] textarea {
  background-color: #fff !important;
  border-color: #dbdade !important;
  color: #444050 !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus,
html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] textarea:focus {
  border-color: #7367f0 !important;
  box-shadow: 0 0 0 .2rem rgba(115,103,240,.16) !important;
}

html[data-bs-theme="light"] .form-control::placeholder,
html[data-bs-theme="light"] .form-select::placeholder,
html[data-bs-theme="light"] textarea::placeholder,
html[data-theme="light"] .form-control::placeholder,
html[data-theme="light"] .form-select::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: rgba(47,43,61,.42) !important;
  opacity: 1;
}

html[data-bs-theme="light"] .table,
html[data-theme="light"] .table {
  --bs-table-bg: #fff;
  --bs-table-color: #444050;
  --bs-table-border-color: rgba(47,43,61,.12);
  --bs-table-striped-bg: rgba(47,43,61,.025);
  --bs-table-hover-bg: rgba(115,103,240,.055);
}

html[data-bs-theme="light"] .table thead th,
html[data-theme="light"] .table thead th {
  background: #f8f7fa !important;
  color: #6d6a7c;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-pills .show > .nav-link,
html[data-bs-theme="light"] .vq-legacy-tab.active,
html[data-bs-theme="light"] .vq-legacy-chip.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-pill.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-bs-theme="light"] .videoai2-side-item.active {
  color: #5e50ee !important;
  background: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.32) !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.12), inset 0 1px 0 rgba(255,255,255,.85) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link:hover,
html[data-bs-theme="light"] .nav-tabs .nav-link:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-bs-theme="light"] .model-tile:hover,
html[data-bs-theme="light"] .model-tile:focus,
html[data-bs-theme="light"] .videoai2-model:hover,
html[data-bs-theme="light"] .videoai2-model:focus {
  color: #5e50ee !important;
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.24) !important;
  box-shadow: 0 .25rem .75rem rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .dropdown-item,
html[data-theme="light"] .dropdown-item {
  color: #444050;
  border-radius: .42rem;
}

html[data-bs-theme="light"] .vq-all-tool-card:hover,
html[data-bs-theme="light"] .vq-all-tool-card:focus,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:hover,
html[data-bs-theme="light"] .vq-tools-toolbar .dropdown-item:focus,
html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus {
  color: #5e50ee !important;
  background: rgba(115,103,240,.10) !important;
  border-color: rgba(115,103,240,.24) !important;
}

html[data-bs-theme="light"] .page-item.active .page-link,
html[data-theme="light"] .page-item.active .page-link {
  color: #fff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.24) !important;
}

html[data-bs-theme="light"] .vq-sidebar-search,
html[data-theme="light"] .vq-sidebar-search,
html[data-bs-theme="light"] .sd-universal-search-input,
html[data-theme="light"] .sd-universal-search-input {
  background: #f8f7fa !important;
  border-color: rgba(47,43,61,.12) !important;
}

html[data-bs-theme="light"] .vq-sidebar-pin-current,
html[data-theme="light"] .vq-sidebar-pin-current,
html[data-bs-theme="light"] .vq-sidebar-smart-section,
html[data-theme="light"] .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-nav-accordion-item,
html[data-theme="light"] .vq-nav-accordion-item {
  background: #ffffff !important;
  border-color: rgba(47,43,61,.10) !important;
  box-shadow: none;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle,
html[data-theme="light"] .vq-nav-accordion-toggle {
  color: #444050;
  border-radius: .75rem;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle > span > i,
html[data-theme="light"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-theme="light"] .vq-nav-accordion-toggle > .bi-chevron-down {
  color: rgba(47,43,61,.55);
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="light"] .vq-nav-accordion-toggle:hover,
html[data-theme="light"] .vq-nav-accordion-toggle:focus,
html[data-theme="light"] .vq-nav-accordion-toggle.active,
html[data-theme="light"] .vq-nav-accordion-toggle.vq-nav-accordion-open {
  color: #5e50ee !important;
  background: rgba(115,103,240,.10) !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover > .bi-chevron-down,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus > .bi-chevron-down,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="light"] .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down {
  color: #5e50ee !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-sidebar-mini-link,
html[data-theme="light"] .vq-sidebar-mini-link {
  color: #5d596c;
  border-radius: .625rem;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus,
html[data-theme="light"] .vq-sidebar-mini-link:hover,
html[data-theme="light"] .vq-sidebar-mini-link:focus {
  color: #5e50ee !important;
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.18) !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-sidebar-mini-link.active,
html[data-theme="light"] .vq-sidebar-mini-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #7367f0, #8f85f3) !important;
  border-color: #7367f0 !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.36) !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active i,
html[data-theme="light"] .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-sidebar-mini-link.active i,
html[data-theme="light"] .vq-sidebar-mini-link.active i {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-tools2-menu,
html[data-theme="light"] .vq-tools2-menu {
  background: #f8f7fa !important;
  border-left-color: rgba(115,103,240,.20) !important;
}

html[data-bs-theme="light"] .vq-tools2-layer,
html[data-theme="light"] .vq-tools2-layer {
  border-left-color: rgba(115,103,240,.22) !important;
}

html[data-bs-theme="light"] .vq-tools2-category:hover,
html[data-bs-theme="light"] .vq-tools2-category:focus,
html[data-theme="light"] .vq-tools2-category:hover,
html[data-theme="light"] .vq-tools2-category:focus {
  background: rgba(115,103,240,.08) !important;
  color: #5e50ee !important;
}

html[data-bs-theme="light"] .alert-primary,
html[data-theme="light"] .alert-primary {
  color: #5e50ee;
  background: rgba(115,103,240,.12);
  border-color: rgba(115,103,240,.22);
}

html[data-bs-theme="light"] .text-bg-primary,
html[data-theme="light"] .text-bg-primary,
html[data-bs-theme="light"] .bg-primary,
html[data-theme="light"] .bg-primary {
  background-color: #7367f0 !important;
}

html[data-bs-theme="light"] .text-primary,
html[data-theme="light"] .text-primary {
  color: #7367f0 !important;
}

html[data-bs-theme="light"] .border,
html[data-theme="light"] .border,
html[data-bs-theme="light"] .border-top,
html[data-theme="light"] .border-top,
html[data-bs-theme="light"] .border-bottom,
html[data-theme="light"] .border-bottom,
html[data-bs-theme="light"] .border-start,
html[data-theme="light"] .border-start,
html[data-bs-theme="light"] .border-end,
html[data-theme="light"] .border-end {
  border-color: rgba(47,43,61,.12) !important;
}

html[data-bs-theme="light"] .modal-backdrop.show,
html[data-theme="light"] .modal-backdrop.show {
  opacity: .32;
}

html[data-bs-theme="light"] .vq-mobile-tabbar,
html[data-theme="light"] .vq-mobile-tabbar {
  background: rgba(255,255,255,.90) !important;
  border-top-color: rgba(47,43,61,.12) !important;
  box-shadow: 0 -.25rem 1.125rem rgba(47,43,61,.10);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

html[data-bs-theme="light"] .vq-mobile-tabbar a.active,
html[data-theme="light"] .vq-mobile-tabbar a.active {
  color: #7367f0 !important;
}

html[data-bs-theme="light"] ::selection,
html[data-theme="light"] ::selection {
  color: #fff;
  background: rgba(115,103,240,.85);
}

/* ---------- AstruSocial step72: darker light-mode sidebar text ----------
   User request: make the text of the sidebar items 50% darker in light mode.
   Dark mode is intentionally untouched. */
html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  --bs-secondary-color: rgba(47,43,61,.94);
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar-smart-title,
html[data-theme="light"] .vq-sidebar-smart-title,
html[data-bs-theme="light"] .vq-sidebar-empty,
html[data-theme="light"] .vq-sidebar-empty {
  color: rgba(47,43,61,.94) !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle,
html[data-theme="light"] .vq-nav-accordion-toggle,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-sub,
html[data-theme="light"] .vq-navgroup .vq-side-link-sub,
html[data-bs-theme="light"] .vq-sidebar-mini-link,
html[data-theme="light"] .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-sidebar-mini-link span,
html[data-theme="light"] .vq-sidebar-mini-link span {
  color: #2f2b3d !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-nav-accordion-toggle > span > i,
html[data-theme="light"] .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-theme="light"] .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link i,
html[data-theme="light"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-sidebar-mini-link i,
html[data-theme="light"] .vq-sidebar-mini-link i {
  color: rgba(47,43,61,.86) !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus,
html[data-theme="light"] .vq-sidebar-mini-link:hover,
html[data-theme="light"] .vq-sidebar-mini-link:focus,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-nav-accordion-toggle:focus,
html[data-theme="light"] .vq-nav-accordion-toggle:hover,
html[data-theme="light"] .vq-nav-accordion-toggle:focus {
  color: #5e50ee !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus i,
html[data-theme="light"] .vq-navgroup .vq-side-link:hover i,
html[data-theme="light"] .vq-navgroup .vq-side-link:focus i,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover i,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus i,
html[data-theme="light"] .vq-sidebar-mini-link:hover i,
html[data-theme="light"] .vq-sidebar-mini-link:focus i {
  color: #5e50ee !important;
}

/* ---------- AstruSocial step80: Vuexy semi-dark light mode ----------
   User reference: Vuexy vertical-menu-template-semi-dark eCommerce dashboard.
   This replaces the all-light Vuexy-inspired sidebar with a semi-dark menu:
   light content area + dark vertical sidebar + purple active navigation.
   Dark mode remains untouched. No Vuexy assets or licensed files are copied.
*/
html[data-bs-theme="light"],
html[data-theme="light"] {
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.30);
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #675dd8;
  --vq-primary: #7367f0;
  --vq-primary-2: #8f85f3;
  --sd-semidark-menu-bg: #2f3349;
  --sd-semidark-menu-bg-2: #25293c;
  --sd-semidark-menu-text: #d7d5ea;
  --sd-semidark-menu-muted: rgba(215,213,234,.68);
  --sd-semidark-menu-border: rgba(231,227,252,.10);
  --sd-semidark-menu-hover: rgba(115,103,240,.18);
  --sd-semidark-menu-active-shadow: 0 .25rem .875rem rgba(115,103,240,.42);
}

html[data-bs-theme="light"] body.vq-body,
html[data-theme="light"] body.vq-body {
  background:
    radial-gradient(760px 460px at 94% -12%, rgba(115,103,240,.09), transparent 60%),
    radial-gradient(600px 360px at 5% 2%, rgba(0,186,209,.055), transparent 58%),
    #f8f7fa !important;
}

html[data-bs-theme="light"] .vq-app-shell,
html[data-theme="light"] .vq-app-shell {
  background: #f8f7fa !important;
}

html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content {
  background: #f8f7fa !important;
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  --bs-body-color: var(--sd-semidark-menu-text);
  --bs-secondary-color: var(--sd-semidark-menu-muted);
  --bs-tertiary-color: rgba(215,213,234,.55);
  --bs-border-color: var(--sd-semidark-menu-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 16rem),
    linear-gradient(180deg, var(--sd-semidark-menu-bg), var(--sd-semidark-menu-bg-2)) !important;
  color: var(--sd-semidark-menu-text) !important;
  border-color: var(--sd-semidark-menu-border) !important;
  box-shadow: .25rem 0 1.5rem rgba(47,43,61,.18) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-bs-theme="light"] .vq-sidebar .vq-logo,
html[data-theme="light"] .vq-sidebar .vq-logo,
html[data-bs-theme="light"] .vq-sidebar .navbar-brand,
html[data-theme="light"] .vq-sidebar .navbar-brand {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .text-body-secondary,
html[data-theme="light"] .vq-sidebar .text-body-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar small,
html[data-theme="light"] .vq-sidebar small,
html[data-bs-theme="light"] .vq-sidebar-smart-title,
html[data-theme="light"] .vq-sidebar-smart-title,
html[data-bs-theme="light"] .vq-sidebar-empty,
html[data-theme="light"] .vq-sidebar-empty {
  color: var(--sd-semidark-menu-muted) !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-tools,
html[data-theme="light"] .vq-sidebar .vq-sidebar-tools,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-smart-section,
html[data-theme="light"] .vq-sidebar .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-pin-current,
html[data-theme="light"] .vq-sidebar .vq-sidebar-pin-current,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-item,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-item {
  background: rgba(255,255,255,.045) !important;
  border-color: var(--sd-semidark-menu-border) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search {
  color: #ffffff !important;
  background: rgba(255,255,255,.075) !important;
  border-color: rgba(231,227,252,.12) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search::placeholder,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search::placeholder {
  color: rgba(215,213,234,.58) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search-wrap > i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search-wrap > i {
  color: rgba(215,213,234,.62) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link-sub,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link-sub,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link span,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link span,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle {
  color: var(--sd-semidark-menu-text) !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down {
  color: rgba(215,213,234,.72) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: #ffffff !important;
  background: var(--sd-semidark-menu-hover) !important;
  border-color: rgba(115,103,240,.28) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover > .bi-chevron-down,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus > .bi-chevron-down {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open {
  color: #ffffff !important;
  background: linear-gradient(135deg, #7367f0, #8f85f3) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: var(--sd-semidark-menu-active-shadow) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-tools2-menu,
html[data-theme="light"] .vq-sidebar .vq-tools2-menu,
html[data-bs-theme="light"] .vq-sidebar .vq-tools2-layer,
html[data-theme="light"] .vq-sidebar .vq-tools2-layer {
  background: rgba(255,255,255,.045) !important;
  border-color: var(--sd-semidark-menu-border) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-tools2-category,
html[data-theme="light"] .vq-sidebar .vq-tools2-category,
html[data-bs-theme="light"] .vq-sidebar .vq-tools2-category span,
html[data-theme="light"] .vq-sidebar .vq-tools2-category span {
  color: var(--sd-semidark-menu-text) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-tools2-category:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-tools2-category:focus,
html[data-theme="light"] .vq-sidebar .vq-tools2-category:hover,
html[data-theme="light"] .vq-sidebar .vq-tools2-category:focus {
  color: #ffffff !important;
  background: var(--sd-semidark-menu-hover) !important;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar {
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(47,43,61,.12) !important;
  box-shadow: 0 .25rem 1.125rem rgba(47,43,61,.08) !important;
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas,
html[data-bs-theme="light"] .accordion-item,
html[data-theme="light"] .accordion-item {
  background-color: #ffffff !important;
  border-color: rgba(47,43,61,.12) !important;
  box-shadow: 0 .25rem 1.125rem rgba(47,43,61,.08) !important;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn-dark,
html[data-theme="light"] .btn.btn-dark,
html[data-theme="light"] .btn-success,
html[data-theme="light"] .btn.btn-success,
html[data-theme="light"] .vq-legacy-btn-primary {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.32) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus {
  background: #675dd8 !important;
  border-color: #675dd8 !important;
  color: #fff !important;
  box-shadow: 0 .375rem 1rem rgba(115,103,240,.38) !important;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary {
  color: #7367f0 !important;
  border-color: rgba(115,103,240,.45) !important;
  background: rgba(115,103,240,.06) !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:focus {
  color: #fff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
}

html[data-bs-theme="light"] .postnest-mobile-tabbar,
html[data-theme="light"] .postnest-mobile-tabbar {
  background: rgba(255,255,255,.90) !important;
  border-top-color: rgba(47,43,61,.12) !important;
  box-shadow: 0 -.25rem 1.125rem rgba(47,43,61,.10);
}

html[data-bs-theme="light"] .postnest-mobile-tab.active,
html[data-bs-theme="light"] .postnest-mobile-tab:hover,
html[data-bs-theme="light"] .postnest-mobile-tab:focus,
html[data-theme="light"] .postnest-mobile-tab.active,
html[data-theme="light"] .postnest-mobile-tab:hover,
html[data-theme="light"] .postnest-mobile-tab:focus {
  color: #7367f0 !important;
  background: rgba(115,103,240,.12) !important;
}

/* ---------- Vuexy-inspired dark vertical menu theme (AstruSocial step83) ----------
   Replaces the older OpenArt-style dark mode with a Vuexy-like dark admin look:
   deep navy canvas, elevated slate cards, purple primary actions, and clean
   vertical-menu active states. Light mode rules above are left unchanged.
*/
html[data-bs-theme="dark"],
html[data-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: #25293c;
  --bs-body-bg-rgb: 37,41,60;
  --bs-body-color: #d7d8ef;
  --bs-body-color-rgb: 215,216,239;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255,255,255;
  --bs-secondary-color: rgba(225,222,245,.68);
  --bs-secondary-rgb: 172,174,199;
  --bs-tertiary-color: rgba(225,222,245,.50);
  --bs-tertiary-bg: #2b3046;
  --bs-tertiary-bg-rgb: 43,48,70;
  --bs-secondary-bg: #2f3349;
  --bs-secondary-bg-rgb: 47,51,73;
  --bs-border-color: rgba(225,222,245,.12);
  --bs-border-color-translucent: rgba(225,222,245,.14);
  --bs-link-color: #9f95f5;
  --bs-link-hover-color: #cfc9ff;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.18);
  --bs-primary-border-subtle: rgba(115,103,240,.42);
  --vq-bg: #25293c;
  --vq-bg-2: #23263a;
  --vq-surface: #2f3349;
  --vq-surface-2: #353a56;
  --vq-surface-solid: #2f3349;
  --vq-surface-elev: #373b57;
  --vq-text: #d7d8ef;
  --vq-muted: rgba(225,222,245,.64);
  --vq-border: rgba(225,222,245,.12);
  --vq-primary: #7367f0;
  --vq-primary-2: #9f95f5;
  --vq-shadow: 0 .25rem 1.125rem rgba(0,0,0,.28);
}

html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body,
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] body.vq-body {
  background: #25293c !important;
  color: #d7d8ef !important;
}

html[data-bs-theme="dark"] .vq-app-shell,
html[data-theme="dark"] .vq-app-shell,
html[data-bs-theme="dark"] .vq-main,
html[data-theme="dark"] .vq-main,
html[data-bs-theme="dark"] .vq-app-content,
html[data-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] .container,
html[data-theme="dark"] .container,
html[data-bs-theme="dark"] .container-fluid,
html[data-theme="dark"] .container-fluid {
  background: #25293c !important;
  color: #d7d8ef !important;
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-theme="dark"] .vq-sidebar {
  background: #2f3349 !important;
  border-color: rgba(225,222,245,.12) !important;
  box-shadow: 0 .25rem 1.125rem rgba(0,0,0,.32) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer,
html[data-theme="dark"] .vq-app-topbar,
html[data-theme="dark"] .vq-nav,
html[data-theme="dark"] .navbar.vq-nav,
html[data-theme="dark"] footer {
  background: rgba(47,51,73,.92) !important;
  border-color: rgba(225,222,245,.12) !important;
  box-shadow: 0 .25rem 1.125rem rgba(0,0,0,.26) !important;
  -webkit-backdrop-filter: saturate(180%) blur(10px) !important;
  backdrop-filter: saturate(180%) blur(10px) !important;
}

html[data-bs-theme="dark"] .vq-logo,
html[data-theme="dark"] .vq-logo,
html[data-bs-theme="dark"] .vq-sidebar .vq-brand-title,
html[data-theme="dark"] .vq-sidebar .vq-brand-title {
  color: #ffffff !important;
  text-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .text-secondary,
html[data-bs-theme="dark"] .vq-sidebar .small,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-kicker,
html[data-theme="dark"] .vq-sidebar .text-secondary,
html[data-theme="dark"] .vq-sidebar .small,
html[data-theme="dark"] .vq-sidebar .vq-side-kicker {
  color: rgba(225,222,245,.56) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link,
html[data-theme="dark"] .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .vq-sidebar a,
html[data-theme="dark"] .vq-sidebar a {
  color: rgba(225,222,245,.72) !important;
  border-color: transparent !important;
  background: transparent !important;
  opacity: 1 !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus,
html[data-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-theme="dark"] .vq-navgroup .vq-side-link:focus {
  color: #ffffff !important;
  background: rgba(225,222,245,.08) !important;
  border-color: rgba(225,222,245,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .active > .vq-side-link,
html[data-theme="dark"] .vq-sidebar .active > .vq-side-link {
  color: #ffffff !important;
  background: linear-gradient(118deg, #7367f0, #9f95f5) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.36) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-tools2-menu,
html[data-bs-theme="dark"] .vq-sidebar .vq-tools2-layer,
html[data-theme="dark"] .vq-sidebar .vq-tools2-menu,
html[data-theme="dark"] .vq-sidebar .vq-tools2-layer {
  background: rgba(225,222,245,.04) !important;
  border-color: rgba(225,222,245,.11) !important;
}

html[data-bs-theme="dark"] .card,
html[data-theme="dark"] .card,
html[data-bs-theme="dark"] .vq-card,
html[data-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .vq-glass,
html[data-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .modal-content,
html[data-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .accordion-item,
html[data-theme="dark"] .accordion-item,
html[data-bs-theme="dark"] .accordion-button,
html[data-theme="dark"] .accordion-button,
html[data-bs-theme="dark"] .bg-body,
html[data-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-dark,
html[data-theme="dark"] .bg-dark {
  background-color: #2f3349 !important;
  color: #d7d8ef !important;
  border-color: rgba(225,222,245,.12) !important;
  box-shadow: 0 .25rem 1.125rem rgba(0,0,0,.28) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-bs-theme="dark"] .vq-card:hover,
html[data-bs-theme="dark"] .card:hover,
html[data-theme="dark"] .vq-card:hover,
html[data-theme="dark"] .card:hover {
  border-color: rgba(225,222,245,.20) !important;
  box-shadow: 0 .375rem 1.35rem rgba(0,0,0,.34) !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-theme="dark"] textarea,
html[data-bs-theme="dark"] .input-group-text,
html[data-theme="dark"] .input-group-text {
  background-color: #25293c !important;
  border-color: rgba(225,222,245,.16) !important;
  color: #d7d8ef !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-theme="dark"] textarea:focus {
  background-color: #25293c !important;
  border-color: rgba(115,103,240,.70) !important;
  box-shadow: 0 0 0 .18rem rgba(115,103,240,.18) !important;
}

html[data-bs-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] .form-control::placeholder,
html[data-bs-theme="dark"] textarea::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(225,222,245,.42) !important;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-bs-theme="dark"] .btn-dark,
html[data-bs-theme="dark"] .btn.btn-dark,
html[data-bs-theme="dark"] .btn-success,
html[data-bs-theme="dark"] .btn.btn-success,
html[data-bs-theme="dark"] .vq-legacy-btn-primary,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn.btn-primary,
html[data-theme="dark"] .btn-dark,
html[data-theme="dark"] .btn.btn-dark,
html[data-theme="dark"] .btn-success,
html[data-theme="dark"] .btn.btn-success,
html[data-theme="dark"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #7367f0;
  --bs-btn-border-color: #7367f0;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #675dd8;
  --bs-btn-hover-border-color: #675dd8;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5f56c9;
  --bs-btn-active-border-color: #5f56c9;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.34) !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-bs-theme="dark"] .btn-dark:hover,
html[data-bs-theme="dark"] .btn-dark:focus,
html[data-bs-theme="dark"] .btn.btn-dark:hover,
html[data-bs-theme="dark"] .btn.btn-dark:focus,
html[data-bs-theme="dark"] .btn-success:hover,
html[data-bs-theme="dark"] .btn-success:focus,
html[data-bs-theme="dark"] .btn.btn-success:hover,
html[data-bs-theme="dark"] .btn.btn-success:focus,
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:focus,
html[data-theme="dark"] .btn.btn-primary:hover,
html[data-theme="dark"] .btn.btn-primary:focus,
html[data-theme="dark"] .btn-dark:hover,
html[data-theme="dark"] .btn-dark:focus,
html[data-theme="dark"] .btn.btn-dark:hover,
html[data-theme="dark"] .btn.btn-dark:focus,
html[data-theme="dark"] .btn-success:hover,
html[data-theme="dark"] .btn-success:focus,
html[data-theme="dark"] .btn.btn-success:hover,
html[data-theme="dark"] .btn.btn-success:focus {
  background: #675dd8 !important;
  border-color: #675dd8 !important;
  box-shadow: 0 .375rem 1rem rgba(115,103,240,.42) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-primary {
  color: #9f95f5 !important;
  border-color: rgba(115,103,240,.52) !important;
  background: rgba(115,103,240,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus,
html[data-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .btn-outline-primary:focus {
  color: #fff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.30) !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light,
html[data-theme="dark"] .btn-outline-secondary,
html[data-theme="dark"] .btn-outline-light {
  color: rgba(225,222,245,.76) !important;
  border-color: rgba(225,222,245,.18) !important;
  background: rgba(225,222,245,.05) !important;
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:focus,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-bs-theme="dark"] .btn-outline-light:focus,
html[data-theme="dark"] .btn-outline-secondary:hover,
html[data-theme="dark"] .btn-outline-secondary:focus,
html[data-theme="dark"] .btn-outline-light:hover,
html[data-theme="dark"] .btn-outline-light:focus {
  color: #fff !important;
  background: rgba(225,222,245,.10) !important;
  border-color: rgba(225,222,245,.28) !important;
}

html[data-bs-theme="dark"] .vq-icon,
html[data-theme="dark"] .vq-icon,
html[data-bs-theme="dark"] .vq-pill,
html[data-theme="dark"] .vq-pill,
html[data-bs-theme="dark"] .vq-pill-sm,
html[data-theme="dark"] .vq-pill-sm,
html[data-bs-theme="dark"] .vq-badge-soft,
html[data-theme="dark"] .vq-badge-soft,
html[data-bs-theme="dark"] .badge,
html[data-theme="dark"] .badge,
html[data-bs-theme="dark"] .text-bg-light,
html[data-theme="dark"] .text-bg-light,
html[data-bs-theme="dark"] .text-bg-secondary,
html[data-theme="dark"] .text-bg-secondary {
  background-color: #373b57 !important;
  color: rgba(225,222,245,.86) !important;
  border-color: rgba(225,222,245,.12) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .nav-tabs,
html[data-bs-theme="dark"] .nav-pills,
html[data-theme="dark"] .nav-tabs,
html[data-theme="dark"] .nav-pills {
  background-color: transparent !important;
  border-color: rgba(225,222,245,.12) !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .nav-pills .show > .nav-link,
html[data-bs-theme="dark"] .btn-group .btn.active,
html[data-bs-theme="dark"] .btn-check:checked + .btn,
html[data-bs-theme="dark"] .vq-legacy-tab.active,
html[data-bs-theme="dark"] .vq-legacy-chip.active,
html[data-bs-theme="dark"] .model-tile.active,
html[data-bs-theme="dark"] .videoai2-pill.active,
html[data-bs-theme="dark"] .videoai2-model.active,
html[data-bs-theme="dark"] .videoai2-side-item.active,
html[data-theme="dark"] .nav-tabs .nav-link.active,
html[data-theme="dark"] .nav-pills .nav-link.active,
html[data-theme="dark"] .nav-pills .show > .nav-link,
html[data-theme="dark"] .btn-group .btn.active,
html[data-theme="dark"] .btn-check:checked + .btn,
html[data-theme="dark"] .vq-legacy-tab.active,
html[data-theme="dark"] .vq-legacy-chip.active,
html[data-theme="dark"] .model-tile.active,
html[data-theme="dark"] .videoai2-pill.active,
html[data-theme="dark"] .videoai2-model.active,
html[data-theme="dark"] .videoai2-side-item.active {
  color: #fff !important;
  background: rgba(115,103,240,.18) !important;
  border-color: rgba(115,103,240,.50) !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.20) !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > *,
html[data-theme="dark"] .table,
html[data-theme="dark"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: #d7d8ef;
  --bs-table-border-color: rgba(225,222,245,.12);
  color: #d7d8ef !important;
  border-color: rgba(225,222,245,.12) !important;
}

html[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > *,
html[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: rgba(225,222,245,.035);
}

html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .link-secondary,
html[data-theme="dark"] .dropdown-item,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .navbar-brand,
html[data-theme="dark"] .link-secondary {
  color: rgba(225,222,245,.74) !important;
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus,
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link:focus {
  color: #fff !important;
  background-color: rgba(115,103,240,.12) !important;
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end,
html[data-bs-theme="dark"] .navbar-toggler,
html[data-bs-theme="dark"] .accordion-button,
html[data-theme="dark"] .border,
html[data-theme="dark"] .border-top,
html[data-theme="dark"] .border-bottom,
html[data-theme="dark"] .border-start,
html[data-theme="dark"] .border-end,
html[data-theme="dark"] .navbar-toggler,
html[data-theme="dark"] .accordion-button {
  border-color: rgba(225,222,245,.12) !important;
}

html[data-bs-theme="dark"] .pv-page,
html[data-bs-theme="dark"] .vq-home-page,
html[data-bs-theme="dark"] .vq-public-page,
html[data-theme="dark"] .pv-page,
html[data-theme="dark"] .vq-home-page,
html[data-theme="dark"] .vq-public-page {
  background: #25293c !important;
}

html[data-bs-theme="dark"] .pv-hero,
html[data-bs-theme="dark"] .pv-featured-panel,
html[data-bs-theme="dark"] .pv-cap-card,
html[data-bs-theme="dark"] .pv-enterprise,
html[data-bs-theme="dark"] .pv-stat-card,
html[data-bs-theme="dark"] .pv-story-card,
html[data-bs-theme="dark"] .vq-tool-card,
html[data-bs-theme="dark"] .vq-tools-toolbar .dropdown-menu,
html[data-theme="dark"] .pv-hero,
html[data-theme="dark"] .pv-featured-panel,
html[data-theme="dark"] .pv-cap-card,
html[data-theme="dark"] .pv-enterprise,
html[data-theme="dark"] .pv-stat-card,
html[data-theme="dark"] .pv-story-card,
html[data-theme="dark"] .vq-tool-card,
html[data-theme="dark"] .vq-tools-toolbar .dropdown-menu {
  background: #2f3349 !important;
  border-color: rgba(225,222,245,.12) !important;
  box-shadow: 0 .25rem 1.125rem rgba(0,0,0,.28) !important;
}

html[data-bs-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-bs-theme="dark"] .vq-all-tools-modal .modal-header,
html[data-theme="dark"] .vq-all-tools-modal .modal-content,
html[data-theme="dark"] .vq-all-tools-modal .modal-body,
html[data-theme="dark"] .vq-all-tools-modal .modal-header {
  background: #2f3349 !important;
  color: #d7d8ef !important;
  border-color: rgba(225,222,245,.12) !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card,
html[data-theme="dark"] .vq-all-tool-card {
  background: #353a56 !important;
  border-color: rgba(225,222,245,.12) !important;
  color: rgba(225,222,245,.88) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card i,
html[data-theme="dark"] .vq-all-tool-card i {
  background: rgba(115,103,240,.13) !important;
  color: #9f95f5 !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card:hover,
html[data-bs-theme="dark"] .vq-all-tool-card:focus,
html[data-theme="dark"] .vq-all-tool-card:hover,
html[data-theme="dark"] .vq-all-tool-card:focus {
  background: #3b405f !important;
  border-color: rgba(225,222,245,.20) !important;
  color: #fff !important;
}

html[data-bs-theme="dark"] .vq-all-tool-card.active,
html[data-theme="dark"] .vq-all-tool-card.active {
  background: rgba(115,103,240,.20) !important;
  border-color: rgba(115,103,240,.50) !important;
  color: #fff !important;
  box-shadow: inset 3px 0 0 rgba(115,103,240,.95) !important;
}

html[data-bs-theme="dark"] .postnest-mobile-tabbar,
html[data-theme="dark"] .postnest-mobile-tabbar {
  background: rgba(47,51,73,.94) !important;
  border-top-color: rgba(225,222,245,.12) !important;
  box-shadow: 0 -.25rem 1.125rem rgba(0,0,0,.32) !important;
}

html[data-bs-theme="dark"] .postnest-mobile-tab.active,
html[data-bs-theme="dark"] .postnest-mobile-tab:hover,
html[data-bs-theme="dark"] .postnest-mobile-tab:focus,
html[data-theme="dark"] .postnest-mobile-tab.active,
html[data-theme="dark"] .postnest-mobile-tab:hover,
html[data-theme="dark"] .postnest-mobile-tab:focus {
  color: #ffffff !important;
  background: rgba(115,103,240,.18) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track,
html[data-theme="dark"] ::-webkit-scrollbar-track { background: #25293c !important; }

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb,
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #4b506f !important;
  border: 2px solid #25293c !important;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #5f6588 !important;
}


/* AstruSocial FullCalendar integration */
.pn-fullcalendar-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    padding: 1rem;
    box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .06);
}

.pn-fullcalendar-card .fc {
    --fc-border-color: var(--bs-border-color);
    --fc-page-bg-color: transparent;
    --fc-neutral-bg-color: var(--bs-tertiary-bg);
    --fc-list-event-hover-bg-color: rgba(var(--bs-primary-rgb), .08);
    --fc-today-bg-color: rgba(var(--bs-primary-rgb), .10);
    color: var(--bs-body-color);
}

.pn-fullcalendar-card .fc .fc-toolbar-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.pn-fullcalendar-card .fc .fc-button {
    border-radius: .65rem;
    border-color: var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    box-shadow: none;
}

.pn-fullcalendar-card .fc .fc-button:hover,
.pn-fullcalendar-card .fc .fc-button:focus,
.pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active {
    border-color: rgba(var(--bs-primary-rgb), .45);
    background: rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
}

.pn-fullcalendar-card .fc .fc-event {
    border: 0;
    border-radius: .55rem;
    padding: .08rem .25rem;
    background: var(--bs-primary);
    color: #fff;
    cursor: pointer;
}

.pn-fullcalendar-card .fc .fc-daygrid-event-dot {
    border-color: currentColor;
}

.pn-fullcalendar-card .fc .fc-list-event-title a,
.pn-fullcalendar-card .fc .fc-list-event-time {
    color: var(--bs-body-color);
}

.pn-fullcalendar-card .pn-fc-status-draft,
.pn-fullcalendar-card .pn-fc-status-planning {
    background: var(--bs-secondary) !important;
}

.pn-fullcalendar-card .pn-fc-status-needs-review,
.pn-fullcalendar-card .pn-fc-status-changes-requested {
    background: var(--bs-warning) !important;
    color: #1f2937 !important;
}

.pn-fullcalendar-card .pn-fc-status-approved,
.pn-fullcalendar-card .pn-fc-status-scheduled,
.pn-fullcalendar-card .pn-fc-status-active {
    background: var(--bs-primary) !important;
}

.pn-fullcalendar-card .pn-fc-status-published,
.pn-fullcalendar-card .pn-fc-status-completed,
.pn-fullcalendar-card .pn-fc-status-imported {
    background: var(--bs-success) !important;
}

.pn-fullcalendar-card .pn-fc-status-failed,
.pn-fullcalendar-card .pn-fc-status-overdue {
    background: var(--bs-danger) !important;
}

.pn-fullcalendar-card .pn-fc-status-paused,
.pn-fullcalendar-card .pn-fc-status-cancelled,
.pn-fullcalendar-card .pn-fc-status-archived {
    background: var(--bs-dark) !important;
}

@media (max-width: 767.98px) {
    .pn-fullcalendar-card {
        padding: .75rem;
    }

    .pn-fullcalendar-card .fc .fc-toolbar {
        gap: .5rem;
        align-items: stretch;
    }

    .pn-fullcalendar-card .fc .fc-toolbar-title {
        font-size: .95rem;
    }
}

/* ---------- AstruSocial step86: Vuexy semi-dark Order Details light mode ----------
   User reference: Vuexy vertical-menu-template-semi-dark eCommerce order details.
   This is an original CSS adaptation for AstruSocial. It keeps light mode as a
   semi-dark admin shell: dark vertical menu, light content canvas, white
   order-detail-style cards, compact tables, subtle borders and Vuexy purple accents.
   Dark mode rules are intentionally untouched.
*/
html[data-bs-theme="light"],
html[data-theme="light"] {
  color-scheme: light;
  --bs-body-bg: #f8f7fa;
  --bs-body-bg-rgb: 248,247,250;
  --bs-body-color: #444050;
  --bs-body-color-rgb: 68,64,80;
  --bs-emphasis-color: #2f2b3d;
  --bs-emphasis-color-rgb: 47,43,61;
  --bs-secondary-color: rgba(47,43,61,.68);
  --bs-tertiary-color: rgba(47,43,61,.50);
  --bs-tertiary-bg: #f3f2f7;
  --bs-secondary-bg: #f1f0f5;
  --bs-border-color: #dbdade;
  --bs-border-color-translucent: rgba(47,43,61,.12);
  --bs-heading-color: #2f2b3d;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.28);
  --bs-primary-text-emphasis: #5e50ee;
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #685dd8;
  --bs-success: #28c76f;
  --bs-success-rgb: 40,199,111;
  --bs-info: #00bad1;
  --bs-info-rgb: 0,186,209;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255,159,67;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --vq-bg: #f8f7fa;
  --vq-bg-2: #f3f2f7;
  --vq-surface: #ffffff;
  --vq-surface-2: #f8f7fa;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --vq-text: #444050;
  --vq-muted: rgba(47,43,61,.68);
  --vq-border: #dbdade;
  --vq-primary: #7367f0;
  --vq-primary-2: #8f85f3;
  --vq-shadow: 0 .25rem 1.125rem rgba(47,43,61,.10);
  --sd-order-bg: #f8f7fa;
  --sd-order-card: #ffffff;
  --sd-order-card-shadow: 0 .25rem 1.125rem rgba(47,43,61,.10);
  --sd-order-border: rgba(47,43,61,.12);
  --sd-order-menu-bg: #2f3349;
  --sd-order-menu-bg-2: #25293c;
  --sd-order-menu-text: #d7d5ea;
  --sd-order-menu-muted: rgba(215,213,234,.62);
  --sd-order-menu-hover: rgba(255,255,255,.07);
}

html[data-bs-theme="light"] body,
html[data-theme="light"] body,
html[data-bs-theme="light"] .vq-body,
html[data-theme="light"] .vq-body,
html[data-bs-theme="light"] body.vq-body.vq-app,
html[data-theme="light"] body.vq-body.vq-app {
  background: #f8f7fa !important;
  color: #444050 !important;
}

html[data-bs-theme="light"] .vq-app-shell,
html[data-theme="light"] .vq-app-shell,
html[data-bs-theme="light"] .vq-main,
html[data-theme="light"] .vq-main,
html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content,
html[data-bs-theme="light"] .container-fluid,
html[data-theme="light"] .container-fluid {
  background: transparent !important;
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  background: linear-gradient(180deg, #2f3349 0%, #25293c 100%) !important;
  border-right: 0 !important;
  box-shadow: .25rem 0 1.25rem rgba(47,43,61,.18) !important;
}

html[data-bs-theme="light"] .vq-sidebar::before,
html[data-theme="light"] .vq-sidebar::before {
  background: linear-gradient(90deg, rgba(255,255,255,.10), transparent) !important;
  opacity: .55;
}

html[data-bs-theme="light"] .vq-sidebar .vq-brand-mark,
html[data-theme="light"] .vq-sidebar .vq-brand-mark,
html[data-bs-theme="light"] .vq-sidebar .vq-brand-logo,
html[data-theme="light"] .vq-sidebar .vq-brand-logo {
  color: #fff !important;
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-section-title,
html[data-theme="light"] .vq-sidebar .vq-sidebar-section-title,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup-label,
html[data-theme="light"] .vq-sidebar .vq-navgroup-label {
  color: var(--sd-order-menu-muted) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle {
  color: var(--sd-order-menu-text) !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle i {
  color: rgba(215,213,234,.72) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: #ffffff !important;
  background: var(--sd-order-menu-hover) !important;
  border-color: rgba(255,255,255,.04) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus i {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open {
  color: #ffffff !important;
  background: linear-gradient(118deg, #7367f0, #9f95f5) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.40) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-tools2-menu,
html[data-theme="light"] .vq-sidebar .vq-tools2-menu,
html[data-bs-theme="light"] .vq-sidebar .vq-tools2-layer,
html[data-theme="light"] .vq-sidebar .vq-tools2-layer,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-panel,
html[data-theme="light"] .vq-sidebar .vq-sidebar-panel {
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.08) !important;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar {
  background: rgba(255,255,255,.92) !important;
  border-color: transparent !important;
  box-shadow: 0 .125rem .75rem rgba(47,43,61,.08) !important;
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

html[data-bs-theme="light"] .vq-app-topbar .btn,
html[data-theme="light"] .vq-app-topbar .btn,
html[data-bs-theme="light"] .vq-app-topbar .form-control,
html[data-theme="light"] .vq-app-topbar .form-control,
html[data-bs-theme="light"] .vq-app-topbar .form-select,
html[data-theme="light"] .vq-app-topbar .form-select {
  box-shadow: none !important;
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .vq-glass,
html[data-theme="light"] .vq-glass,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas,
html[data-bs-theme="light"] .accordion-item,
html[data-theme="light"] .accordion-item,
html[data-bs-theme="light"] .pn-fullcalendar-card,
html[data-theme="light"] .pn-fullcalendar-card {
  background-color: #ffffff !important;
  border: 1px solid var(--sd-order-border) !important;
  border-radius: .75rem !important;
  box-shadow: var(--sd-order-card-shadow) !important;
  color: #444050 !important;
}

html[data-bs-theme="light"] .card-header,
html[data-theme="light"] .card-header,
html[data-bs-theme="light"] .card-footer,
html[data-theme="light"] .card-footer,
html[data-bs-theme="light"] .modal-header,
html[data-theme="light"] .modal-header,
html[data-bs-theme="light"] .modal-footer,
html[data-theme="light"] .modal-footer {
  background: transparent !important;
  border-color: rgba(47,43,61,.12) !important;
}

html[data-bs-theme="light"] h1,
html[data-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-theme="light"] h6,
html[data-bs-theme="light"] .card-title,
html[data-theme="light"] .card-title,
html[data-bs-theme="light"] .vq-app-topbar-title,
html[data-theme="light"] .vq-app-topbar-title {
  color: #2f2b3d !important;
  letter-spacing: -.01em;
}

html[data-bs-theme="light"] .text-muted,
html[data-theme="light"] .text-muted,
html[data-bs-theme="light"] .text-secondary,
html[data-theme="light"] .text-secondary,
html[data-bs-theme="light"] .small,
html[data-theme="light"] .small {
  color: rgba(47,43,61,.68) !important;
}

html[data-bs-theme="light"] .table,
html[data-theme="light"] .table {
  --bs-table-bg: transparent;
  --bs-table-color: #444050;
  --bs-table-border-color: rgba(47,43,61,.12);
  --bs-table-striped-bg: rgba(47,43,61,.025);
  --bs-table-hover-bg: rgba(115,103,240,.055);
  color: #444050 !important;
  border-color: rgba(47,43,61,.12) !important;
}

html[data-bs-theme="light"] .table > :not(caption) > * > *,
html[data-theme="light"] .table > :not(caption) > * > * {
  border-bottom-color: rgba(47,43,61,.12) !important;
  padding-top: .85rem;
  padding-bottom: .85rem;
}

html[data-bs-theme="light"] .table thead th,
html[data-theme="light"] .table thead th,
html[data-bs-theme="light"] .table .table-light th,
html[data-theme="light"] .table .table-light th {
  background: #f6f6f8 !important;
  color: rgba(47,43,61,.76) !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

html[data-bs-theme="light"] .form-control,
html[data-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-theme="light"] .form-select,
html[data-bs-theme="light"] .input-group-text,
html[data-theme="light"] .input-group-text {
  background-color: #ffffff !important;
  border-color: rgba(47,43,61,.18) !important;
  color: #444050 !important;
  border-radius: .5rem !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-theme="light"] .form-select:focus {
  border-color: #7367f0 !important;
  box-shadow: 0 0 0 .18rem rgba(115,103,240,.14) !important;
}

html[data-bs-theme="light"] .btn,
html[data-theme="light"] .btn {
  border-radius: .5rem !important;
  font-weight: 500;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn-dark,
html[data-theme="light"] .btn.btn-dark,
html[data-theme="light"] .btn-success,
html[data-theme="light"] .btn.btn-success,
html[data-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #7367f0;
  --bs-btn-border-color: #7367f0;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #685dd8;
  --bs-btn-hover-border-color: #685dd8;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #5e50ee;
  --bs-btn-active-border-color: #5e50ee;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #ffffff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.30) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus,
html[data-theme="light"] .btn.btn-primary:hover,
html[data-theme="light"] .btn.btn-primary:focus,
html[data-theme="light"] .btn-dark:hover,
html[data-theme="light"] .btn-dark:focus,
html[data-theme="light"] .btn.btn-dark:hover,
html[data-theme="light"] .btn.btn-dark:focus,
html[data-theme="light"] .btn-success:hover,
html[data-theme="light"] .btn-success:focus,
html[data-theme="light"] .btn.btn-success:hover,
html[data-theme="light"] .btn.btn-success:focus,
html[data-theme="light"] .vq-legacy-btn-primary:hover,
html[data-theme="light"] .vq-legacy-btn-primary:focus {
  background: #685dd8 !important;
  border-color: #685dd8 !important;
  color: #ffffff !important;
  box-shadow: 0 .25rem .75rem rgba(115,103,240,.35) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-theme="light"] .btn-outline-light {
  color: #7367f0 !important;
  border-color: rgba(115,103,240,.45) !important;
  background: rgba(115,103,240,.06) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:focus,
html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-theme="light"] .btn-outline-light:hover,
html[data-theme="light"] .btn-outline-light:focus {
  color: #ffffff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.28) !important;
}

html[data-bs-theme="light"] .badge,
html[data-theme="light"] .badge {
  border-radius: .375rem;
  font-weight: 600;
}

html[data-bs-theme="light"] .badge.bg-primary,
html[data-theme="light"] .badge.bg-primary {
  background: rgba(115,103,240,.16) !important;
  color: #7367f0 !important;
}

html[data-bs-theme="light"] .badge.bg-success,
html[data-theme="light"] .badge.bg-success {
  background: rgba(40,199,111,.16) !important;
  color: #24a85f !important;
}

html[data-bs-theme="light"] .badge.bg-warning,
html[data-theme="light"] .badge.bg-warning {
  background: rgba(255,159,67,.18) !important;
  color: #b76a18 !important;
}

html[data-bs-theme="light"] .badge.bg-danger,
html[data-theme="light"] .badge.bg-danger {
  background: rgba(234,84,85,.16) !important;
  color: #d14b4c !important;
}

html[data-bs-theme="light"] .badge.bg-info,
html[data-theme="light"] .badge.bg-info {
  background: rgba(0,186,209,.16) !important;
  color: #00a3b8 !important;
}

html[data-bs-theme="light"] .badge.bg-secondary,
html[data-theme="light"] .badge.bg-secondary,
html[data-bs-theme="light"] .vq-badge-soft,
html[data-theme="light"] .vq-badge-soft,
html[data-bs-theme="light"] .vq-pill,
html[data-theme="light"] .vq-pill,
html[data-bs-theme="light"] .vq-pill-sm,
html[data-theme="light"] .vq-pill-sm {
  background: rgba(47,43,61,.08) !important;
  color: rgba(47,43,61,.72) !important;
  border-color: rgba(47,43,61,.10) !important;
}

html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item {
  background: #ffffff !important;
  border-color: rgba(47,43,61,.12) !important;
  color: #444050 !important;
}

html[data-bs-theme="light"] .dropdown-item,
html[data-theme="light"] .dropdown-item,
html[data-bs-theme="light"] .nav-link,
html[data-theme="light"] .nav-link {
  color: #444050;
}

html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus,
html[data-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .dropdown-item:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-theme="light"] .nav-pills .nav-link:hover,
html[data-theme="light"] .nav-pills .nav-link:focus {
  color: #7367f0 !important;
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-theme="light"] .videoai2-model.active {
  color: #7367f0 !important;
  background: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.30) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .accordion-button:not(.collapsed),
html[data-theme="light"] .accordion-button:not(.collapsed) {
  color: #7367f0 !important;
  background: rgba(115,103,240,.08) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc,
html[data-theme="light"] .pn-fullcalendar-card .fc {
  --fc-border-color: rgba(47,43,61,.12);
  --fc-neutral-bg-color: #f6f6f8;
  --fc-today-bg-color: rgba(115,103,240,.10);
  --fc-list-event-hover-bg-color: rgba(115,103,240,.08);
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button {
  border-radius: .5rem;
  background: #ffffff;
  border-color: rgba(47,43,61,.16);
  color: #444050;
  box-shadow: none;
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active {
  color: #7367f0;
  background: rgba(115,103,240,.08);
  border-color: rgba(115,103,240,.30);
}

html[data-bs-theme="light"] .postnest-mobile-tabbar,
html[data-theme="light"] .postnest-mobile-tabbar {
  background: rgba(255,255,255,.94) !important;
  border-top-color: rgba(47,43,61,.12) !important;
  box-shadow: 0 -.25rem 1.125rem rgba(47,43,61,.10) !important;
}

html[data-bs-theme="light"] .postnest-mobile-tab.active,
html[data-bs-theme="light"] .postnest-mobile-tab:hover,
html[data-bs-theme="light"] .postnest-mobile-tab:focus,
html[data-theme="light"] .postnest-mobile-tab.active,
html[data-theme="light"] .postnest-mobile-tab:hover,
html[data-theme="light"] .postnest-mobile-tab:focus {
  color: #7367f0 !important;
  background: rgba(115,103,240,.12) !important;
}

/* ---------- Vuexy semi-dark order-details red accent override (AstruSocial step87) ----------
   Light mode keeps the semi-dark Vuexy layout, but uses the red/danger accent
   for primary buttons and active sidebar states, matching the eCommerce order
   details demo direction requested by the user. */
html[data-bs-theme="light"],
html[data-theme="light"] {
  --bs-primary: #ea5455;
  --bs-primary-rgb: 234,84,85;
  --bs-primary-bg-subtle: rgba(234,84,85,.12);
  --bs-primary-border-subtle: rgba(234,84,85,.30);
  --bs-primary-text-emphasis: #d14b4c;
  --bs-link-color: #ea5455;
  --bs-link-hover-color: #d14b4c;
  --vq-primary: #ea5455;
  --vq-primary-2: #ff7374;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-bs-theme="light"] .vq-legacy-btn-primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn-dark,
html[data-theme="light"] .btn.btn-dark,
html[data-theme="light"] .btn-success,
html[data-theme="light"] .btn.btn-success,
html[data-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #ea5455;
  --bs-btn-border-color: #ea5455;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #d64b4c;
  --bs-btn-hover-border-color: #d64b4c;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #c84344;
  --bs-btn-active-border-color: #c84344;
  background: #ea5455 !important;
  border-color: #ea5455 !important;
  color: #ffffff !important;
  box-shadow: 0 .125rem .375rem rgba(234,84,85,.32) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .btn.btn-dark:hover,
html[data-bs-theme="light"] .btn.btn-dark:focus,
html[data-bs-theme="light"] .btn-success:hover,
html[data-bs-theme="light"] .btn-success:focus,
html[data-bs-theme="light"] .btn.btn-success:hover,
html[data-bs-theme="light"] .btn.btn-success:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus,
html[data-theme="light"] .btn.btn-primary:hover,
html[data-theme="light"] .btn.btn-primary:focus,
html[data-theme="light"] .btn-dark:hover,
html[data-theme="light"] .btn-dark:focus,
html[data-theme="light"] .btn.btn-dark:hover,
html[data-theme="light"] .btn.btn-dark:focus,
html[data-theme="light"] .btn-success:hover,
html[data-theme="light"] .btn-success:focus,
html[data-theme="light"] .btn.btn-success:hover,
html[data-theme="light"] .btn.btn-success:focus,
html[data-theme="light"] .vq-legacy-btn-primary:hover,
html[data-theme="light"] .vq-legacy-btn-primary:focus {
  background: #d64b4c !important;
  border-color: #d64b4c !important;
  color: #ffffff !important;
  box-shadow: 0 .25rem .75rem rgba(234,84,85,.38) !important;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-theme="light"] .btn-outline-light {
  color: #ea5455 !important;
  border-color: rgba(234,84,85,.45) !important;
  background: rgba(234,84,85,.06) !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:focus,
html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-theme="light"] .btn-outline-light:hover,
html[data-theme="light"] .btn-outline-light:focus {
  color: #ffffff !important;
  background: #ea5455 !important;
  border-color: #ea5455 !important;
  box-shadow: 0 .125rem .375rem rgba(234,84,85,.30) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open {
  color: #ffffff !important;
  background: linear-gradient(118deg, #ea5455, #ff7374) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 .125rem .5rem rgba(234,84,85,.44) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-theme="light"] .form-select:focus {
  border-color: #ea5455 !important;
  box-shadow: 0 0 0 .18rem rgba(234,84,85,.14) !important;
}

html[data-bs-theme="light"] .badge.bg-primary,
html[data-theme="light"] .badge.bg-primary {
  background: rgba(234,84,85,.16) !important;
  color: #d14b4c !important;
}

html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus,
html[data-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .dropdown-item:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-theme="light"] .nav-pills .nav-link:hover,
html[data-theme="light"] .nav-pills .nav-link:focus {
  color: #ea5455 !important;
  background: rgba(234,84,85,.08) !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-theme="light"] .videoai2-model.active {
  color: #d14b4c !important;
  background: rgba(234,84,85,.12) !important;
  border-color: rgba(234,84,85,.30) !important;
}

html[data-bs-theme="light"] .accordion-button:not(.collapsed),
html[data-theme="light"] .accordion-button:not(.collapsed) {
  color: #d14b4c !important;
  background: rgba(234,84,85,.08) !important;
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc,
html[data-theme="light"] .pn-fullcalendar-card .fc {
  --fc-today-bg-color: rgba(234,84,85,.10);
  --fc-list-event-hover-bg-color: rgba(234,84,85,.08);
  --fc-event-bg-color: #ea5455;
  --fc-event-border-color: #ea5455;
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active {
  color: #ea5455 !important;
  background: rgba(234,84,85,.08) !important;
  border-color: rgba(234,84,85,.30) !important;
}

html[data-bs-theme="light"] .postnest-mobile-tab.active,
html[data-bs-theme="light"] .postnest-mobile-tab:hover,
html[data-bs-theme="light"] .postnest-mobile-tab:focus,
html[data-theme="light"] .postnest-mobile-tab.active,
html[data-theme="light"] .postnest-mobile-tab:hover,
html[data-theme="light"] .postnest-mobile-tab:focus {
  color: #ea5455 !important;
  background: rgba(234,84,85,.12) !important;
}

/* AstruSocial ApexCharts integration */
.postnest-apex-chart {
    min-height: 280px;
    width: 100%;
}
.postnest-apex-chart .apexcharts-canvas,
.postnest-apex-chart .apexcharts-svg {
    width: 100% !important;
}
.postnest-apex-chart-mount {
    width: 100%;
    min-height: 260px;
}
.postnest-chart-empty {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--bs-border-color);
    border-radius: 1rem;
    color: var(--bs-secondary-color);
    background: rgba(var(--bs-body-color-rgb), .02);
    text-align: center;
    padding: 1.25rem;
    font-size: .92rem;
}
.apexcharts-tooltip,
.apexcharts-menu {
    border-color: var(--bs-border-color) !important;
    box-shadow: 0 .5rem 1.5rem rgba(47, 43, 61, .12) !important;
}
html[data-bs-theme="dark"] .apexcharts-tooltip,
html[data-theme="dark"] .apexcharts-tooltip,
html[data-bs-theme="dark"] .apexcharts-menu,
html[data-theme="dark"] .apexcharts-menu {
    background: #2f3349 !important;
    color: #d0d2d6 !important;
}

/* ---------- AstruSocial step89: SurfStats calendar-inspired dark mode ----------
   User reference: https://surfstats.com/app/calendar.
   The private app page redirects to login when public, so this is an original
   SurfStats Studio-style dark adaptation for AstruSocial: charcoal/navy app shell,
   glassy cards, vivid blue-violet accents, and calendar/dashboard-friendly
   contrast. Light mode remains unchanged.
*/
html[data-bs-theme="dark"],
html[data-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: #0b1020;
  --bs-body-bg-rgb: 11,16,32;
  --bs-body-color: #e8ecf7;
  --bs-body-color-rgb: 232,236,247;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255,255,255;
  --bs-secondary-color: rgba(232,236,247,.72);
  --bs-secondary-rgb: 232,236,247;
  --bs-tertiary-color: rgba(232,236,247,.52);
  --bs-tertiary-bg: #111827;
  --bs-tertiary-bg-rgb: 17,24,39;
  --bs-secondary-bg: #151d2e;
  --bs-secondary-bg-rgb: 21,29,46;
  --bs-border-color: rgba(148,163,184,.18);
  --bs-border-color-translucent: rgba(148,163,184,.18);
  --bs-heading-color: #ffffff;
  --bs-primary: #6d7cff;
  --bs-primary-rgb: 109,124,255;
  --bs-primary-bg-subtle: rgba(109,124,255,.18);
  --bs-primary-border-subtle: rgba(109,124,255,.38);
  --bs-primary-text-emphasis: #b6bdff;
  --bs-link-color: #8fa2ff;
  --bs-link-hover-color: #c4cbff;
  --bs-success: #22c55e;
  --bs-success-rgb: 34,197,94;
  --bs-info: #38bdf8;
  --bs-info-rgb: 56,189,248;
  --bs-warning: #f59e0b;
  --bs-warning-rgb: 245,158,11;
  --bs-danger: #ef4444;
  --bs-danger-rgb: 239,68,68;
  --vq-bg: #0b1020;
  --vq-bg-2: #111827;
  --vq-surface: #151d2e;
  --vq-surface-2: #101827;
  --vq-surface-solid: #151d2e;
  --vq-surface-elev: #192235;
  --vq-text: #e8ecf7;
  --vq-muted: rgba(232,236,247,.70);
  --vq-border: rgba(148,163,184,.18);
  --vq-primary: #6d7cff;
  --vq-primary-2: #22d3ee;
  --vq-shadow: 0 1.125rem 2.5rem rgba(0,0,0,.34);
}

html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body,
html[data-theme="dark"] body,
html[data-theme="dark"] body.vq-body {
  background:
    radial-gradient(58rem 32rem at 8% -8%, rgba(109,124,255,.20), transparent 58%),
    radial-gradient(52rem 30rem at 94% 2%, rgba(34,211,238,.12), transparent 56%),
    radial-gradient(50rem 28rem at 50% 110%, rgba(99,102,241,.11), transparent 58%),
    linear-gradient(180deg, #0b1020 0%, #0b1222 48%, #090d19 100%) !important;
  background-attachment: fixed;
  color: var(--bs-body-color) !important;
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-theme="dark"] .vq-sidebar {
  background:
    linear-gradient(180deg, rgba(15,23,42,.98) 0%, rgba(10,15,29,.99) 100%) !important;
  border-right: 1px solid rgba(148,163,184,.14) !important;
  box-shadow: 0 1rem 2.5rem rgba(0,0,0,.30), inset -1px 0 0 rgba(255,255,255,.03) !important;
}

html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] .vq-nav,
html[data-theme="dark"] .vq-app-topbar,
html[data-theme="dark"] .navbar.vq-nav,
html[data-theme="dark"] .vq-nav {
  background: rgba(15,23,42,.82) !important;
  border-color: rgba(148,163,184,.14) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.28) !important;
}

html[data-bs-theme="dark"] .vq-logo,
html[data-theme="dark"] .vq-logo,
html[data-bs-theme="dark"] .vq-brand-title,
html[data-theme="dark"] .vq-brand-title {
  color: #ffffff !important;
  text-shadow: 0 0 1.25rem rgba(109,124,255,.28);
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-section,
html[data-theme="dark"] .vq-sidebar .vq-nav-section,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle {
  color: rgba(232,236,247,.74) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link,
html[data-theme="dark"] .vq-sidebar .vq-side-link,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link {
  color: rgba(232,236,247,.78) !important;
  border-color: transparent !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus,
html[data-theme="dark"] .vq-sidebar .vq-side-link:hover,
html[data-theme="dark"] .vq-sidebar .vq-side-link:focus,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: #ffffff !important;
  background: rgba(109,124,255,.10) !important;
  border-color: rgba(109,124,255,.16) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open {
  color: #ffffff !important;
  background: linear-gradient(118deg, #4f46e5 0%, #6d7cff 58%, #22d3ee 100%) !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: 0 .5rem 1.35rem rgba(79,70,229,.34), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i {
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-dark,
html[data-theme="dark"] .vq-glass,
html[data-theme="dark"] .vq-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .offcanvas,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .bg-body,
html[data-theme="dark"] .bg-body-tertiary,
html[data-theme="dark"] .bg-dark {
  background: linear-gradient(180deg, rgba(21,29,46,.96), rgba(15,23,42,.98)) !important;
  border-color: rgba(148,163,184,.16) !important;
  box-shadow: 0 1rem 2.2rem rgba(0,0,0,.28) !important;
  color: var(--bs-body-color) !important;
}

html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-footer,
html[data-theme="dark"] .card-header,
html[data-theme="dark"] .card-footer {
  background: rgba(15,23,42,.42) !important;
  border-color: rgba(148,163,184,.14) !important;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #6d7cff;
  --bs-btn-border-color: #6d7cff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #5d6df2;
  --bs-btn-hover-border-color: #5d6df2;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #4f46e5;
  --bs-btn-active-border-color: #4f46e5;
  background: linear-gradient(135deg, #4f46e5 0%, #6d7cff 62%, #22d3ee 100%) !important;
  border-color: rgba(255,255,255,.10) !important;
  color: #ffffff !important;
  box-shadow: 0 .55rem 1.35rem rgba(79,70,229,.34), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:focus,
html[data-theme="dark"] .btn.btn-primary:hover,
html[data-theme="dark"] .btn.btn-primary:focus {
  background: linear-gradient(135deg, #5b52ef 0%, #7d8aff 62%, #38e0f7 100%) !important;
  box-shadow: 0 .75rem 1.65rem rgba(79,70,229,.42), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

html[data-bs-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-primary {
  color: #b6bdff !important;
  border-color: rgba(109,124,255,.45) !important;
  background: rgba(109,124,255,.08) !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus,
html[data-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .btn-outline-primary:focus {
  color: #ffffff !important;
  background: rgba(109,124,255,.20) !important;
  border-color: rgba(109,124,255,.65) !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] textarea {
  background: #0f172a !important;
  border-color: rgba(148,163,184,.22) !important;
  color: #e8ecf7 !important;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] textarea:focus {
  background: #111827 !important;
  border-color: rgba(109,124,255,.62) !important;
  box-shadow: 0 0 0 .2rem rgba(109,124,255,.16) !important;
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > *,
html[data-theme="dark"] .table,
html[data-theme="dark"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: #e8ecf7;
  --bs-table-border-color: rgba(148,163,184,.14);
}

html[data-bs-theme="dark"] .table thead,
html[data-theme="dark"] .table thead {
  --bs-table-bg: rgba(15,23,42,.66);
  color: rgba(232,236,247,.82);
}

html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-brand,
html[data-theme="dark"] .dropdown-item,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .navbar-brand {
  color: rgba(232,236,247,.82) !important;
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus,
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link:focus {
  color: #ffffff !important;
  background: rgba(109,124,255,.12) !important;
}

html[data-bs-theme="dark"] .badge.bg-primary,
html[data-theme="dark"] .badge.bg-primary,
html[data-bs-theme="dark"] .text-bg-primary,
html[data-theme="dark"] .text-bg-primary {
  background: rgba(109,124,255,.18) !important;
  color: #c4cbff !important;
  border-color: rgba(109,124,255,.28) !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
html[data-theme="dark"] .nav-tabs .nav-link.active,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .btn-group .btn.active,
html[data-theme="dark"] .btn-group .btn.active,
html[data-bs-theme="dark"] .btn-check:checked + .btn,
html[data-theme="dark"] .btn-check:checked + .btn {
  color: #ffffff !important;
  background: rgba(109,124,255,.18) !important;
  border-color: rgba(109,124,255,.34) !important;
}

html[data-bs-theme="dark"] .accordion-button,
html[data-theme="dark"] .accordion-button {
  background: rgba(15,23,42,.60) !important;
  color: #e8ecf7 !important;
}

html[data-bs-theme="dark"] .accordion-button:not(.collapsed),
html[data-theme="dark"] .accordion-button:not(.collapsed) {
  color: #c4cbff !important;
  background: rgba(109,124,255,.12) !important;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card,
html[data-theme="dark"] .pn-fullcalendar-card {
  background: linear-gradient(180deg, rgba(21,29,46,.96), rgba(15,23,42,.98)) !important;
  border-color: rgba(148,163,184,.16) !important;
  box-shadow: 0 1rem 2.2rem rgba(0,0,0,.28) !important;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card .fc,
html[data-theme="dark"] .pn-fullcalendar-card .fc {
  --fc-border-color: rgba(148,163,184,.16);
  --fc-neutral-bg-color: #111827;
  --fc-page-bg-color: transparent;
  --fc-today-bg-color: rgba(109,124,255,.14);
  --fc-list-event-hover-bg-color: rgba(109,124,255,.10);
  --fc-event-bg-color: #6d7cff;
  --fc-event-border-color: #6d7cff;
  color: #e8ecf7;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button {
  color: rgba(232,236,247,.86) !important;
  background: #0f172a !important;
  border-color: rgba(148,163,184,.18) !important;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active {
  color: #ffffff !important;
  background: rgba(109,124,255,.20) !important;
  border-color: rgba(109,124,255,.44) !important;
}

html[data-bs-theme="dark"] .postnest-mobile-tabbar,
html[data-theme="dark"] .postnest-mobile-tabbar {
  background: rgba(15,23,42,.96) !important;
  border-top-color: rgba(148,163,184,.16) !important;
}

html[data-bs-theme="dark"] .postnest-mobile-tab.active,
html[data-bs-theme="dark"] .postnest-mobile-tab:hover,
html[data-bs-theme="dark"] .postnest-mobile-tab:focus,
html[data-theme="dark"] .postnest-mobile-tab.active,
html[data-theme="dark"] .postnest-mobile-tab:hover,
html[data-theme="dark"] .postnest-mobile-tab:focus {
  color: #ffffff !important;
  background: rgba(109,124,255,.18) !important;
}

html[data-bs-theme="dark"] .postnest-chart-empty,
html[data-theme="dark"] .postnest-chart-empty {
  background: rgba(15,23,42,.58) !important;
  border-color: rgba(148,163,184,.16) !important;
  color: rgba(232,236,247,.68) !important;
}

html[data-bs-theme="dark"] .apexcharts-tooltip,
html[data-bs-theme="dark"] .apexcharts-menu,
html[data-theme="dark"] .apexcharts-tooltip,
html[data-theme="dark"] .apexcharts-menu {
  background: #151d2e !important;
  color: #e8ecf7 !important;
  border-color: rgba(148,163,184,.18) !important;
  box-shadow: 0 .75rem 1.75rem rgba(0,0,0,.34) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track,
html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0b1020 !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb,
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(109,124,255,.55), rgba(34,211,238,.32)) !important;
  border: 2px solid #0b1020 !important;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(109,124,255,.75), rgba(34,211,238,.48)) !important;
}

/* ---------- AstruSocial step90: SurfStats app/home matching dark colors ----------
   Reference requested: https://surfstats.com/app/home.
   The authenticated page redirects publicly to login, so these overrides align the
   dark app shell with the visible SurfStats/SlamDunk creator-studio color family:
   deep navy background, slate panels, bright creator-blue primary actions, and
   cyan-blue highlights. Light mode remains unchanged.
*/
html[data-bs-theme="dark"],
html[data-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: #0b1120;
  --bs-body-bg-rgb: 11,17,32;
  --bs-body-color: #e5edf8;
  --bs-body-color-rgb: 229,237,248;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255,255,255;
  --bs-secondary-color: rgba(229,237,248,.74);
  --bs-secondary-rgb: 229,237,248;
  --bs-tertiary-color: rgba(229,237,248,.54);
  --bs-tertiary-bg: #111827;
  --bs-tertiary-bg-rgb: 17,24,39;
  --bs-secondary-bg: #172033;
  --bs-secondary-bg-rgb: 23,32,51;
  --bs-border-color: rgba(148,163,184,.20);
  --bs-border-color-translucent: rgba(148,163,184,.20);
  --bs-heading-color: #ffffff;
  --bs-primary: #3b82f6;
  --bs-primary-rgb: 59,130,246;
  --bs-primary-bg-subtle: rgba(59,130,246,.18);
  --bs-primary-border-subtle: rgba(59,130,246,.38);
  --bs-primary-text-emphasis: #bfdbfe;
  --bs-link-color: #60a5fa;
  --bs-link-hover-color: #93c5fd;
  --bs-info: #22d3ee;
  --bs-info-rgb: 34,211,238;
  --vq-bg: #0b1120;
  --vq-bg-2: #0f172a;
  --vq-surface: #111827;
  --vq-surface-2: #172033;
  --vq-surface-solid: #111827;
  --vq-surface-elev: #1b263a;
  --vq-text: #e5edf8;
  --vq-muted: rgba(229,237,248,.72);
  --vq-border: rgba(148,163,184,.20);
  --vq-primary: #3b82f6;
  --vq-primary-2: #22d3ee;
  --vq-shadow: 0 1.125rem 2.5rem rgba(2,6,23,.36);
}

html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body,
html[data-theme="dark"] body,
html[data-theme="dark"] body.vq-body {
  background:
    radial-gradient(58rem 30rem at 8% -8%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(54rem 30rem at 96% 0%, rgba(34,211,238,.13), transparent 58%),
    radial-gradient(42rem 28rem at 52% 112%, rgba(37,99,235,.10), transparent 60%),
    linear-gradient(180deg, #0b1120 0%, #0d1424 48%, #080d18 100%) !important;
  background-attachment: fixed;
  color: #e5edf8 !important;
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-theme="dark"] .vq-sidebar {
  background:
    radial-gradient(26rem 18rem at 20% -8%, rgba(59,130,246,.16), transparent 60%),
    linear-gradient(180deg, #111827 0%, #0f172a 55%, #0b1120 100%) !important;
  border-right-color: rgba(148,163,184,.18) !important;
  box-shadow: 0 1rem 2.75rem rgba(2,6,23,.34), inset -1px 0 0 rgba(255,255,255,.035) !important;
}

html[data-bs-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] .vq-nav,
html[data-theme="dark"] .vq-app-topbar,
html[data-theme="dark"] .navbar.vq-nav,
html[data-theme="dark"] .vq-nav {
  background: rgba(15,23,42,.86) !important;
  border-color: rgba(148,163,184,.18) !important;
  box-shadow: 0 .65rem 1.7rem rgba(2,6,23,.32) !important;
}

html[data-bs-theme="dark"] .vq-logo,
html[data-theme="dark"] .vq-logo,
html[data-bs-theme="dark"] .vq-brand-title,
html[data-theme="dark"] .vq-brand-title {
  color: #ffffff !important;
  text-shadow: 0 0 1.25rem rgba(59,130,246,.32);
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-section,
html[data-theme="dark"] .vq-sidebar .vq-nav-section,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle {
  color: rgba(229,237,248,.76) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link,
html[data-theme="dark"] .vq-sidebar .vq-side-link,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link {
  color: rgba(229,237,248,.80) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus,
html[data-theme="dark"] .vq-sidebar .vq-side-link:hover,
html[data-theme="dark"] .vq-sidebar .vq-side-link:focus,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: #ffffff !important;
  background: rgba(59,130,246,.12) !important;
  border-color: rgba(59,130,246,.20) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open {
  color: #ffffff !important;
  background: linear-gradient(118deg, #2563eb 0%, #3b82f6 58%, #22d3ee 100%) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow: 0 .55rem 1.45rem rgba(37,99,235,.38), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

html[data-bs-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-dark,
html[data-theme="dark"] .vq-glass,
html[data-theme="dark"] .vq-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .offcanvas,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .bg-body,
html[data-theme="dark"] .bg-body-tertiary,
html[data-theme="dark"] .bg-dark {
  background: linear-gradient(180deg, rgba(17,24,39,.98), rgba(15,23,42,.98)) !important;
  border-color: rgba(148,163,184,.18) !important;
  box-shadow: 0 1rem 2.2rem rgba(2,6,23,.30) !important;
  color: #e5edf8 !important;
}

html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-footer,
html[data-theme="dark"] .card-header,
html[data-theme="dark"] .card-footer {
  background: rgba(15,23,42,.55) !important;
  border-color: rgba(148,163,184,.16) !important;
}

html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #3b82f6;
  --bs-btn-border-color: #3b82f6;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #2563eb;
  --bs-btn-hover-border-color: #2563eb;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #1d4ed8;
  --bs-btn-active-border-color: #1d4ed8;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 62%, #22d3ee 100%) !important;
  border-color: rgba(255,255,255,.10) !important;
  color: #ffffff !important;
  box-shadow: 0 .55rem 1.35rem rgba(37,99,235,.36), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:focus,
html[data-theme="dark"] .btn.btn-primary:hover,
html[data-theme="dark"] .btn.btn-primary:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 62%, #67e8f9 100%) !important;
  box-shadow: 0 .75rem 1.65rem rgba(37,99,235,.44), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

html[data-bs-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-primary {
  color: #93c5fd !important;
  border-color: rgba(59,130,246,.48) !important;
  background: rgba(59,130,246,.09) !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-primary:focus,
html[data-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .btn-outline-primary:focus {
  color: #ffffff !important;
  background: rgba(59,130,246,.22) !important;
  border-color: rgba(59,130,246,.70) !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] textarea {
  background: #0f172a !important;
  border-color: rgba(148,163,184,.24) !important;
  color: #e5edf8 !important;
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] textarea:focus {
  background: #111827 !important;
  border-color: rgba(59,130,246,.68) !important;
  box-shadow: 0 0 0 .2rem rgba(59,130,246,.18) !important;
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus,
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link:focus {
  color: #ffffff !important;
  background: rgba(59,130,246,.14) !important;
}

html[data-bs-theme="dark"] .badge.bg-primary,
html[data-theme="dark"] .badge.bg-primary,
html[data-bs-theme="dark"] .text-bg-primary,
html[data-theme="dark"] .text-bg-primary {
  background: rgba(59,130,246,.20) !important;
  color: #bfdbfe !important;
  border-color: rgba(59,130,246,.32) !important;
}

html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
html[data-theme="dark"] .nav-tabs .nav-link.active,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .btn-group .btn.active,
html[data-theme="dark"] .btn-group .btn.active,
html[data-bs-theme="dark"] .btn-check:checked + .btn,
html[data-theme="dark"] .btn-check:checked + .btn {
  color: #ffffff !important;
  background: rgba(59,130,246,.20) !important;
  border-color: rgba(59,130,246,.38) !important;
}

html[data-bs-theme="dark"] .accordion-button:not(.collapsed),
html[data-theme="dark"] .accordion-button:not(.collapsed) {
  color: #bfdbfe !important;
  background: rgba(59,130,246,.14) !important;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card,
html[data-theme="dark"] .pn-fullcalendar-card {
  background: linear-gradient(180deg, rgba(17,24,39,.98), rgba(15,23,42,.98)) !important;
  border-color: rgba(148,163,184,.18) !important;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card .fc,
html[data-theme="dark"] .pn-fullcalendar-card .fc {
  --fc-border-color: rgba(148,163,184,.18);
  --fc-neutral-bg-color: #111827;
  --fc-page-bg-color: transparent;
  --fc-today-bg-color: rgba(59,130,246,.16);
  --fc-list-event-hover-bg-color: rgba(59,130,246,.12);
  --fc-event-bg-color: #3b82f6;
  --fc-event-border-color: #3b82f6;
  color: #e5edf8;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button {
  color: rgba(229,237,248,.88) !important;
  background: #0f172a !important;
  border-color: rgba(148,163,184,.20) !important;
}

html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-bs-theme="dark"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-theme="dark"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active {
  color: #ffffff !important;
  background: rgba(59,130,246,.24) !important;
  border-color: rgba(59,130,246,.48) !important;
}

html[data-bs-theme="dark"] .postnest-mobile-tabbar,
html[data-theme="dark"] .postnest-mobile-tabbar {
  background: rgba(15,23,42,.97) !important;
  border-top-color: rgba(148,163,184,.18) !important;
}

html[data-bs-theme="dark"] .postnest-mobile-tab.active,
html[data-bs-theme="dark"] .postnest-mobile-tab:hover,
html[data-bs-theme="dark"] .postnest-mobile-tab:focus,
html[data-theme="dark"] .postnest-mobile-tab.active,
html[data-theme="dark"] .postnest-mobile-tab:hover,
html[data-theme="dark"] .postnest-mobile-tab:focus {
  color: #ffffff !important;
  background: rgba(59,130,246,.20) !important;
}

html[data-bs-theme="dark"] .postnest-chart-empty,
html[data-theme="dark"] .postnest-chart-empty {
  background: rgba(15,23,42,.62) !important;
  border-color: rgba(148,163,184,.18) !important;
  color: rgba(229,237,248,.70) !important;
}

html[data-bs-theme="dark"] .apexcharts-tooltip,
html[data-bs-theme="dark"] .apexcharts-menu,
html[data-theme="dark"] .apexcharts-tooltip,
html[data-theme="dark"] .apexcharts-menu {
  background: #111827 !important;
  color: #e5edf8 !important;
  border-color: rgba(148,163,184,.20) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track,
html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0b1120 !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb,
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(59,130,246,.62), rgba(34,211,238,.36)) !important;
  border: 2px solid #0b1120 !important;
  border-radius: 999px;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(59,130,246,.82), rgba(34,211,238,.54)) !important;
}

/* ---------- AstruSocial step91: hide light-mode sidebar scrollbar ----------
   Keep the sidebar vertically scrollable, but hide the visual scrollbar in
   light mode only. Dark mode scrollbar styling remains unchanged.
*/
html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar,
html[data-theme="light"] .vq-sidebar::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

/* ---------- AstruSocial step92: Velzon email/ecommerce-inspired light theme ----------
   Original CSS adaptation inspired by Themesbrand Velzon's light ecommerce/email app pages.
   This replaces the previous light-mode color family only. Dark mode remains untouched.
*/
html[data-bs-theme="light"],
html[data-theme="light"] {
  color-scheme: light;
  --bs-body-bg: #f3f6f9;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33,37,41;
  --bs-secondary-color: #878a99;
  --bs-secondary-color-rgb: 135,138,153;
  --bs-tertiary-bg: #f3f6f9;
  --bs-border-color: #e9ebec;
  --bs-border-color-translucent: rgba(206,212,218,.45);
  --bs-emphasis-color: #212529;
  --bs-primary: #405189;
  --bs-primary-rgb: 64,81,137;
  --bs-primary-bg-subtle: rgba(64,81,137,.10);
  --bs-primary-border-subtle: rgba(64,81,137,.28);
  --bs-success: #0ab39c;
  --bs-success-rgb: 10,179,156;
  --bs-info: #299cdb;
  --bs-info-rgb: 41,156,219;
  --bs-warning: #f7b84b;
  --bs-warning-rgb: 247,184,75;
  --bs-danger: #f06548;
  --bs-danger-rgb: 240,101,72;
  --bs-link-color: #405189;
  --bs-link-hover-color: #34416f;
  --vq-bg: #f3f6f9;
  --vq-bg-2: #edf1f5;
  --vq-surface: #ffffff;
  --vq-surface-2: #f8f9fa;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --vq-text: #212529;
  --vq-muted: #878a99;
  --vq-border: #e9ebec;
  --vq-primary: #405189;
  --vq-primary-2: #0ab39c;
  --vq-radius: .45rem;
  --vq-shadow: 0 1px 2px rgba(56,65,74,.08);
}

html[data-bs-theme="light"] body,
html[data-theme="light"] body,
html[data-bs-theme="light"] body.vq-body,
html[data-theme="light"] body.vq-body {
  background: #f3f6f9 !important;
  color: #212529 !important;
}

html[data-bs-theme="light"] .vq-main,
html[data-theme="light"] .vq-main,
html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content,
html[data-bs-theme="light"] main,
html[data-theme="light"] main {
  background: #f3f6f9 !important;
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  background: #ffffff !important;
  color: #495057 !important;
  border-right: 1px solid #e9ebec !important;
  box-shadow: 0 2px 4px rgba(15,34,58,.06) !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar,
html[data-theme="light"] .vq-sidebar::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

html[data-bs-theme="light"] .vq-sidebar .vq-logo,
html[data-theme="light"] .vq-sidebar .vq-logo,
html[data-bs-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-theme="light"] .vq-sidebar .vq-brandwrap {
  color: #405189 !important;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar,
html[data-bs-theme="light"] .vq-sidebar-mobile-head,
html[data-theme="light"] .vq-sidebar-mobile-head,
html[data-bs-theme="light"] .navbar,
html[data-theme="light"] .navbar {
  background: #ffffff !important;
  border-color: #e9ebec !important;
  box-shadow: 0 1px 2px rgba(56,65,74,.08) !important;
}

html[data-bs-theme="light"] .vq-sidebar-search,
html[data-theme="light"] .vq-sidebar-search,
html[data-bs-theme="light"] .form-control,
html[data-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-theme="light"] textarea {
  background-color: #ffffff !important;
  border-color: #ced4da !important;
  color: #212529 !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar-search,
html[data-theme="light"] .vq-sidebar-search {
  background-color: #f3f6f9 !important;
  border-color: #e9ebec !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus,
html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] textarea:focus {
  border-color: rgba(64,81,137,.46) !important;
  box-shadow: 0 0 0 .2rem rgba(64,81,137,.12) !important;
}

html[data-bs-theme="light"] .form-control::placeholder,
html[data-theme="light"] .form-control::placeholder,
html[data-bs-theme="light"] textarea::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #adb5bd !important;
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .vq-tool-card,
html[data-theme="light"] .vq-tool-card,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .accordion-item,
html[data-theme="light"] .accordion-item,
html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas,
html[data-bs-theme="light"] .toast,
html[data-theme="light"] .toast {
  background: #ffffff !important;
  color: #212529 !important;
  border-color: #e9ebec !important;
  box-shadow: 0 1px 2px rgba(56,65,74,.08) !important;
}

html[data-bs-theme="light"] .card-header,
html[data-theme="light"] .card-header,
html[data-bs-theme="light"] .card-footer,
html[data-theme="light"] .card-footer,
html[data-bs-theme="light"] .modal-header,
html[data-theme="light"] .modal-header,
html[data-bs-theme="light"] .modal-footer,
html[data-theme="light"] .modal-footer,
html[data-bs-theme="light"] .accordion-button,
html[data-theme="light"] .accordion-button {
  background: #ffffff !important;
  color: #212529 !important;
  border-color: #e9ebec !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-bs-theme="light"] .card:focus-within,
html[data-bs-theme="light"] .vq-card:hover,
html[data-bs-theme="light"] .vq-card:focus-within,
html[data-bs-theme="light"] .vq-tool-card:hover,
html[data-bs-theme="light"] .vq-tool-card:focus-within,
html[data-theme="light"] .card:hover,
html[data-theme="light"] .card:focus-within,
html[data-theme="light"] .vq-card:hover,
html[data-theme="light"] .vq-card:focus-within,
html[data-theme="light"] .vq-tool-card:hover,
html[data-theme="light"] .vq-tool-card:focus-within {
  border-color: #dde1e5 !important;
  box-shadow: 0 5px 10px rgba(30,32,37,.08) !important;
}

html[data-bs-theme="light"] .table,
html[data-theme="light"] .table {
  --bs-table-bg: #ffffff;
  --bs-table-color: #212529;
  --bs-table-border-color: #e9ebec;
  --bs-table-striped-bg: #f8f9fa;
  --bs-table-hover-bg: #f3f6f9;
  color: #212529 !important;
}

html[data-bs-theme="light"] .table thead th,
html[data-theme="light"] .table thead th {
  background: #f3f6f9 !important;
  color: #495057 !important;
  border-bottom-color: #e9ebec !important;
  font-weight: 600;
}

html[data-bs-theme="light"] .text-muted,
html[data-theme="light"] .text-muted,
html[data-bs-theme="light"] .text-secondary,
html[data-theme="light"] .text-secondary,
html[data-bs-theme="light"] .small.text-muted,
html[data-theme="light"] .small.text-muted {
  color: #878a99 !important;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .vq-legacy-btn-primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn-dark,
html[data-theme="light"] .btn.btn-dark,
html[data-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #405189;
  --bs-btn-border-color: #405189;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #364574;
  --bs-btn-hover-border-color: #323f6b;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #323f6b;
  --bs-btn-active-border-color: #2f3b63;
  background: #405189 !important;
  border-color: #405189 !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(64,81,137,.28) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus,
html[data-theme="light"] .btn.btn-primary:hover,
html[data-theme="light"] .btn.btn-primary:focus,
html[data-theme="light"] .btn-dark:hover,
html[data-theme="light"] .btn-dark:focus,
html[data-theme="light"] .vq-legacy-btn-primary:hover,
html[data-theme="light"] .vq-legacy-btn-primary:focus {
  background: #364574 !important;
  border-color: #323f6b !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(64,81,137,.32) !important;
  transform: translateY(-1px);
}

html[data-bs-theme="light"] .btn-success,
html[data-bs-theme="light"] .btn.btn-success,
html[data-theme="light"] .btn-success,
html[data-theme="light"] .btn.btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0ab39c;
  --bs-btn-border-color: #0ab39c;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #099885;
  --bs-btn-hover-border-color: #088f7d;
  background: #0ab39c !important;
  border-color: #0ab39c !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(10,179,156,.24) !important;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-outline-light,
html[data-bs-theme="light"] .btn.btn-outline-light,
html[data-bs-theme="light"] .vq-hero-cta.btn-outline-light,
html[data-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-light,
html[data-theme="light"] .btn.btn-outline-light,
html[data-theme="light"] .vq-hero-cta.btn-outline-light {
  --bs-btn-color: #405189;
  --bs-btn-border-color: rgba(64,81,137,.40);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #405189;
  --bs-btn-hover-border-color: #405189;
  color: #405189 !important;
  background: rgba(64,81,137,.055) !important;
  border-color: rgba(64,81,137,.40) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-primary:focus,
html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus,
html[data-bs-theme="light"] .btn.btn-outline-light:hover,
html[data-bs-theme="light"] .btn.btn-outline-light:focus,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:focus,
html[data-theme="light"] .btn-outline-light:hover,
html[data-theme="light"] .btn-outline-light:focus,
html[data-theme="light"] .btn.btn-outline-light:hover,
html[data-theme="light"] .btn.btn-outline-light:focus {
  color: #fff !important;
  background: #405189 !important;
  border-color: #405189 !important;
  box-shadow: 0 4px 10px rgba(64,81,137,.24) !important;
}

html[data-bs-theme="light"] .badge.bg-primary,
html[data-bs-theme="light"] .badge.text-bg-primary,
html[data-theme="light"] .badge.bg-primary,
html[data-theme="light"] .badge.text-bg-primary {
  background: rgba(64,81,137,.12) !important;
  color: #405189 !important;
}

html[data-bs-theme="light"] .badge.bg-success,
html[data-bs-theme="light"] .badge.text-bg-success,
html[data-theme="light"] .badge.bg-success,
html[data-theme="light"] .badge.text-bg-success {
  background: rgba(10,179,156,.12) !important;
  color: #0ab39c !important;
}

html[data-bs-theme="light"] .vq-nav-section-title,
html[data-theme="light"] .vq-nav-section-title,
html[data-bs-theme="light"] .vq-sidebar-smart-title,
html[data-theme="light"] .vq-sidebar-smart-title {
  color: #878a99 !important;
  letter-spacing: .05em;
}

html[data-bs-theme="light"] .vq-sidebar-smart-section,
html[data-theme="light"] .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-tools2-menu,
html[data-theme="light"] .vq-tools2-menu {
  background: #f3f6f9 !important;
  border-color: #e9ebec !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-sub,
html[data-theme="light"] .vq-navgroup .vq-side-link-sub,
html[data-bs-theme="light"] .vq-sidebar-mini-link,
html[data-theme="light"] .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-tools2-category,
html[data-theme="light"] .vq-tools2-category {
  color: #545a6d !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link i,
html[data-theme="light"] .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-sidebar-mini-link i,
html[data-theme="light"] .vq-sidebar-mini-link i {
  color: #7c8090 !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-sub:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-sub:focus,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus,
html[data-bs-theme="light"] .vq-tools2-category:hover,
html[data-bs-theme="light"] .vq-tools2-category:focus,
html[data-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-navgroup .vq-side-link-sub:hover,
html[data-theme="light"] .vq-navgroup .vq-side-link-sub:focus,
html[data-theme="light"] .vq-sidebar-mini-link:hover,
html[data-theme="light"] .vq-sidebar-mini-link:focus,
html[data-theme="light"] .vq-tools2-category:hover,
html[data-theme="light"] .vq-tools2-category:focus {
  color: #405189 !important;
  background: #f3f6f9 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus i,
html[data-bs-theme="light"] .vq-sidebar-mini-link:hover i,
html[data-bs-theme="light"] .vq-sidebar-mini-link:focus i,
html[data-theme="light"] .vq-navgroup .vq-side-link:hover i,
html[data-theme="light"] .vq-navgroup .vq-side-link:focus i,
html[data-theme="light"] .vq-sidebar-mini-link:hover i,
html[data-theme="light"] .vq-sidebar-mini-link:focus i {
  color: #405189 !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-sub.active,
html[data-theme="light"] .vq-navgroup .vq-side-link-sub.active,
html[data-bs-theme="light"] .vq-sidebar .active > .vq-side-link,
html[data-theme="light"] .vq-sidebar .active > .vq-side-link {
  color: #405189 !important;
  background: rgba(64,81,137,.10) !important;
  border-color: rgba(64,81,137,.12) !important;
  box-shadow: none !important;
  font-weight: 600;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active i,
html[data-theme="light"] .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-sub.active i,
html[data-theme="light"] .vq-navgroup .vq-side-link-sub.active i {
  color: #405189 !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link-button.story-open,
html[data-theme="light"] .vq-navgroup .vq-side-link-button.story-open,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link-button.tools2-open,
html[data-theme="light"] .vq-navgroup .vq-side-link-button.tools2-open,
html[data-bs-theme="light"] .vq-nav-accordion-trigger[aria-expanded="true"],
html[data-theme="light"] .vq-nav-accordion-trigger[aria-expanded="true"] {
  color: #405189 !important;
  background: rgba(64,81,137,.10) !important;
  border-color: rgba(64,81,137,.12) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-item.show .nav-link,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-pills .show > .nav-link,
html[data-bs-theme="light"] .vq-legacy-tab.active,
html[data-bs-theme="light"] .vq-legacy-chip.active,
html[data-bs-theme="light"] .btn-group .btn.active,
html[data-bs-theme="light"] .btn-check:checked + .btn,
html[data-bs-theme="light"] .model-tile.active,
html[data-bs-theme="light"] .videoai2-pill.active,
html[data-bs-theme="light"] .videoai2-model.active,
html[data-bs-theme="light"] .videoai2-side-item.active,
html[data-theme="light"] .nav-tabs .nav-link.active,
html[data-theme="light"] .nav-tabs .nav-item.show .nav-link,
html[data-theme="light"] .nav-pills .nav-link.active,
html[data-theme="light"] .nav-pills .show > .nav-link,
html[data-theme="light"] .vq-legacy-tab.active,
html[data-theme="light"] .vq-legacy-chip.active,
html[data-theme="light"] .btn-group .btn.active,
html[data-theme="light"] .btn-check:checked + .btn,
html[data-theme="light"] .model-tile.active,
html[data-theme="light"] .videoai2-pill.active,
html[data-theme="light"] .videoai2-model.active,
html[data-theme="light"] .videoai2-side-item.active {
  color: #405189 !important;
  background: rgba(64,81,137,.10) !important;
  border-color: rgba(64,81,137,.24) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .nav-tabs .nav-link:hover,
html[data-bs-theme="light"] .nav-tabs .nav-link:focus,
html[data-bs-theme="light"] .nav-pills .nav-link:hover,
html[data-bs-theme="light"] .nav-pills .nav-link:focus,
html[data-theme="light"] .nav-tabs .nav-link:hover,
html[data-theme="light"] .nav-tabs .nav-link:focus,
html[data-theme="light"] .nav-pills .nav-link:hover,
html[data-theme="light"] .nav-pills .nav-link:focus {
  color: #405189 !important;
  background: rgba(64,81,137,.075) !important;
  border-color: rgba(64,81,137,.18) !important;
}

html[data-bs-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus,
html[data-bs-theme="light"] .dropdown-item.active,
html[data-bs-theme="light"] .dropdown-item:active,
html[data-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .dropdown-item:focus,
html[data-theme="light"] .dropdown-item.active,
html[data-theme="light"] .dropdown-item:active {
  color: #405189 !important;
  background: #f3f6f9 !important;
}

html[data-bs-theme="light"] .page-item.active .page-link,
html[data-theme="light"] .page-item.active .page-link {
  color: #fff !important;
  background: #405189 !important;
  border-color: #405189 !important;
  box-shadow: 0 2px 6px rgba(64,81,137,.22) !important;
}

html[data-bs-theme="light"] .pn-fullcalendar-card,
html[data-theme="light"] .pn-fullcalendar-card {
  background: #ffffff !important;
  border-color: #e9ebec !important;
  box-shadow: 0 1px 2px rgba(56,65,74,.08) !important;
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc,
html[data-theme="light"] .pn-fullcalendar-card .fc {
  --fc-border-color: #e9ebec;
  --fc-neutral-bg-color: #f3f6f9;
  --fc-page-bg-color: #ffffff;
  --fc-today-bg-color: rgba(64,81,137,.09);
  --fc-list-event-hover-bg-color: #f3f6f9;
  --fc-event-bg-color: #405189;
  --fc-event-border-color: #405189;
  color: #212529;
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button {
  color: #405189 !important;
  background: #ffffff !important;
  border-color: #ced4da !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-bs-theme="light"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button:hover,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button:focus,
html[data-theme="light"] .pn-fullcalendar-card .fc .fc-button-primary:not(:disabled).fc-button-active {
  color: #fff !important;
  background: #405189 !important;
  border-color: #405189 !important;
}

html[data-bs-theme="light"] .postnest-mobile-tabbar,
html[data-theme="light"] .postnest-mobile-tabbar {
  background: #ffffff !important;
  border-top-color: #e9ebec !important;
  box-shadow: 0 -2px 8px rgba(56,65,74,.08) !important;
}

html[data-bs-theme="light"] .postnest-mobile-tab.active,
html[data-bs-theme="light"] .postnest-mobile-tab:hover,
html[data-bs-theme="light"] .postnest-mobile-tab:focus,
html[data-theme="light"] .postnest-mobile-tab.active,
html[data-theme="light"] .postnest-mobile-tab:hover,
html[data-theme="light"] .postnest-mobile-tab:focus {
  color: #405189 !important;
  background: rgba(64,81,137,.10) !important;
}

html[data-bs-theme="light"] .apexcharts-tooltip,
html[data-bs-theme="light"] .apexcharts-menu,
html[data-theme="light"] .apexcharts-tooltip,
html[data-theme="light"] .apexcharts-menu {
  background: #ffffff !important;
  color: #212529 !important;
  border-color: #e9ebec !important;
  box-shadow: 0 5px 10px rgba(30,32,37,.12) !important;
}

/* ---------- AstruSocial step93: Vuexy product-list light theme ----------
   Original CSS adaptation inspired by Pixinvent Vuexy's standard vertical-menu
   eCommerce product-list page. This replaces the Velzon light-mode accent and
   surfaces only. Dark mode and previous functionality remain untouched.
*/
html[data-bs-theme="light"],
html[data-theme="light"] {
  color-scheme: light;
  --bs-body-bg: #f8f7fa;
  --bs-body-color: #6f6b7d;
  --bs-body-color-rgb: 111,107,125;
  --bs-secondary-color: #a8aaae;
  --bs-secondary-color-rgb: 168,170,174;
  --bs-tertiary-bg: #f8f7fa;
  --bs-border-color: #dbdade;
  --bs-border-color-translucent: rgba(219,218,222,.68);
  --bs-emphasis-color: #444050;
  --bs-heading-color: #444050;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.30);
  --bs-success: #28c76f;
  --bs-success-rgb: 40,199,111;
  --bs-info: #00cfe8;
  --bs-info-rgb: 0,207,232;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255,159,67;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #675dd8;
  --bs-card-border-radius: .375rem;
  --bs-border-radius: .375rem;
  --bs-border-radius-lg: .5rem;
  --vq-bg: #f8f7fa;
  --vq-bg-2: #f3f2f7;
  --vq-surface: #ffffff;
  --vq-surface-2: #f8f7fa;
  --vq-surface-solid: #ffffff;
  --vq-surface-elev: #ffffff;
  --vq-text: #444050;
  --vq-muted: #a8aaae;
  --vq-border: #dbdade;
  --vq-primary: #7367f0;
  --vq-primary-2: #00cfe8;
  --vq-radius: .375rem;
  --vq-shadow: 0 .1875rem .5rem rgba(47,43,61,.10);
}

html[data-bs-theme="light"] body,
html[data-theme="light"] body,
html[data-bs-theme="light"] body.vq-body,
html[data-theme="light"] body.vq-body {
  background: #f8f7fa !important;
  color: #6f6b7d !important;
}

html[data-bs-theme="light"] .vq-main,
html[data-theme="light"] .vq-main,
html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content,
html[data-bs-theme="light"] main,
html[data-theme="light"] main {
  background: #f8f7fa !important;
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  background: #ffffff !important;
  color: #6f6b7d !important;
  border-right: 0 !important;
  box-shadow: 0 .125rem .5rem rgba(47,43,61,.11) !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar,
html[data-theme="light"] .vq-sidebar::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

html[data-bs-theme="light"] .vq-sidebar .vq-logo,
html[data-theme="light"] .vq-sidebar .vq-logo,
html[data-bs-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-theme="light"] .vq-sidebar .vq-brandwrap {
  color: #444050 !important;
}

html[data-bs-theme="light"] .vq-sidebar .btn-toggle,
html[data-theme="light"] .vq-sidebar .btn-toggle,
html[data-bs-theme="light"] .vq-sidebar .nav-link,
html[data-theme="light"] .vq-sidebar .nav-link,
html[data-bs-theme="light"] .vq-sidebar a,
html[data-theme="light"] .vq-sidebar a,
html[data-bs-theme="light"] .vq-sidebar .btn,
html[data-theme="light"] .vq-sidebar .btn {
  color: #6f6b7d !important;
}

html[data-bs-theme="light"] .vq-sidebar .small,
html[data-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar .text-muted,
html[data-theme="light"] .vq-sidebar .text-muted,
html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-theme="light"] .vq-sidebar .text-secondary {
  color: #a8aaae !important;
}

html[data-bs-theme="light"] .vq-sidebar .btn-toggle:hover,
html[data-bs-theme="light"] .vq-sidebar .nav-link:hover,
html[data-bs-theme="light"] .vq-sidebar a:hover,
html[data-theme="light"] .vq-sidebar .btn-toggle:hover,
html[data-theme="light"] .vq-sidebar .nav-link:hover,
html[data-theme="light"] .vq-sidebar a:hover {
  color: #7367f0 !important;
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .vq-sidebar .active,
html[data-bs-theme="light"] .vq-sidebar .nav-link.active,
html[data-bs-theme="light"] .vq-sidebar .btn-toggle.active,
html[data-bs-theme="light"] .vq-sidebar .btn-toggle[aria-expanded="true"],
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-link.active,
html[data-theme="light"] .vq-sidebar .active,
html[data-theme="light"] .vq-sidebar .nav-link.active,
html[data-theme="light"] .vq-sidebar .btn-toggle.active,
html[data-theme="light"] .vq-sidebar .btn-toggle[aria-expanded="true"],
html[data-theme="light"] .vq-sidebar .vq-sidebar-link.active {
  background: linear-gradient(90deg, #7367f0 0%, #9e95f5 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.42) !important;
}

html[data-bs-theme="light"] .vq-sidebar .active *,
html[data-bs-theme="light"] .vq-sidebar .nav-link.active *,
html[data-bs-theme="light"] .vq-sidebar .btn-toggle.active *,
html[data-bs-theme="light"] .vq-sidebar .btn-toggle[aria-expanded="true"] *,
html[data-theme="light"] .vq-sidebar .active *,
html[data-theme="light"] .vq-sidebar .nav-link.active *,
html[data-theme="light"] .vq-sidebar .btn-toggle.active *,
html[data-theme="light"] .vq-sidebar .btn-toggle[aria-expanded="true"] * {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar,
html[data-bs-theme="light"] .vq-sidebar-mobile-head,
html[data-theme="light"] .vq-sidebar-mobile-head,
html[data-bs-theme="light"] .navbar,
html[data-theme="light"] .navbar {
  background: rgba(255,255,255,.86) !important;
  border-color: rgba(219,218,222,.70) !important;
  box-shadow: 0 .125rem .375rem rgba(47,43,61,.08) !important;
  backdrop-filter: saturate(180%) blur(10px);
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .vq-tool-card,
html[data-theme="light"] .vq-tool-card,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .accordion-item,
html[data-theme="light"] .accordion-item,
html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas,
html[data-bs-theme="light"] .toast,
html[data-theme="light"] .toast {
  background: #ffffff !important;
  color: #6f6b7d !important;
  border-color: rgba(219,218,222,.75) !important;
  box-shadow: 0 .1875rem .5rem rgba(47,43,61,.10) !important;
  border-radius: .375rem !important;
}

html[data-bs-theme="light"] .card-header,
html[data-theme="light"] .card-header,
html[data-bs-theme="light"] .card-footer,
html[data-theme="light"] .card-footer,
html[data-bs-theme="light"] .modal-header,
html[data-theme="light"] .modal-header,
html[data-bs-theme="light"] .modal-footer,
html[data-theme="light"] .modal-footer,
html[data-bs-theme="light"] .accordion-button,
html[data-theme="light"] .accordion-button {
  background: #ffffff !important;
  color: #444050 !important;
  border-color: rgba(219,218,222,.75) !important;
}

html[data-bs-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-bs-theme="light"] .h1,
html[data-bs-theme="light"] .h2,
html[data-bs-theme="light"] .h3,
html[data-bs-theme="light"] .h4,
html[data-bs-theme="light"] .h5,
html[data-bs-theme="light"] .h6,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] .h1,
html[data-theme="light"] .h2,
html[data-theme="light"] .h3,
html[data-theme="light"] .h4,
html[data-theme="light"] .h5,
html[data-theme="light"] .h6 {
  color: #444050 !important;
}

html[data-bs-theme="light"] .text-muted,
html[data-theme="light"] .text-muted,
html[data-bs-theme="light"] .text-secondary,
html[data-theme="light"] .text-secondary,
html[data-bs-theme="light"] .small.text-muted,
html[data-theme="light"] .small.text-muted {
  color: #a8aaae !important;
}

html[data-bs-theme="light"] .form-control,
html[data-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-theme="light"] textarea,
html[data-bs-theme="light"] .vq-sidebar-search,
html[data-theme="light"] .vq-sidebar-search {
  background-color: #ffffff !important;
  border-color: #dbdade !important;
  color: #6f6b7d !important;
  border-radius: .375rem !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus,
html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] textarea:focus {
  border-color: #7367f0 !important;
  box-shadow: 0 .125rem .25rem rgba(47,43,61,.07), 0 0 0 .2rem rgba(115,103,240,.16) !important;
}

html[data-bs-theme="light"] .form-control::placeholder,
html[data-theme="light"] .form-control::placeholder,
html[data-bs-theme="light"] textarea::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #b7b5be !important;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .vq-legacy-btn-primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn-dark,
html[data-theme="light"] .btn.btn-dark,
html[data-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #7367f0;
  --bs-btn-border-color: #7367f0;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #675dd8;
  --bs-btn-hover-border-color: #675dd8;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5f56c7;
  --bs-btn-active-border-color: #5f56c7;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.38) !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-bs-theme="light"] .vq-legacy-btn-primary:hover,
html[data-bs-theme="light"] .vq-legacy-btn-primary:focus,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus,
html[data-theme="light"] .btn.btn-primary:hover,
html[data-theme="light"] .btn.btn-primary:focus,
html[data-theme="light"] .btn-dark:hover,
html[data-theme="light"] .btn-dark:focus,
html[data-theme="light"] .vq-legacy-btn-primary:hover,
html[data-theme="light"] .vq-legacy-btn-primary:focus {
  background: #675dd8 !important;
  border-color: #675dd8 !important;
  color: #fff !important;
  box-shadow: 0 .25rem .75rem rgba(115,103,240,.32) !important;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-light,
html[data-theme="light"] .btn-light {
  color: #7367f0 !important;
  border-color: rgba(115,103,240,.35) !important;
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-light:hover,
html[data-theme="light"] .btn-light:hover {
  color: #fff !important;
  border-color: #7367f0 !important;
  background: #7367f0 !important;
}

html[data-bs-theme="light"] .table,
html[data-theme="light"] .table {
  --bs-table-bg: #ffffff;
  --bs-table-color: #6f6b7d;
  --bs-table-border-color: #dbdade;
  --bs-table-striped-bg: #fafafa;
  --bs-table-hover-bg: rgba(115,103,240,.05);
  color: #6f6b7d !important;
}

html[data-bs-theme="light"] .table thead th,
html[data-theme="light"] .table thead th {
  background: #f6f6f7 !important;
  color: #444050 !important;
  border-bottom-color: #dbdade !important;
  font-weight: 600;
  letter-spacing: .015em;
}

html[data-bs-theme="light"] .table tbody tr:hover,
html[data-theme="light"] .table tbody tr:hover {
  background: rgba(115,103,240,.05) !important;
}

html[data-bs-theme="light"] .badge.bg-primary,
html[data-theme="light"] .badge.bg-primary,
html[data-bs-theme="light"] .badge.text-bg-primary,
html[data-theme="light"] .badge.text-bg-primary,
html[data-bs-theme="light"] .bg-primary,
html[data-theme="light"] .bg-primary {
  background-color: #7367f0 !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .badge.bg-success,
html[data-theme="light"] .badge.bg-success,
html[data-bs-theme="light"] .badge.text-bg-success,
html[data-theme="light"] .badge.text-bg-success {
  background-color: rgba(40,199,111,.16) !important;
  color: #28c76f !important;
}

html[data-bs-theme="light"] .badge.bg-danger,
html[data-theme="light"] .badge.bg-danger,
html[data-bs-theme="light"] .badge.text-bg-danger,
html[data-theme="light"] .badge.text-bg-danger {
  background-color: rgba(234,84,85,.16) !important;
  color: #ea5455 !important;
}

html[data-bs-theme="light"] .badge.bg-warning,
html[data-theme="light"] .badge.bg-warning,
html[data-bs-theme="light"] .badge.text-bg-warning,
html[data-theme="light"] .badge.text-bg-warning {
  background-color: rgba(255,159,67,.18) !important;
  color: #ff9f43 !important;
}

html[data-bs-theme="light"] .badge.bg-info,
html[data-theme="light"] .badge.bg-info,
html[data-bs-theme="light"] .badge.text-bg-info,
html[data-theme="light"] .badge.text-bg-info {
  background-color: rgba(0,207,232,.16) !important;
  color: #00a6ba !important;
}

html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .page-link.active,
html[data-theme="light"] .page-link.active,
html[data-bs-theme="light"] .active > .page-link,
html[data-theme="light"] .active > .page-link {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !important;
}

html[data-bs-theme="light"] .page-link,
html[data-theme="light"] .page-link {
  color: #7367f0 !important;
  border-color: #dbdade !important;
  background: #fff !important;
}

html[data-bs-theme="light"] .alert-primary,
html[data-theme="light"] .alert-primary {
  color: #7367f0 !important;
  background-color: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.24) !important;
}

html[data-bs-theme="light"] .progress,
html[data-theme="light"] .progress {
  background-color: rgba(47,43,61,.08) !important;
}

html[data-bs-theme="light"] .progress-bar,
html[data-theme="light"] .progress-bar {
  background-color: #7367f0 !important;
}

html[data-bs-theme="light"] .fc,
html[data-theme="light"] .fc {
  --fc-border-color: #dbdade;
  --fc-page-bg-color: #ffffff;
  --fc-neutral-bg-color: #f6f6f7;
  --fc-list-event-hover-bg-color: rgba(115,103,240,.06);
  color: #6f6b7d;
}

html[data-bs-theme="light"] .fc .fc-toolbar-title,
html[data-theme="light"] .fc .fc-toolbar-title {
  color: #444050 !important;
}

html[data-bs-theme="light"] .fc .fc-button-primary,
html[data-theme="light"] .fc .fc-button-primary {
  background-color: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !important;
}

html[data-bs-theme="light"] .fc .fc-button-primary:hover,
html[data-bs-theme="light"] .fc .fc-button-primary:focus,
html[data-theme="light"] .fc .fc-button-primary:hover,
html[data-theme="light"] .fc .fc-button-primary:focus {
  background-color: #675dd8 !important;
  border-color: #675dd8 !important;
}

html[data-bs-theme="light"] .fc .fc-daygrid-day.fc-day-today,
html[data-theme="light"] .fc .fc-daygrid-day.fc-day-today,
html[data-bs-theme="light"] .fc .fc-timegrid-col.fc-day-today,
html[data-theme="light"] .fc .fc-timegrid-col.fc-day-today {
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .fc-event,
html[data-theme="light"] .fc-event {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #fff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.25) !important;
}

html[data-bs-theme="light"] .apexcharts-menu,
html[data-theme="light"] .apexcharts-menu,
html[data-bs-theme="light"] .apexcharts-tooltip,
html[data-theme="light"] .apexcharts-tooltip,
html[data-bs-theme="light"] .apexcharts-xaxistooltip,
html[data-theme="light"] .apexcharts-xaxistooltip {
  background: #ffffff !important;
  color: #6f6b7d !important;
  border-color: #dbdade !important;
  box-shadow: 0 .1875rem .5rem rgba(47,43,61,.12) !important;
}

html[data-bs-theme="light"] .apexcharts-tooltip-title,
html[data-theme="light"] .apexcharts-tooltip-title {
  background: #f6f6f7 !important;
  color: #444050 !important;
  border-bottom-color: #dbdade !important;
}

html[data-bs-theme="light"] .vq-mobile-tabbar,
html[data-theme="light"] .vq-mobile-tabbar {
  background: rgba(255,255,255,.94) !important;
  border-color: #dbdade !important;
  box-shadow: 0 -.125rem .5rem rgba(47,43,61,.08) !important;
}

html[data-bs-theme="light"] .vq-mobile-tabbar .active,
html[data-theme="light"] .vq-mobile-tabbar .active {
  color: #7367f0 !important;
}

/* ========================================================================
   Step 94: Vuexy Vue Academy dashboard-inspired light mode
   Source inspiration: Vuexy VueJS demo-3 / dashboards / academy.
   Original CSS adaptation only; no template files or licensed assets copied.
   ======================================================================== */
html[data-bs-theme="light"],
html[data-theme="light"] {
  --bs-body-bg: #f8f7fa;
  --bs-body-color: #444050;
  --bs-secondary-color: #6f6b7d;
  --bs-tertiary-color: #a8aaae;
  --bs-tertiary-bg: #f3f2f7;
  --bs-border-color: #dbdade;
  --bs-border-color-translucent: rgba(47,43,61,.12);
  --bs-heading-color: #444050;
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #675dd8;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.28);
  --bs-success: #28c76f;
  --bs-success-rgb: 40,199,111;
  --bs-info: #00cfe8;
  --bs-info-rgb: 0,207,232;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255,159,67;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --pn-academy-bg: #f8f7fa;
  --pn-academy-surface: #ffffff;
  --pn-academy-surface-soft: #f6f6f9;
  --pn-academy-text: #444050;
  --pn-academy-muted: #6f6b7d;
  --pn-academy-border: #dbdade;
  --pn-academy-primary: #7367f0;
  --pn-academy-primary-hover: #675dd8;
  --pn-academy-primary-soft: rgba(115,103,240,.12);
  --pn-academy-success: #28c76f;
  --pn-academy-info: #00cfe8;
  --pn-academy-warning: #ff9f43;
  --pn-academy-danger: #ea5455;
  --pn-academy-shadow: 0 .125rem .5rem rgba(47,43,61,.10);
  --pn-academy-shadow-hover: 0 .375rem 1.125rem rgba(47,43,61,.14);
}

html[data-bs-theme="light"] body,
html[data-theme="light"] body,
html[data-bs-theme="light"] .vq-app-shell,
html[data-theme="light"] .vq-app-shell,
html[data-bs-theme="light"] .vq-main,
html[data-theme="light"] .vq-main,
html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content {
  background:
    radial-gradient(circle at 18% 0%, rgba(115,103,240,.08), transparent 24rem),
    radial-gradient(circle at 92% 8%, rgba(0,207,232,.06), transparent 22rem),
    var(--pn-academy-bg) !important;
  color: var(--pn-academy-text) !important;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar,
html[data-bs-theme="light"] .navbar,
html[data-theme="light"] .navbar {
  background: rgba(255,255,255,.88) !important;
  color: var(--pn-academy-text) !important;
  border-color: rgba(47,43,61,.10) !important;
  box-shadow: 0 .125rem .625rem rgba(47,43,61,.08) !important;
  backdrop-filter: blur(10px);
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  --bs-body-color: var(--pn-academy-text);
  --bs-secondary-color: var(--pn-academy-muted);
  --bs-border-color: rgba(47,43,61,.10);
  background: #ffffff !important;
  color: var(--pn-academy-text) !important;
  border-color: rgba(47,43,61,.10) !important;
  box-shadow: .125rem 0 .875rem rgba(47,43,61,.08) !important;
  scrollbar-width: none;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar,
html[data-theme="light"] .vq-sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html[data-bs-theme="light"] .vq-sidebar .fw-semibold,
html[data-theme="light"] .vq-sidebar .fw-semibold,
html[data-bs-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-bs-theme="light"] .vq-sidebar .vq-logo,
html[data-theme="light"] .vq-sidebar .vq-logo,
html[data-bs-theme="light"] .vq-sidebar .navbar-brand,
html[data-theme="light"] .vq-sidebar .navbar-brand {
  color: var(--pn-academy-text) !important;
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .text-body-secondary,
html[data-theme="light"] .vq-sidebar .text-body-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar small,
html[data-theme="light"] .vq-sidebar small,
html[data-bs-theme="light"] .vq-sidebar-smart-title,
html[data-theme="light"] .vq-sidebar-smart-title,
html[data-bs-theme="light"] .vq-sidebar-empty,
html[data-theme="light"] .vq-sidebar-empty {
  color: #8a8795 !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-tools,
html[data-theme="light"] .vq-sidebar .vq-sidebar-tools,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-smart-section,
html[data-theme="light"] .vq-sidebar .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-pin-current,
html[data-theme="light"] .vq-sidebar .vq-sidebar-pin-current,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-item,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-item,
html[data-bs-theme="light"] .vq-sidebar .sd-mode-card,
html[data-theme="light"] .vq-sidebar .sd-mode-card,
html[data-bs-theme="light"] .vq-sidebar .vq-guided-sidebar-note,
html[data-theme="light"] .vq-sidebar .vq-guided-sidebar-note {
  background: #ffffff !important;
  border-color: rgba(47,43,61,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search,
html[data-bs-theme="light"] .vq-sidebar .form-control,
html[data-theme="light"] .vq-sidebar .form-control {
  background: #f6f6f9 !important;
  color: var(--pn-academy-text) !important;
  border-color: rgba(47,43,61,.12) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search::placeholder,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search::placeholder {
  color: #a8aaae !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search-wrap > i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search-wrap > i {
  color: #a8aaae !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link-sub,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link-sub,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link span,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link span,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle {
  color: #5d596c !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down {
  color: #8a8795 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: var(--pn-academy-primary) !important;
  background: rgba(115,103,240,.08) !important;
  border-color: rgba(115,103,240,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover > .bi-chevron-down,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus > .bi-chevron-down {
  color: var(--pn-academy-primary) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open {
  color: #ffffff !important;
  background: linear-gradient(72.47deg, #7367f0 22.16%, rgba(115,103,240,.72) 76.47%) !important;
  border-color: transparent !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.34) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.active > .bi-chevron-down,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open > .bi-chevron-down {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .metric-card,
html[data-theme="light"] .metric-card,
html[data-bs-theme="light"] .stat-card,
html[data-theme="light"] .stat-card,
html[data-bs-theme="light"] .dashboard-card,
html[data-theme="light"] .dashboard-card,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item,
html[data-bs-theme="light"] .accordion-item,
html[data-theme="light"] .accordion-item,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas {
  background: var(--pn-academy-surface) !important;
  color: var(--pn-academy-text) !important;
  border-color: rgba(47,43,61,.10) !important;
  border-radius: .875rem !important;
  box-shadow: var(--pn-academy-shadow) !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-theme="light"] .card:hover,
html[data-bs-theme="light"] .dashboard-card:hover,
html[data-theme="light"] .dashboard-card:hover,
html[data-bs-theme="light"] .metric-card:hover,
html[data-theme="light"] .metric-card:hover {
  box-shadow: var(--pn-academy-shadow-hover) !important;
}

html[data-bs-theme="light"] .card-header,
html[data-theme="light"] .card-header,
html[data-bs-theme="light"] .card-footer,
html[data-theme="light"] .card-footer,
html[data-bs-theme="light"] .modal-header,
html[data-theme="light"] .modal-header,
html[data-bs-theme="light"] .modal-footer,
html[data-theme="light"] .modal-footer {
  background: transparent !important;
  border-color: rgba(47,43,61,.10) !important;
}

html[data-bs-theme="light"] h1,
html[data-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-theme="light"] h6,
html[data-bs-theme="light"] .card-title,
html[data-theme="light"] .card-title {
  color: var(--pn-academy-text) !important;
}

html[data-bs-theme="light"] .text-muted,
html[data-theme="light"] .text-muted,
html[data-bs-theme="light"] .text-secondary,
html[data-theme="light"] .text-secondary,
html[data-bs-theme="light"] .text-body-secondary,
html[data-theme="light"] .text-body-secondary {
  color: var(--pn-academy-muted) !important;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .vq-legacy-btn-primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn-dark,
html[data-theme="light"] .btn.btn-dark,
html[data-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #7367f0;
  --bs-btn-border-color: #7367f0;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #675dd8;
  --bs-btn-hover-border-color: #675dd8;
  --bs-btn-active-bg: #5f56c7;
  --bs-btn-active-border-color: #5f56c7;
  color: #fff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !important;
  border-radius: .5rem !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-theme="light"] .btn-dark:hover,
html[data-theme="light"] .btn-dark:focus {
  background: #675dd8 !important;
  border-color: #675dd8 !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.32) !important;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-light,
html[data-theme="light"] .btn-light {
  color: #7367f0 !important;
  border-color: rgba(115,103,240,.28) !important;
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-light:hover,
html[data-theme="light"] .btn-light:hover {
  color: #ffffff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select,
html[data-theme="light"] textarea,
html[data-bs-theme="light"] .input-group-text,
html[data-theme="light"] .input-group-text {
  background-color: #ffffff !important;
  color: var(--pn-academy-text) !important;
  border-color: rgba(47,43,61,.16) !important;
  border-radius: .5rem !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus,
html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] textarea:focus {
  border-color: #7367f0 !important;
  box-shadow: 0 0 0 .2rem rgba(115,103,240,.16) !important;
}

html[data-bs-theme="light"] .table,
html[data-theme="light"] .table {
  --bs-table-bg: #ffffff;
  --bs-table-color: #6f6b7d;
  --bs-table-border-color: #dbdade;
  --bs-table-striped-bg: #fbfbfc;
  --bs-table-hover-bg: rgba(115,103,240,.055);
  color: #6f6b7d !important;
  border-color: #dbdade !important;
}

html[data-bs-theme="light"] .table thead th,
html[data-theme="light"] .table thead th {
  background: #f6f6f9 !important;
  color: #444050 !important;
  border-bottom-color: #dbdade !important;
  font-weight: 600;
}

html[data-bs-theme="light"] .badge.bg-primary,
html[data-theme="light"] .badge.bg-primary,
html[data-bs-theme="light"] .badge.text-bg-primary,
html[data-theme="light"] .badge.text-bg-primary,
html[data-bs-theme="light"] .bg-primary,
html[data-theme="light"] .bg-primary {
  background-color: #7367f0 !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .badge.bg-success,
html[data-theme="light"] .badge.bg-success,
html[data-bs-theme="light"] .badge.text-bg-success,
html[data-theme="light"] .badge.text-bg-success {
  background-color: rgba(40,199,111,.16) !important;
  color: #28c76f !important;
}

html[data-bs-theme="light"] .badge.bg-info,
html[data-theme="light"] .badge.bg-info,
html[data-bs-theme="light"] .badge.text-bg-info,
html[data-theme="light"] .badge.text-bg-info {
  background-color: rgba(0,207,232,.16) !important;
  color: #00a6ba !important;
}

html[data-bs-theme="light"] .badge.bg-warning,
html[data-theme="light"] .badge.bg-warning,
html[data-bs-theme="light"] .badge.text-bg-warning,
html[data-theme="light"] .badge.text-bg-warning {
  background-color: rgba(255,159,67,.18) !important;
  color: #ff9f43 !important;
}

html[data-bs-theme="light"] .badge.bg-danger,
html[data-theme="light"] .badge.bg-danger,
html[data-bs-theme="light"] .badge.text-bg-danger,
html[data-theme="light"] .badge.text-bg-danger {
  background-color: rgba(234,84,85,.16) !important;
  color: #ea5455 !important;
}

html[data-bs-theme="light"] .progress,
html[data-theme="light"] .progress {
  background: rgba(47,43,61,.08) !important;
  border-radius: 50rem !important;
}

html[data-bs-theme="light"] .progress-bar,
html[data-theme="light"] .progress-bar {
  background: linear-gradient(90deg, #7367f0, #9b93f7) !important;
}

html[data-bs-theme="light"] .nav-pills .nav-link,
html[data-theme="light"] .nav-pills .nav-link,
html[data-bs-theme="light"] .nav-tabs .nav-link,
html[data-theme="light"] .nav-tabs .nav-link {
  color: #6f6b7d !important;
}

html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .page-link.active,
html[data-theme="light"] .page-link.active,
html[data-bs-theme="light"] .active > .page-link,
html[data-theme="light"] .active > .page-link {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #ffffff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !important;
}

html[data-bs-theme="light"] .page-link,
html[data-theme="light"] .page-link {
  color: #7367f0 !important;
  border-color: #dbdade !important;
  background: #ffffff !important;
}

html[data-bs-theme="light"] .alert-primary,
html[data-theme="light"] .alert-primary {
  color: #7367f0 !important;
  background-color: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.24) !important;
}

html[data-bs-theme="light"] .fc,
html[data-theme="light"] .fc {
  --fc-border-color: #dbdade;
  --fc-page-bg-color: #ffffff;
  --fc-neutral-bg-color: #f6f6f9;
  --fc-list-event-hover-bg-color: rgba(115,103,240,.06);
  color: #6f6b7d;
}

html[data-bs-theme="light"] .fc .fc-toolbar-title,
html[data-theme="light"] .fc .fc-toolbar-title {
  color: #444050 !important;
}

html[data-bs-theme="light"] .fc .fc-button-primary,
html[data-theme="light"] .fc .fc-button-primary,
html[data-bs-theme="light"] .fc-event,
html[data-theme="light"] .fc-event {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #ffffff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.25) !important;
}

html[data-bs-theme="light"] .fc .fc-daygrid-day.fc-day-today,
html[data-theme="light"] .fc .fc-daygrid-day.fc-day-today,
html[data-bs-theme="light"] .fc .fc-timegrid-col.fc-day-today,
html[data-theme="light"] .fc .fc-timegrid-col.fc-day-today {
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .apexcharts-menu,
html[data-theme="light"] .apexcharts-menu,
html[data-bs-theme="light"] .apexcharts-tooltip,
html[data-theme="light"] .apexcharts-tooltip,
html[data-bs-theme="light"] .apexcharts-xaxistooltip,
html[data-theme="light"] .apexcharts-xaxistooltip {
  background: #ffffff !important;
  color: #6f6b7d !important;
  border-color: #dbdade !important;
  box-shadow: 0 .1875rem .5rem rgba(47,43,61,.12) !important;
}

html[data-bs-theme="light"] .apexcharts-tooltip-title,
html[data-theme="light"] .apexcharts-tooltip-title {
  background: #f6f6f9 !important;
  color: #444050 !important;
  border-bottom-color: #dbdade !important;
}

html[data-bs-theme="light"] .vq-mobile-tabbar,
html[data-theme="light"] .vq-mobile-tabbar {
  background: rgba(255,255,255,.94) !important;
  border-color: #dbdade !important;
  box-shadow: 0 -.125rem .5rem rgba(47,43,61,.08) !important;
}

html[data-bs-theme="light"] .vq-mobile-tabbar .active,
html[data-theme="light"] .vq-mobile-tabbar .active,
html[data-bs-theme="light"] .text-primary,
html[data-theme="light"] .text-primary,
html[data-bs-theme="light"] a,
html[data-theme="light"] a {
  color: #7367f0;
}

/* ========================================================================
   Step 95: Vuexy Vue Email app-inspired light mode
   Source inspiration: Vuexy VueJS demo-3 / apps / email.
   Original CSS adaptation only; no template files or licensed assets copied.
   ======================================================================== */
html[data-bs-theme="light"],
html[data-theme="light"] {
  --bs-body-bg: #f8f7fa;
  --bs-body-color: #444050;
  --bs-secondary-color: #6f6b7d;
  --bs-tertiary-color: #a8aaae;
  --bs-tertiary-bg: #f6f6f9;
  --bs-border-color: #dbdade;
  --bs-border-color-translucent: rgba(47,43,61,.12);
  --bs-heading-color: #444050;
  --bs-link-color: #7367f0;
  --bs-link-hover-color: #675dd8;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115,103,240;
  --bs-primary-bg-subtle: rgba(115,103,240,.12);
  --bs-primary-border-subtle: rgba(115,103,240,.28);
  --bs-success: #28c76f;
  --bs-success-rgb: 40,199,111;
  --bs-info: #00cfe8;
  --bs-info-rgb: 0,207,232;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255,159,67;
  --bs-danger: #ea5455;
  --bs-danger-rgb: 234,84,85;
  --pn-email-bg: #f8f7fa;
  --pn-email-surface: #ffffff;
  --pn-email-surface-soft: #f6f6f9;
  --pn-email-surface-hover: #fbfbfc;
  --pn-email-text: #444050;
  --pn-email-muted: #6f6b7d;
  --pn-email-subtle: #a8aaae;
  --pn-email-border: #dbdade;
  --pn-email-primary: #7367f0;
  --pn-email-primary-hover: #675dd8;
  --pn-email-primary-soft: rgba(115,103,240,.12);
  --pn-email-primary-softer: rgba(115,103,240,.08);
  --pn-email-success: #28c76f;
  --pn-email-info: #00cfe8;
  --pn-email-warning: #ff9f43;
  --pn-email-danger: #ea5455;
  --pn-email-shadow: 0 .125rem .5rem rgba(47,43,61,.10);
  --pn-email-shadow-hover: 0 .35rem 1rem rgba(47,43,61,.14);
  --pn-email-radius: .5rem;
  --pn-email-radius-lg: .75rem;
}

html[data-bs-theme="light"] body,
html[data-theme="light"] body,
html[data-bs-theme="light"] .vq-app-shell,
html[data-theme="light"] .vq-app-shell,
html[data-bs-theme="light"] .vq-main,
html[data-theme="light"] .vq-main,
html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content {
  background: var(--pn-email-bg) !important;
  color: var(--pn-email-text) !important;
}

html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar,
html[data-bs-theme="light"] .navbar,
html[data-theme="light"] .navbar {
  background: rgba(255,255,255,.95) !important;
  color: var(--pn-email-text) !important;
  border-color: rgba(47,43,61,.10) !important;
  box-shadow: 0 .125rem .625rem rgba(47,43,61,.08) !important;
  backdrop-filter: blur(10px);
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  --bs-body-color: var(--pn-email-text);
  --bs-secondary-color: var(--pn-email-muted);
  --bs-border-color: rgba(47,43,61,.10);
  background: #ffffff !important;
  color: var(--pn-email-text) !important;
  border-color: rgba(47,43,61,.10) !important;
  box-shadow: .125rem 0 .875rem rgba(47,43,61,.08) !important;
  scrollbar-width: none;
}

html[data-bs-theme="light"] .vq-sidebar::-webkit-scrollbar,
html[data-theme="light"] .vq-sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html[data-bs-theme="light"] .vq-sidebar-mobile-head,
html[data-theme="light"] .vq-sidebar-mobile-head {
  background: #ffffff !important;
  border-color: rgba(47,43,61,.10) !important;
}

html[data-bs-theme="light"] .vq-sidebar .fw-semibold,
html[data-theme="light"] .vq-sidebar .fw-semibold,
html[data-bs-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-theme="light"] .vq-sidebar .vq-brandwrap,
html[data-bs-theme="light"] .vq-sidebar .vq-logo,
html[data-theme="light"] .vq-sidebar .vq-logo,
html[data-bs-theme="light"] .vq-sidebar .navbar-brand,
html[data-theme="light"] .vq-sidebar .navbar-brand {
  color: var(--pn-email-text) !important;
}

html[data-bs-theme="light"] .vq-sidebar .text-secondary,
html[data-theme="light"] .vq-sidebar .text-secondary,
html[data-bs-theme="light"] .vq-sidebar .text-body-secondary,
html[data-theme="light"] .vq-sidebar .text-body-secondary,
html[data-bs-theme="light"] .vq-sidebar .small,
html[data-theme="light"] .vq-sidebar .small,
html[data-bs-theme="light"] .vq-sidebar small,
html[data-theme="light"] .vq-sidebar small,
html[data-bs-theme="light"] .vq-sidebar-smart-title,
html[data-theme="light"] .vq-sidebar-smart-title,
html[data-bs-theme="light"] .vq-sidebar-empty,
html[data-theme="light"] .vq-sidebar-empty {
  color: #8a8795 !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-tools,
html[data-theme="light"] .vq-sidebar .vq-sidebar-tools,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-smart-section,
html[data-theme="light"] .vq-sidebar .vq-sidebar-smart-section,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-pin-current,
html[data-theme="light"] .vq-sidebar .vq-sidebar-pin-current,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-item,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-item,
html[data-bs-theme="light"] .vq-sidebar .sd-mode-card,
html[data-theme="light"] .vq-sidebar .sd-mode-card,
html[data-bs-theme="light"] .vq-sidebar .vq-guided-sidebar-note,
html[data-theme="light"] .vq-sidebar .vq-guided-sidebar-note {
  background: #ffffff !important;
  border-color: rgba(47,43,61,.10) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search,
html[data-bs-theme="light"] .vq-sidebar .form-control,
html[data-theme="light"] .vq-sidebar .form-control {
  background: #f6f6f9 !important;
  color: var(--pn-email-text) !important;
  border-color: rgba(47,43,61,.12) !important;
  border-radius: .5rem !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search::placeholder,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search::placeholder,
html[data-bs-theme="light"] .form-control::placeholder,
html[data-theme="light"] .form-control::placeholder {
  color: #a8aaae !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-search-wrap > i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-search-wrap > i {
  color: #a8aaae !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link-sub,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link-sub,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link span,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link span,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle {
  color: #5d596c !important;
  opacity: 1 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > span > i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle > .bi-chevron-down {
  color: #8a8795 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  background: rgba(115,103,240,.08) !important;
  color: #7367f0 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link:focus i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link:hover i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover > span > i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle:hover > span > i {
  color: #7367f0 !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-item.is-open > .vq-nav-accordion-toggle,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-item.is-open > .vq-nav-accordion-toggle,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"] {
  background: linear-gradient(118deg, #7367f0, #8f85f3) !important;
  color: #ffffff !important;
  border-color: rgba(115,103,240,.38) !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="light"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-theme="light"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-item.is-open > .vq-nav-accordion-toggle i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-item.is-open > .vq-nav-accordion-toggle i,
html[data-bs-theme="light"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"] i,
html[data-theme="light"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"] i {
  color: #ffffff !important;
}

html[data-bs-theme="light"] .vq-sidebar .vq-side-link-sub.active,
html[data-theme="light"] .vq-sidebar .vq-side-link-sub.active {
  background: rgba(115,103,240,.12) !important;
  color: #7367f0 !important;
  font-weight: 600;
}

html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas,
html[data-bs-theme="light"] .toast,
html[data-theme="light"] .toast,
html[data-bs-theme="light"] .list-group,
html[data-theme="light"] .list-group,
html[data-bs-theme="light"] .accordion-item,
html[data-theme="light"] .accordion-item,
html[data-bs-theme="light"] .dashboard-card,
html[data-theme="light"] .dashboard-card,
html[data-bs-theme="light"] .metric-card,
html[data-theme="light"] .metric-card,
html[data-bs-theme="light"] .pn-campaign-card,
html[data-theme="light"] .pn-campaign-card,
html[data-bs-theme="light"] .pn-stat-card,
html[data-theme="light"] .pn-stat-card,
html[data-bs-theme="light"] .pn-panel,
html[data-theme="light"] .pn-panel,
html[data-bs-theme="light"] .pn-calendar-panel,
html[data-theme="light"] .pn-calendar-panel,
html[data-bs-theme="light"] .pn-apex-card,
html[data-theme="light"] .pn-apex-card {
  background: var(--pn-email-surface) !important;
  color: var(--pn-email-text) !important;
  border-color: rgba(47,43,61,.10) !important;
  border-radius: .75rem !important;
  box-shadow: var(--pn-email-shadow) !important;
}

html[data-bs-theme="light"] .card:hover,
html[data-theme="light"] .card:hover,
html[data-bs-theme="light"] .dashboard-card:hover,
html[data-theme="light"] .dashboard-card:hover,
html[data-bs-theme="light"] .metric-card:hover,
html[data-theme="light"] .metric-card:hover,
html[data-bs-theme="light"] .list-group-item:hover,
html[data-theme="light"] .list-group-item:hover {
  box-shadow: var(--pn-email-shadow-hover) !important;
}

html[data-bs-theme="light"] .card-header,
html[data-theme="light"] .card-header,
html[data-bs-theme="light"] .card-footer,
html[data-theme="light"] .card-footer,
html[data-bs-theme="light"] .modal-header,
html[data-theme="light"] .modal-header,
html[data-bs-theme="light"] .modal-footer,
html[data-theme="light"] .modal-footer {
  background: #ffffff !important;
  border-color: rgba(47,43,61,.10) !important;
}

html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item,
html[data-bs-theme="light"] .dropdown-item,
html[data-theme="light"] .dropdown-item {
  color: var(--pn-email-muted) !important;
  background-color: #ffffff !important;
  border-color: rgba(47,43,61,.08) !important;
}

html[data-bs-theme="light"] .list-group-item.active,
html[data-theme="light"] .list-group-item.active,
html[data-bs-theme="light"] .dropdown-item.active,
html[data-theme="light"] .dropdown-item.active,
html[data-bs-theme="light"] .dropdown-item:active,
html[data-theme="light"] .dropdown-item:active {
  background-color: rgba(115,103,240,.12) !important;
  color: #7367f0 !important;
  border-color: rgba(115,103,240,.20) !important;
}

html[data-bs-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .list-group-item-action:hover,
html[data-theme="light"] .list-group-item-action:hover {
  background: #f6f6f9 !important;
  color: #7367f0 !important;
}

html[data-bs-theme="light"] h1,
html[data-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-theme="light"] h6,
html[data-bs-theme="light"] .card-title,
html[data-theme="light"] .card-title {
  color: var(--pn-email-text) !important;
}

html[data-bs-theme="light"] .text-muted,
html[data-theme="light"] .text-muted,
html[data-bs-theme="light"] .text-secondary,
html[data-theme="light"] .text-secondary,
html[data-bs-theme="light"] .text-body-secondary,
html[data-theme="light"] .text-body-secondary {
  color: var(--pn-email-muted) !important;
}

html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-bs-theme="light"] .btn-dark,
html[data-bs-theme="light"] .btn.btn-dark,
html[data-bs-theme="light"] .vq-legacy-btn-primary,
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn-dark,
html[data-theme="light"] .btn.btn-dark,
html[data-theme="light"] .vq-legacy-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #7367f0;
  --bs-btn-border-color: #7367f0;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #675dd8;
  --bs-btn-hover-border-color: #675dd8;
  --bs-btn-active-bg: #5f56c7;
  --bs-btn-active-border-color: #5f56c7;
  color: #fff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !important;
  border-radius: .5rem !important;
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn-dark:hover,
html[data-bs-theme="light"] .btn-dark:focus,
html[data-theme="light"] .btn-dark:hover,
html[data-theme="light"] .btn-dark:focus {
  background: #675dd8 !important;
  border-color: #675dd8 !important;
  box-shadow: 0 .25rem .875rem rgba(115,103,240,.32) !important;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-light,
html[data-theme="light"] .btn-light {
  color: #7367f0 !important;
  border-color: rgba(115,103,240,.28) !important;
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-light:hover,
html[data-theme="light"] .btn-light:hover {
  color: #ffffff !important;
  background: #7367f0 !important;
  border-color: #7367f0 !important;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select,
html[data-theme="light"] textarea,
html[data-bs-theme="light"] .input-group-text,
html[data-theme="light"] .input-group-text {
  background-color: #ffffff !important;
  color: var(--pn-email-text) !important;
  border-color: rgba(47,43,61,.16) !important;
  border-radius: .5rem !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus,
html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] textarea:focus {
  border-color: #7367f0 !important;
  box-shadow: 0 0 0 .2rem rgba(115,103,240,.16) !important;
}

html[data-bs-theme="light"] .table,
html[data-theme="light"] .table {
  --bs-table-bg: #ffffff;
  --bs-table-color: #6f6b7d;
  --bs-table-border-color: #dbdade;
  --bs-table-striped-bg: #fbfbfc;
  --bs-table-hover-bg: rgba(115,103,240,.055);
  color: #6f6b7d !important;
  border-color: #dbdade !important;
}

html[data-bs-theme="light"] .table thead th,
html[data-theme="light"] .table thead th {
  background: #f6f6f9 !important;
  color: #444050 !important;
  border-bottom-color: #dbdade !important;
  font-weight: 600;
}

html[data-bs-theme="light"] .table tbody tr:hover,
html[data-theme="light"] .table tbody tr:hover {
  background: rgba(115,103,240,.055) !important;
}

html[data-bs-theme="light"] .badge.bg-primary,
html[data-theme="light"] .badge.bg-primary,
html[data-bs-theme="light"] .badge.text-bg-primary,
html[data-theme="light"] .badge.text-bg-primary,
html[data-bs-theme="light"] .bg-primary,
html[data-theme="light"] .bg-primary {
  background-color: #7367f0 !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .badge.bg-success,
html[data-theme="light"] .badge.bg-success,
html[data-bs-theme="light"] .badge.text-bg-success,
html[data-theme="light"] .badge.text-bg-success {
  background-color: rgba(40,199,111,.16) !important;
  color: #28c76f !important;
}

html[data-bs-theme="light"] .badge.bg-info,
html[data-theme="light"] .badge.bg-info,
html[data-bs-theme="light"] .badge.text-bg-info,
html[data-theme="light"] .badge.text-bg-info {
  background-color: rgba(0,207,232,.16) !important;
  color: #00a6ba !important;
}

html[data-bs-theme="light"] .badge.bg-warning,
html[data-theme="light"] .badge.bg-warning,
html[data-bs-theme="light"] .badge.text-bg-warning,
html[data-theme="light"] .badge.text-bg-warning {
  background-color: rgba(255,159,67,.18) !important;
  color: #ff9f43 !important;
}

html[data-bs-theme="light"] .badge.bg-danger,
html[data-theme="light"] .badge.bg-danger,
html[data-bs-theme="light"] .badge.text-bg-danger,
html[data-theme="light"] .badge.text-bg-danger {
  background-color: rgba(234,84,85,.16) !important;
  color: #ea5455 !important;
}

html[data-bs-theme="light"] .progress,
html[data-theme="light"] .progress {
  background: rgba(47,43,61,.08) !important;
  border-radius: 50rem !important;
}

html[data-bs-theme="light"] .progress-bar,
html[data-theme="light"] .progress-bar {
  background: linear-gradient(90deg, #7367f0, #9b93f7) !important;
}

html[data-bs-theme="light"] .nav-pills .nav-link,
html[data-theme="light"] .nav-pills .nav-link,
html[data-bs-theme="light"] .nav-tabs .nav-link,
html[data-theme="light"] .nav-tabs .nav-link {
  color: #6f6b7d !important;
  border-radius: .5rem .5rem 0 0;
}

html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .nav-tabs .nav-link.active,
html[data-theme="light"] .nav-tabs .nav-link.active,
html[data-bs-theme="light"] .page-link.active,
html[data-theme="light"] .page-link.active,
html[data-bs-theme="light"] .active > .page-link,
html[data-theme="light"] .active > .page-link {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #ffffff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.35) !important;
}

html[data-bs-theme="light"] .page-link,
html[data-theme="light"] .page-link {
  color: #7367f0 !important;
  border-color: #dbdade !important;
  background: #ffffff !important;
}

html[data-bs-theme="light"] .alert-primary,
html[data-theme="light"] .alert-primary {
  color: #7367f0 !important;
  background-color: rgba(115,103,240,.12) !important;
  border-color: rgba(115,103,240,.24) !important;
}

html[data-bs-theme="light"] .fc,
html[data-theme="light"] .fc {
  --fc-border-color: #dbdade;
  --fc-page-bg-color: #ffffff;
  --fc-neutral-bg-color: #f6f6f9;
  --fc-list-event-hover-bg-color: rgba(115,103,240,.06);
  color: #6f6b7d;
}

html[data-bs-theme="light"] .fc .fc-toolbar-title,
html[data-theme="light"] .fc .fc-toolbar-title {
  color: #444050 !important;
}

html[data-bs-theme="light"] .fc .fc-button-primary,
html[data-theme="light"] .fc .fc-button-primary,
html[data-bs-theme="light"] .fc-event,
html[data-theme="light"] .fc-event {
  background: #7367f0 !important;
  border-color: #7367f0 !important;
  color: #ffffff !important;
  box-shadow: 0 .125rem .375rem rgba(115,103,240,.25) !important;
}

html[data-bs-theme="light"] .fc .fc-daygrid-day.fc-day-today,
html[data-theme="light"] .fc .fc-daygrid-day.fc-day-today,
html[data-bs-theme="light"] .fc .fc-timegrid-col.fc-day-today,
html[data-theme="light"] .fc .fc-timegrid-col.fc-day-today {
  background: rgba(115,103,240,.08) !important;
}

html[data-bs-theme="light"] .apexcharts-menu,
html[data-theme="light"] .apexcharts-menu,
html[data-bs-theme="light"] .apexcharts-tooltip,
html[data-theme="light"] .apexcharts-tooltip,
html[data-bs-theme="light"] .apexcharts-xaxistooltip,
html[data-theme="light"] .apexcharts-xaxistooltip {
  background: #ffffff !important;
  color: #6f6b7d !important;
  border-color: #dbdade !important;
  box-shadow: 0 .1875rem .5rem rgba(47,43,61,.12) !important;
}

html[data-bs-theme="light"] .apexcharts-tooltip-title,
html[data-theme="light"] .apexcharts-tooltip-title {
  background: #f6f6f9 !important;
  color: #444050 !important;
  border-bottom-color: #dbdade !important;
}

html[data-bs-theme="light"] .vq-mobile-tabbar,
html[data-theme="light"] .vq-mobile-tabbar {
  background: rgba(255,255,255,.94) !important;
  border-color: #dbdade !important;
  box-shadow: 0 -.125rem .5rem rgba(47,43,61,.08) !important;
}

html[data-bs-theme="light"] .vq-mobile-tabbar .active,
html[data-theme="light"] .vq-mobile-tabbar .active,
html[data-bs-theme="light"] .text-primary,
html[data-theme="light"] .text-primary,
html[data-bs-theme="light"] a,
html[data-theme="light"] a {
  color: #7367f0;
}

/* ========================================================================
   Step 96: Darker regular text in light mode only
   Requested: make all non-bold, non-header text 40% darker in light mode.
   This keeps headings, bold/semibold labels, buttons, badges and active
   navigation states on their existing theme colors.
   ======================================================================== */
html[data-bs-theme="light"],
html[data-theme="light"] {
  --pn-regular-text-40-darker: #43404b;
  --pn-regular-text-40-darker-rgb: 67,64,75;
  --pn-email-muted: #43404b;
  --bs-secondary-color: #43404b;
  --bs-secondary-rgb: 67,64,75;
  --bs-tertiary-color: rgba(67,64,75,.76);
}

html[data-bs-theme="light"] body,
html[data-theme="light"] body,
html[data-bs-theme="light"] .vq-app-content,
html[data-theme="light"] .vq-app-content,
html[data-bs-theme="light"] .vq-main,
html[data-theme="light"] .vq-main,
html[data-bs-theme="light"] .card-body,
html[data-theme="light"] .card-body,
html[data-bs-theme="light"] .modal-body,
html[data-theme="light"] .modal-body,
html[data-bs-theme="light"] .offcanvas-body,
html[data-theme="light"] .offcanvas-body,
html[data-bs-theme="light"] p,
html[data-theme="light"] p,
html[data-bs-theme="light"] li,
html[data-theme="light"] li,
html[data-bs-theme="light"] td,
html[data-theme="light"] td,
html[data-bs-theme="light"] label,
html[data-theme="light"] label,
html[data-bs-theme="light"] .form-label,
html[data-theme="light"] .form-label,
html[data-bs-theme="light"] .form-text,
html[data-theme="light"] .form-text,
html[data-bs-theme="light"] .small,
html[data-theme="light"] .small,
html[data-bs-theme="light"] small,
html[data-theme="light"] small,
html[data-bs-theme="light"] .text-muted,
html[data-theme="light"] .text-muted,
html[data-bs-theme="light"] .text-secondary,
html[data-theme="light"] .text-secondary,
html[data-bs-theme="light"] .text-body-secondary,
html[data-theme="light"] .text-body-secondary,
html[data-bs-theme="light"] .dropdown-item,
html[data-theme="light"] .dropdown-item,
html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item,
html[data-bs-theme="light"] .table,
html[data-theme="light"] .table,
html[data-bs-theme="light"] .table tbody,
html[data-theme="light"] .table tbody,
html[data-bs-theme="light"] .table tbody td,
html[data-theme="light"] .table tbody td,
html[data-bs-theme="light"] .fc,
html[data-theme="light"] .fc,
html[data-bs-theme="light"] .apexcharts-tooltip,
html[data-theme="light"] .apexcharts-tooltip {
  color: var(--pn-regular-text-40-darker) !important;
}

html[data-bs-theme="light"] .form-control,
html[data-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-theme="light"] textarea,
html[data-bs-theme="light"] .input-group-text,
html[data-theme="light"] .input-group-text {
  color: var(--pn-regular-text-40-darker) !important;
}

html[data-bs-theme="light"] .form-control::placeholder,
html[data-theme="light"] .form-control::placeholder,
html[data-bs-theme="light"] .form-select::placeholder,
html[data-theme="light"] .form-select::placeholder,
html[data-bs-theme="light"] textarea::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: rgba(var(--pn-regular-text-40-darker-rgb), .72) !important;
  opacity: 1 !important;
}

/* Keep headings and intentionally emphasized text on the existing heading color. */
html[data-bs-theme="light"] h1,
html[data-theme="light"] h1,
html[data-bs-theme="light"] h2,
html[data-theme="light"] h2,
html[data-bs-theme="light"] h3,
html[data-theme="light"] h3,
html[data-bs-theme="light"] h4,
html[data-theme="light"] h4,
html[data-bs-theme="light"] h5,
html[data-theme="light"] h5,
html[data-bs-theme="light"] h6,
html[data-theme="light"] h6,
html[data-bs-theme="light"] .h1,
html[data-theme="light"] .h1,
html[data-bs-theme="light"] .h2,
html[data-theme="light"] .h2,
html[data-bs-theme="light"] .h3,
html[data-theme="light"] .h3,
html[data-bs-theme="light"] .h4,
html[data-theme="light"] .h4,
html[data-bs-theme="light"] .h5,
html[data-theme="light"] .h5,
html[data-bs-theme="light"] .h6,
html[data-theme="light"] .h6,
html[data-bs-theme="light"] .card-title,
html[data-theme="light"] .card-title,
html[data-bs-theme="light"] .modal-title,
html[data-theme="light"] .modal-title,
html[data-bs-theme="light"] .offcanvas-title,
html[data-theme="light"] .offcanvas-title,
html[data-bs-theme="light"] .fw-bold,
html[data-theme="light"] .fw-bold,
html[data-bs-theme="light"] .fw-semibold,
html[data-theme="light"] .fw-semibold,
html[data-bs-theme="light"] strong,
html[data-theme="light"] strong,
html[data-bs-theme="light"] b,
html[data-theme="light"] b,
html[data-bs-theme="light"] th,
html[data-theme="light"] th {
  color: var(--pn-email-text) !important;
}

/* Do not darken interactive theme states. */
html[data-bs-theme="light"] .btn,
html[data-theme="light"] .btn,
html[data-bs-theme="light"] .badge,
html[data-theme="light"] .badge,
html[data-bs-theme="light"] .alert,
html[data-theme="light"] .alert,
html[data-bs-theme="light"] .nav-link.active,
html[data-theme="light"] .nav-link.active,
html[data-bs-theme="light"] .vq-side-link.active,
html[data-theme="light"] .vq-side-link.active,
html[data-bs-theme="light"] .vq-mobile-tabbar .active,
html[data-theme="light"] .vq-mobile-tabbar .active,
html[data-bs-theme="light"] .fc-event,
html[data-theme="light"] .fc-event,
html[data-bs-theme="light"] .fc .fc-button,
html[data-theme="light"] .fc .fc-button {
  color: inherit;
}

/* Step 104: AstruSocial notifications */
.pn-notification-count {
    min-width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    box-shadow: 0 .25rem .75rem rgba(234, 84, 85, .35);
}

.pn-notification-dropdown {
    width: min(420px, calc(100vw - 1.5rem));
    max-height: min(620px, calc(100vh - 5rem));
    overflow: hidden;
}

.pn-notification-dropdown-list {
    max-height: 360px;
    overflow-y: auto;
}

.pn-notification-dropdown-item {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    padding: .75rem 1rem;
    white-space: normal;
}

.pn-notification-dropdown-icon,
.pn-notification-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), .1);
    flex: 0 0 auto;
}

.pn-notification-item {
    padding: 1rem 1.25rem;
}

.pn-notification-unread {
    background: rgba(var(--bs-primary-rgb), .045);
}

.pn-notification-settings .accordion-button {
    font-size: .95rem;
    font-weight: 600;
}

html[data-bs-theme="dark"] .pn-notification-unread,
html[data-theme="dark"] .pn-notification-unread {
    background: rgba(var(--bs-primary-rgb), .12);
}

html[data-bs-theme="dark"] .pn-notification-dropdown-icon,
html[data-theme="dark"] .pn-notification-dropdown-icon,
html[data-bs-theme="dark"] .pn-notification-icon,
html[data-theme="dark"] .pn-notification-icon {
    background: rgba(var(--bs-primary-rgb), .18);
}

/* -----------------------------------------------------------------------------
   Step 117: Website2 theme alignment
   Reference: https://surfstats.com/Website2/
   This block is intentionally placed last so it wins over the older Vuexy/OpenArt
   light and dark mode experiments. It keeps AstruSocial's existing markup and applies
   the same warm off-white + purple light mode and deep purple-black dark mode used
   by Website2.
----------------------------------------------------------------------------- */
:root {
  --pn-w2-light-bg: #f8f7fa;
  --pn-w2-light-surface: #ffffff;
  --pn-w2-light-surface-soft: #f3f0f8;
  --pn-w2-light-surface-hover: #fbfaff;
  --pn-w2-light-text: #2f243d;
  --pn-w2-light-muted: #5f526e;
  --pn-w2-light-border: rgba(93, 64, 116, .14);
  --pn-w2-light-primary: #7c3aed;
  --pn-w2-light-primary-rgb: 124, 58, 237;
  --pn-w2-light-primary-hover: #6d28d9;
  --pn-w2-light-accent: #b83280;
  --pn-w2-light-accent-rgb: 184, 50, 128;
  --pn-w2-light-shadow: 0 .75rem 2rem rgba(47, 36, 61, .10);
  --pn-w2-light-shadow-sm: 0 .25rem .9rem rgba(47, 36, 61, .08);

  --pn-w2-dark-bg: #080708;
  --pn-w2-dark-surface: #141016;
  --pn-w2-dark-surface-soft: #1c1521;
  --pn-w2-dark-surface-hover: #24192b;
  --pn-w2-dark-text: #f8f3fb;
  --pn-w2-dark-muted: rgba(248, 243, 251, .72);
  --pn-w2-dark-border: rgba(230, 198, 255, .12);
  --pn-w2-dark-primary: #a855f7;
  --pn-w2-dark-primary-rgb: 168, 85, 247;
  --pn-w2-dark-primary-hover: #c084fc;
  --pn-w2-dark-accent: #be2f7f;
  --pn-w2-dark-accent-rgb: 190, 47, 127;
  --pn-w2-dark-shadow: 0 1rem 2.75rem rgba(0, 0, 0, .34);
}

html[data-bs-theme="light"],
html[data-theme="light"] {
  --bs-body-bg: var(--pn-w2-light-bg);
  --bs-body-bg-rgb: 248, 247, 250;
  --bs-body-color: var(--pn-w2-light-text);
  --bs-body-color-rgb: 47, 36, 61;
  --bs-emphasis-color: #211729;
  --bs-emphasis-color-rgb: 33, 23, 41;
  --bs-secondary-color: var(--pn-w2-light-muted);
  --bs-secondary-rgb: 95, 82, 110;
  --bs-tertiary-color: rgba(47, 36, 61, .62);
  --bs-tertiary-bg: var(--pn-w2-light-surface);
  --bs-tertiary-bg-rgb: 255, 255, 255;
  --bs-secondary-bg: var(--pn-w2-light-surface-soft);
  --bs-secondary-bg-rgb: 243, 240, 248;
  --bs-border-color: var(--pn-w2-light-border);
  --bs-primary: var(--pn-w2-light-primary);
  --bs-primary-rgb: var(--pn-w2-light-primary-rgb);
  --bs-primary-bg-subtle: rgba(var(--pn-w2-light-primary-rgb), .12);
  --bs-primary-border-subtle: rgba(var(--pn-w2-light-primary-rgb), .25);
  --bs-link-color: var(--pn-w2-light-primary);
  --bs-link-hover-color: var(--pn-w2-light-primary-hover);
  --vq-bg: var(--pn-w2-light-bg);
  --vq-bg-2: var(--pn-w2-light-surface-soft);
  --vq-surface: var(--pn-w2-light-surface);
  --vq-surface-2: var(--pn-w2-light-surface-soft);
  --vq-surface-solid: var(--pn-w2-light-surface);
  --vq-surface-elev: var(--pn-w2-light-surface);
  --vq-text: var(--pn-w2-light-text);
  --vq-muted: var(--pn-w2-light-muted);
  --vq-border: var(--pn-w2-light-border);
  --vq-primary: var(--pn-w2-light-primary);
  --vq-primary-2: var(--pn-w2-light-accent);
  --pn-email-bg: var(--pn-w2-light-bg);
  --pn-email-surface: var(--pn-w2-light-surface);
  --pn-email-surface-soft: var(--pn-w2-light-surface-soft);
  --pn-email-surface-hover: var(--pn-w2-light-surface-hover);
  --pn-email-text: var(--pn-w2-light-text);
  --pn-email-muted: var(--pn-w2-light-muted);
  --pn-email-border: var(--pn-w2-light-border);
  --pn-email-primary: var(--pn-w2-light-primary);
  --pn-email-primary-hover: var(--pn-w2-light-primary-hover);
  --pn-email-primary-soft: rgba(var(--pn-w2-light-primary-rgb), .12);
  --pn-email-primary-softer: rgba(var(--pn-w2-light-primary-rgb), .08);
  --pn-email-shadow: var(--pn-w2-light-shadow-sm);
  --pn-email-shadow-hover: var(--pn-w2-light-shadow);
  --pn-regular-text-40-darker: var(--pn-w2-light-muted);
  --pn-regular-text-40-darker-rgb: 95, 82, 110;
  background-color: var(--pn-w2-light-bg) !important;
}

html[data-bs-theme="dark"],
html[data-theme="dark"] {
  --bs-body-bg: var(--pn-w2-dark-bg);
  --bs-body-bg-rgb: 8, 7, 8;
  --bs-body-color: var(--pn-w2-dark-text);
  --bs-body-color-rgb: 248, 243, 251;
  --bs-emphasis-color: #ffffff;
  --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-secondary-color: var(--pn-w2-dark-muted);
  --bs-secondary-rgb: 211, 197, 222;
  --bs-tertiary-color: rgba(248, 243, 251, .55);
  --bs-tertiary-bg: var(--pn-w2-dark-surface);
  --bs-tertiary-bg-rgb: 20, 16, 22;
  --bs-secondary-bg: var(--pn-w2-dark-surface-soft);
  --bs-secondary-bg-rgb: 28, 21, 33;
  --bs-border-color: var(--pn-w2-dark-border);
  --bs-primary: var(--pn-w2-dark-primary);
  --bs-primary-rgb: var(--pn-w2-dark-primary-rgb);
  --bs-primary-bg-subtle: rgba(var(--pn-w2-dark-primary-rgb), .18);
  --bs-primary-border-subtle: rgba(var(--pn-w2-dark-primary-rgb), .34);
  --bs-link-color: var(--pn-w2-dark-primary-hover);
  --bs-link-hover-color: #e9d5ff;
  --vq-bg: var(--pn-w2-dark-bg);
  --vq-bg-2: var(--pn-w2-dark-surface);
  --vq-surface: var(--pn-w2-dark-surface);
  --vq-surface-2: var(--pn-w2-dark-surface-soft);
  --vq-surface-solid: var(--pn-w2-dark-surface);
  --vq-surface-elev: var(--pn-w2-dark-surface-soft);
  --vq-text: var(--pn-w2-dark-text);
  --vq-muted: var(--pn-w2-dark-muted);
  --vq-border: var(--pn-w2-dark-border);
  --vq-primary: var(--pn-w2-dark-primary);
  --vq-primary-2: var(--pn-w2-dark-accent);
  background-color: var(--pn-w2-dark-bg) !important;
}

html[data-bs-theme="light"] body.vq-body,
html[data-theme="light"] body.vq-body {
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(var(--pn-w2-light-primary-rgb), .13), transparent 58%),
    radial-gradient(760px 460px at 92% 4%, rgba(var(--pn-w2-light-accent-rgb), .09), transparent 52%),
    linear-gradient(180deg, #fbfaff 0%, var(--pn-w2-light-bg) 46%, #f6f2fb 100%) !important;
  background-attachment: fixed;
  color: var(--pn-w2-light-text) !important;
}

html[data-bs-theme="dark"] body.vq-body,
html[data-theme="dark"] body.vq-body {
  background:
    radial-gradient(980px 560px at 12% -10%, rgba(var(--pn-w2-dark-primary-rgb), .18), transparent 58%),
    radial-gradient(820px 500px at 92% 2%, rgba(var(--pn-w2-dark-accent-rgb), .16), transparent 52%),
    linear-gradient(180deg, #080708 0%, #0e0b10 52%, #070607 100%) !important;
  background-attachment: fixed;
  color: var(--pn-w2-dark-text) !important;
}

html[data-bs-theme="light"] .vq-nav,
html[data-theme="light"] .vq-nav,
html[data-bs-theme="light"] .vq-app-topbar,
html[data-theme="light"] .vq-app-topbar,
html[data-bs-theme="light"] .navbar.vq-nav,
html[data-theme="light"] .navbar.vq-nav,
html[data-bs-theme="light"] footer,
html[data-theme="light"] footer {
  background: rgba(255, 255, 255, .82) !important;
  border-color: var(--pn-w2-light-border) !important;
  box-shadow: 0 .4rem 1.2rem rgba(47, 36, 61, .06);
  backdrop-filter: blur(16px);
}

html[data-bs-theme="dark"] .vq-nav,
html[data-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .vq-app-topbar,
html[data-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer,
html[data-theme="dark"] footer {
  background: rgba(13, 10, 15, .86) !important;
  border-color: rgba(230, 198, 255, .10) !important;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, .32);
  backdrop-filter: blur(16px);
}

html[data-bs-theme="light"] .vq-sidebar,
html[data-theme="light"] .vq-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%) !important;
  border-right: 1px solid var(--pn-w2-light-border);
  box-shadow: inset -1px 0 0 rgba(93, 64, 116, .06);
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-theme="dark"] .vq-sidebar {
  background: linear-gradient(180deg, #100c12 0%, #0b090d 100%) !important;
  border-right: 1px solid rgba(230, 198, 255, .09);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .03);
}

html[data-bs-theme="light"] .vq-glass,
html[data-theme="light"] .vq-glass,
html[data-bs-theme="light"] .vq-card,
html[data-theme="light"] .vq-card,
html[data-bs-theme="light"] .card,
html[data-theme="light"] .card,
html[data-bs-theme="light"] .modal-content,
html[data-theme="light"] .modal-content,
html[data-bs-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-menu,
html[data-bs-theme="light"] .offcanvas,
html[data-theme="light"] .offcanvas,
html[data-bs-theme="light"] .list-group-item,
html[data-theme="light"] .list-group-item,
html[data-bs-theme="light"] .bg-body,
html[data-theme="light"] .bg-body,
html[data-bs-theme="light"] .bg-body-tertiary,
html[data-theme="light"] .bg-body-tertiary {
  background: var(--pn-w2-light-surface) !important;
  border-color: var(--pn-w2-light-border) !important;
  color: var(--pn-w2-light-text) !important;
  box-shadow: var(--pn-w2-light-shadow-sm);
}

html[data-bs-theme="dark"] .vq-glass,
html[data-theme="dark"] .vq-glass,
html[data-bs-theme="dark"] .vq-card,
html[data-theme="dark"] .vq-card,
html[data-bs-theme="dark"] .card,
html[data-theme="dark"] .card,
html[data-bs-theme="dark"] .modal-content,
html[data-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .offcanvas,
html[data-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .list-group-item,
html[data-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .bg-body,
html[data-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-theme="dark"] .bg-body-tertiary,
html[data-bs-theme="dark"] .bg-dark,
html[data-theme="dark"] .bg-dark {
  background: linear-gradient(180deg, rgba(28, 21, 33, .96), rgba(17, 13, 20, .98)) !important;
  border-color: rgba(230, 198, 255, .10) !important;
  color: var(--pn-w2-dark-text) !important;
  box-shadow: var(--pn-w2-dark-shadow);
}

html[data-bs-theme="light"] .btn-primary,
html[data-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn.btn-primary {
  background: linear-gradient(135deg, var(--pn-w2-light-primary) 0%, var(--pn-w2-light-accent) 100%) !important;
  border-color: rgba(var(--pn-w2-light-primary-rgb), .18) !important;
  color: #fff !important;
  box-shadow: 0 .55rem 1.25rem rgba(var(--pn-w2-light-primary-rgb), .25);
}

html[data-bs-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:hover,
html[data-bs-theme="light"] .btn.btn-primary:hover,
html[data-theme="light"] .btn.btn-primary:hover,
html[data-bs-theme="light"] .btn-primary:focus,
html[data-theme="light"] .btn-primary:focus,
html[data-bs-theme="light"] .btn.btn-primary:focus,
html[data-theme="light"] .btn.btn-primary:focus {
  background: linear-gradient(135deg, var(--pn-w2-light-primary-hover) 0%, #a21caf 100%) !important;
  color: #fff !important;
  box-shadow: 0 .75rem 1.5rem rgba(var(--pn-w2-light-primary-rgb), .30);
}

html[data-bs-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn.btn-primary,
html[data-theme="dark"] .btn.btn-primary {
  background: linear-gradient(135deg, var(--pn-w2-dark-primary) 0%, var(--pn-w2-dark-accent) 100%) !important;
  border-color: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  box-shadow: 0 .8rem 1.8rem rgba(var(--pn-w2-dark-primary-rgb), .24), inset 0 1px 0 rgba(255, 255, 255, .12);
}

html[data-bs-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:hover,
html[data-bs-theme="dark"] .btn.btn-primary:hover,
html[data-theme="dark"] .btn.btn-primary:hover,
html[data-bs-theme="dark"] .btn-primary:focus,
html[data-theme="dark"] .btn-primary:focus,
html[data-bs-theme="dark"] .btn.btn-primary:focus,
html[data-theme="dark"] .btn.btn-primary:focus {
  background: linear-gradient(135deg, var(--pn-w2-dark-primary-hover) 0%, #d946ef 100%) !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-outline-secondary,
html[data-theme="light"] .btn-outline-secondary,
html[data-bs-theme="light"] .btn-light,
html[data-theme="light"] .btn-light {
  color: var(--pn-w2-light-primary) !important;
  border-color: rgba(var(--pn-w2-light-primary-rgb), .24) !important;
  background: rgba(var(--pn-w2-light-primary-rgb), .06) !important;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-secondary:hover,
html[data-theme="light"] .btn-outline-secondary:hover,
html[data-bs-theme="light"] .btn-light:hover,
html[data-theme="light"] .btn-light:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pn-w2-light-primary), var(--pn-w2-light-accent)) !important;
  border-color: transparent !important;
}

html[data-bs-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-primary,
html[data-bs-theme="dark"] .btn-outline-secondary,
html[data-theme="dark"] .btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-light,
html[data-theme="dark"] .btn-outline-light {
  color: #eadcff !important;
  border-color: rgba(var(--pn-w2-dark-primary-rgb), .30) !important;
  background: rgba(var(--pn-w2-dark-primary-rgb), .08) !important;
}

html[data-bs-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .btn-outline-primary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:hover,
html[data-theme="dark"] .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-light:hover,
html[data-theme="dark"] .btn-outline-light:hover {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(var(--pn-w2-dark-primary-rgb), .30), rgba(var(--pn-w2-dark-accent-rgb), .22)) !important;
  border-color: rgba(var(--pn-w2-dark-primary-rgb), .46) !important;
}

html[data-bs-theme="light"] .form-control,
html[data-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-theme="light"] .form-select,
html[data-bs-theme="light"] textarea,
html[data-theme="light"] textarea,
html[data-bs-theme="light"] .input-group-text,
html[data-theme="light"] .input-group-text {
  background-color: #fff !important;
  border-color: var(--pn-w2-light-border) !important;
  color: var(--pn-w2-light-text) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html[data-theme="dark"] textarea,
html[data-bs-theme="dark"] .input-group-text,
html[data-theme="dark"] .input-group-text {
  background-color: rgba(255, 255, 255, .04) !important;
  border-color: rgba(230, 198, 255, .12) !important;
  color: var(--pn-w2-dark-text) !important;
  box-shadow: none !important;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus,
html[data-theme="light"] .form-select:focus,
html[data-bs-theme="light"] textarea:focus,
html[data-theme="light"] textarea:focus,
html[data-bs-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-theme="dark"] textarea:focus {
  border-color: rgba(var(--bs-primary-rgb), .48) !important;
  box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .14) !important;
}

html[data-bs-theme="light"] .form-check-input:checked,
html[data-theme="light"] .form-check-input:checked,
html[data-bs-theme="dark"] .form-check-input:checked,
html[data-theme="dark"] .form-check-input:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link,
html[data-theme="light"] .vq-navgroup .vq-side-link,
html[data-bs-theme="light"] .nav-link,
html[data-theme="light"] .nav-link,
html[data-bs-theme="light"] .navbar-brand,
html[data-theme="light"] .navbar-brand,
html[data-bs-theme="light"] .dropdown-item,
html[data-theme="light"] .dropdown-item {
  color: var(--pn-w2-light-muted) !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-theme="light"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-theme="light"] .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link:hover,
html[data-bs-theme="light"] .nav-link:focus,
html[data-theme="light"] .nav-link:focus,
html[data-bs-theme="light"] .navbar-brand:hover,
html[data-theme="light"] .navbar-brand:hover,
html[data-bs-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .dropdown-item:hover,
html[data-bs-theme="light"] .dropdown-item:focus,
html[data-theme="light"] .dropdown-item:focus {
  color: var(--pn-w2-light-text) !important;
  background: rgba(var(--pn-w2-light-primary-rgb), .07) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link,
html[data-theme="dark"] .vq-navgroup .vq-side-link,
html[data-bs-theme="dark"] .nav-link,
html[data-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .navbar-brand,
html[data-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .dropdown-item,
html[data-theme="dark"] .dropdown-item {
  color: var(--pn-w2-dark-muted) !important;
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-theme="dark"] .vq-navgroup .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-navgroup .vq-side-link:focus,
html[data-theme="dark"] .vq-navgroup .vq-side-link:focus,
html[data-bs-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link:hover,
html[data-bs-theme="dark"] .nav-link:focus,
html[data-theme="dark"] .nav-link:focus,
html[data-bs-theme="dark"] .navbar-brand:hover,
html[data-theme="dark"] .navbar-brand:hover,
html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus,
html[data-theme="dark"] .dropdown-item:focus {
  color: #fff !important;
  background: rgba(var(--pn-w2-dark-primary-rgb), .10) !important;
}

html[data-bs-theme="light"] .vq-navgroup .vq-side-link.active,
html[data-theme="light"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="light"] .nav-pills .nav-link.active,
html[data-theme="light"] .nav-pills .nav-link.active,
html[data-bs-theme="light"] .list-group-item.active,
html[data-theme="light"] .list-group-item.active {
  background: linear-gradient(135deg, rgba(var(--pn-w2-light-primary-rgb), .14), rgba(var(--pn-w2-light-accent-rgb), .08)) !important;
  border-color: rgba(var(--pn-w2-light-primary-rgb), .24) !important;
  color: var(--pn-w2-light-primary) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 .35rem 1rem rgba(var(--pn-w2-light-primary-rgb), .11);
}

html[data-bs-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-theme="dark"] .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .nav-pills .nav-link.active,
html[data-theme="dark"] .nav-pills .nav-link.active,
html[data-bs-theme="dark"] .list-group-item.active,
html[data-theme="dark"] .list-group-item.active {
  background: linear-gradient(135deg, rgba(var(--pn-w2-dark-primary-rgb), .24), rgba(var(--pn-w2-dark-accent-rgb), .16)) !important;
  border-color: rgba(var(--pn-w2-dark-primary-rgb), .32) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 .55rem 1.25rem rgba(0, 0, 0, .22);
}

html[data-bs-theme="light"] .dropdown-menu-dark,
html[data-theme="light"] .dropdown-menu-dark {
  --bs-dropdown-color: var(--pn-w2-light-muted);
  --bs-dropdown-bg: #ffffff;
  --bs-dropdown-border-color: var(--pn-w2-light-border);
  --bs-dropdown-link-color: var(--pn-w2-light-muted);
  --bs-dropdown-link-hover-color: var(--pn-w2-light-text);
  --bs-dropdown-link-hover-bg: rgba(var(--pn-w2-light-primary-rgb), .07);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: var(--pn-w2-light-primary);
  background-color: #ffffff !important;
  color: var(--pn-w2-light-text) !important;
}

html[data-bs-theme="dark"] .dropdown-menu-dark,
html[data-theme="dark"] .dropdown-menu-dark {
  --bs-dropdown-color: var(--pn-w2-dark-muted);
  --bs-dropdown-bg: var(--pn-w2-dark-surface-soft);
  --bs-dropdown-border-color: rgba(230, 198, 255, .12);
  --bs-dropdown-link-color: var(--pn-w2-dark-muted);
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-hover-bg: rgba(var(--pn-w2-dark-primary-rgb), .10);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: var(--pn-w2-dark-primary);
}

html[data-bs-theme="light"] .table,
html[data-theme="light"] .table,
html[data-bs-theme="light"] .table > :not(caption) > * > *,
html[data-theme="light"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: var(--pn-w2-light-text);
  --bs-table-border-color: var(--pn-w2-light-border);
}

html[data-bs-theme="dark"] .table,
html[data-theme="dark"] .table,
html[data-bs-theme="dark"] .table > :not(caption) > * > *,
html[data-theme="dark"] .table > :not(caption) > * > * {
  --bs-table-bg: transparent;
  --bs-table-color: var(--pn-w2-dark-text);
  --bs-table-border-color: rgba(230, 198, 255, .10);
}

html[data-bs-theme="light"] .badge,
html[data-theme="light"] .badge,
html[data-bs-theme="light"] .vq-pill,
html[data-theme="light"] .vq-pill,
html[data-bs-theme="light"] .vq-pill-sm,
html[data-theme="light"] .vq-pill-sm,
html[data-bs-theme="light"] .vq-badge-soft,
html[data-theme="light"] .vq-badge-soft,
html[data-bs-theme="light"] .vq-icon,
html[data-theme="light"] .vq-icon,
html[data-bs-theme="light"] .input-group-text,
html[data-theme="light"] .input-group-text {
  background: rgba(var(--pn-w2-light-primary-rgb), .07) !important;
  border-color: rgba(var(--pn-w2-light-primary-rgb), .12) !important;
  color: var(--pn-w2-light-primary) !important;
}

html[data-bs-theme="dark"] .badge,
html[data-theme="dark"] .badge,
html[data-bs-theme="dark"] .vq-pill,
html[data-theme="dark"] .vq-pill,
html[data-bs-theme="dark"] .vq-pill-sm,
html[data-theme="dark"] .vq-pill-sm,
html[data-bs-theme="dark"] .vq-badge-soft,
html[data-theme="dark"] .vq-badge-soft,
html[data-bs-theme="dark"] .vq-icon,
html[data-theme="dark"] .vq-icon,
html[data-bs-theme="dark"] .input-group-text,
html[data-theme="dark"] .input-group-text {
  background: rgba(var(--pn-w2-dark-primary-rgb), .12) !important;
  border-color: rgba(var(--pn-w2-dark-primary-rgb), .18) !important;
  color: #f0ddff !important;
}

html[data-bs-theme="light"] .text-bg-primary,
html[data-theme="light"] .text-bg-primary,
html[data-bs-theme="dark"] .text-bg-primary,
html[data-theme="dark"] .text-bg-primary {
  background: linear-gradient(135deg, var(--bs-primary), var(--vq-primary-2)) !important;
  color: #fff !important;
}

html[data-bs-theme="light"] .text-bg-secondary,
html[data-theme="light"] .text-bg-secondary,
html[data-bs-theme="light"] .text-bg-light,
html[data-theme="light"] .text-bg-light {
  background: rgba(var(--pn-w2-light-primary-rgb), .07) !important;
  border: 1px solid rgba(var(--pn-w2-light-primary-rgb), .12) !important;
  color: var(--pn-w2-light-text) !important;
}

html[data-bs-theme="dark"] .text-bg-secondary,
html[data-theme="dark"] .text-bg-secondary,
html[data-bs-theme="dark"] .text-bg-light,
html[data-theme="dark"] .text-bg-light {
  background: rgba(var(--pn-w2-dark-primary-rgb), .12) !important;
  border: 1px solid rgba(var(--pn-w2-dark-primary-rgb), .18) !important;
  color: var(--pn-w2-dark-text) !important;
}

html[data-bs-theme="light"] .alert,
html[data-theme="light"] .alert {
  border-color: var(--pn-w2-light-border) !important;
  box-shadow: var(--pn-w2-light-shadow-sm);
}

html[data-bs-theme="dark"] .alert,
html[data-theme="dark"] .alert {
  border-color: rgba(230, 198, 255, .10) !important;
  background-color: rgba(255, 255, 255, .04) !important;
  color: var(--pn-w2-dark-text) !important;
}

html[data-bs-theme="light"] .pv-hero,
html[data-theme="light"] .pv-hero,
html[data-bs-theme="light"] .pv-featured-panel,
html[data-theme="light"] .pv-featured-panel,
html[data-bs-theme="light"] .pv-cap-card,
html[data-theme="light"] .pv-cap-card,
html[data-bs-theme="light"] .pv-enterprise,
html[data-theme="light"] .pv-enterprise,
html[data-bs-theme="light"] .pv-stat-card,
html[data-theme="light"] .pv-stat-card,
html[data-bs-theme="light"] .pv-story-card,
html[data-theme="light"] .pv-story-card,
html[data-bs-theme="light"] .pv-stage,
html[data-theme="light"] .pv-stage,
html[data-bs-theme="light"] .pv-release-card,
html[data-theme="light"] .pv-release-card,
html[data-bs-theme="light"] .pv-mini-stat,
html[data-theme="light"] .pv-mini-stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 247, 255, .98)) !important;
  border-color: var(--pn-w2-light-border) !important;
  box-shadow: var(--pn-w2-light-shadow-sm) !important;
}

html[data-bs-theme="dark"] .pv-hero,
html[data-theme="dark"] .pv-hero,
html[data-bs-theme="dark"] .pv-featured-panel,
html[data-theme="dark"] .pv-featured-panel,
html[data-bs-theme="dark"] .pv-cap-card,
html[data-theme="dark"] .pv-cap-card,
html[data-bs-theme="dark"] .pv-enterprise,
html[data-theme="dark"] .pv-enterprise,
html[data-bs-theme="dark"] .pv-stat-card,
html[data-theme="dark"] .pv-stat-card,
html[data-bs-theme="dark"] .pv-story-card,
html[data-theme="dark"] .pv-story-card,
html[data-bs-theme="dark"] .pv-stage,
html[data-theme="dark"] .pv-stage,
html[data-bs-theme="dark"] .pv-release-card,
html[data-theme="dark"] .pv-release-card,
html[data-bs-theme="dark"] .pv-mini-stat,
html[data-theme="dark"] .pv-mini-stat {
  background: linear-gradient(180deg, rgba(28, 21, 33, .90), rgba(12, 9, 14, .98)) !important;
  border-color: rgba(230, 198, 255, .10) !important;
  box-shadow: var(--pn-w2-dark-shadow) !important;
}

html[data-bs-theme="light"] ::-webkit-scrollbar,
html[data-theme="light"] ::-webkit-scrollbar,
html[data-bs-theme="dark"] ::-webkit-scrollbar,
html[data-theme="dark"] ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-bs-theme="light"] ::-webkit-scrollbar-track,
html[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(93, 64, 116, .04);
}

html[data-bs-theme="light"] ::-webkit-scrollbar-thumb,
html[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(var(--pn-w2-light-primary-rgb), .38), rgba(var(--pn-w2-light-accent-rgb), .28));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track,
html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .03);
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb,
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(var(--pn-w2-dark-primary-rgb), .45), rgba(var(--pn-w2-dark-accent-rgb), .34));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* -----------------------------------------------------------------------------
   Step 118: Website2 exact dark background correction
   Website2 dark mode uses a flat near-black canvas. The previous Step 117 block
   added decorative radial gradients, which made AstruSocial look slightly different.
   This final override restores the dark-mode background to the Website2-style
   solid canvas everywhere the app shell can show through.
----------------------------------------------------------------------------- */
:root {
  --pn-w2-dark-bg: #080808;
  --pn-w2-dark-bg-rgb: 8, 8, 8;
  --pn-w2-dark-surface: #0f0f10;
  --pn-w2-dark-surface-rgb: 15, 15, 16;
  --pn-w2-dark-surface-soft: #141416;
  --pn-w2-dark-surface-soft-rgb: 20, 20, 22;
}

html[data-bs-theme="dark"],
html[data-theme="dark"] {
  color-scheme: dark;
  --bs-body-bg: var(--pn-w2-dark-bg) !important;
  --bs-body-bg-rgb: var(--pn-w2-dark-bg-rgb) !important;
  --bs-tertiary-bg: var(--pn-w2-dark-surface) !important;
  --bs-tertiary-bg-rgb: var(--pn-w2-dark-surface-rgb) !important;
  --bs-secondary-bg: var(--pn-w2-dark-surface-soft) !important;
  --bs-secondary-bg-rgb: var(--pn-w2-dark-surface-soft-rgb) !important;
  --vq-bg: var(--pn-w2-dark-bg) !important;
  --vq-bg-2: var(--pn-w2-dark-bg) !important;
  --vq-surface: var(--pn-w2-dark-surface) !important;
  --vq-surface-2: var(--pn-w2-dark-surface-soft) !important;
  --vq-surface-solid: var(--pn-w2-dark-surface) !important;
  --vq-surface-elev: var(--pn-w2-dark-surface-soft) !important;
  background: var(--pn-w2-dark-bg) !important;
  background-color: var(--pn-w2-dark-bg) !important;
}

html[data-bs-theme="dark"] body,
html[data-theme="dark"] body,
html[data-bs-theme="dark"] body.vq-body,
html[data-theme="dark"] body.vq-body,
html[data-bs-theme="dark"] .vq-app-shell,
html[data-theme="dark"] .vq-app-shell,
html[data-bs-theme="dark"] .vq-main,
html[data-theme="dark"] .vq-main,
html[data-bs-theme="dark"] .vq-app-content,
html[data-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] main,
html[data-theme="dark"] main,
html[data-bs-theme="dark"] .min-vh-100,
html[data-theme="dark"] .min-vh-100,
html[data-bs-theme="dark"] .container-fluid,
html[data-theme="dark"] .container-fluid,
html[data-bs-theme="dark"] .container,
html[data-theme="dark"] .container {
  background: var(--pn-w2-dark-bg) !important;
  background-color: var(--pn-w2-dark-bg) !important;
}

html[data-bs-theme="dark"] .bg-body,
html[data-theme="dark"] .bg-body {
  background: var(--pn-w2-dark-bg) !important;
  background-color: var(--pn-w2-dark-bg) !important;
}

html[data-bs-theme="dark"] .bg-body-tertiary,
html[data-theme="dark"] .bg-body-tertiary {
  background: var(--pn-w2-dark-surface) !important;
  background-color: var(--pn-w2-dark-surface) !important;
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-theme="dark"] .vq-sidebar,
html[data-bs-theme="dark"] .vq-nav,
html[data-theme="dark"] .vq-nav,
html[data-bs-theme="dark"] .vq-app-topbar,
html[data-theme="dark"] .vq-app-topbar,
html[data-bs-theme="dark"] .navbar.vq-nav,
html[data-theme="dark"] .navbar.vq-nav,
html[data-bs-theme="dark"] footer,
html[data-theme="dark"] footer {
  background: var(--pn-w2-dark-surface) !important;
  background-color: var(--pn-w2-dark-surface) !important;
}

/* -----------------------------------------------------------------------------
   Step 120: Dark-mode sidebar accent + scrollbar correction
   Keep the logged-in sidebar aligned with the Website2/AstruSocial dark theme:
   active navigation uses the same purple/maroon-pink gradient as primary buttons,
   and scrollbars no longer use blue/cyan accent colors.
----------------------------------------------------------------------------- */
html[data-bs-theme="dark"],
html[data-theme="dark"] {
  scrollbar-color: rgba(var(--pn-w2-dark-accent-rgb), .58) var(--pn-w2-dark-bg);
}

html[data-bs-theme="dark"] .vq-sidebar,
html[data-theme="dark"] .vq-sidebar,
html[data-bs-theme="dark"] .vq-app-content,
html[data-theme="dark"] .vq-app-content,
html[data-bs-theme="dark"] body,
html[data-theme="dark"] body {
  scrollbar-color: rgba(var(--pn-w2-dark-accent-rgb), .58) var(--pn-w2-dark-bg);
}

html[data-bs-theme="dark"] .vq-sidebar .vq-side-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus,
html[data-theme="dark"] .vq-sidebar .vq-side-link:hover,
html[data-theme="dark"] .vq-sidebar .vq-side-link:focus,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:hover,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link:focus,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:hover,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle:focus {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(var(--pn-w2-dark-primary-rgb), .18), rgba(var(--pn-w2-dark-accent-rgb), .13)) !important;
  border-color: rgba(var(--pn-w2-dark-accent-rgb), .30) !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.active,
html[data-bs-theme="dark"] .vq-sidebar .nav-link.active,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item.active,
html[data-bs-theme="dark"] .vq-sidebar .list-group-item.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"],
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active,
html[data-theme="dark"] .vq-sidebar .vq-side-link.active,
html[data-theme="dark"] .vq-sidebar .nav-link.active,
html[data-theme="dark"] .vq-sidebar .dropdown-item.active,
html[data-theme="dark"] .vq-sidebar .list-group-item.active,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"] {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pn-w2-dark-primary) 0%, var(--pn-w2-dark-accent) 100%) !important;
  background-color: var(--pn-w2-dark-accent) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: 0 .65rem 1.5rem rgba(var(--pn-w2-dark-accent-rgb), .24), inset 0 1px 0 rgba(255,255,255,.12) !important;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-side-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .nav-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .dropdown-item.active i,
html[data-bs-theme="dark"] .vq-sidebar .list-group-item.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i,
html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"] i,
html[data-theme="dark"] .vq-sidebar .vq-navgroup .vq-side-link.active i,
html[data-theme="dark"] .vq-sidebar .vq-side-link.active i,
html[data-theme="dark"] .vq-sidebar .nav-link.active i,
html[data-theme="dark"] .vq-sidebar .dropdown-item.active i,
html[data-theme="dark"] .vq-sidebar .list-group-item.active i,
html[data-theme="dark"] .vq-sidebar .vq-sidebar-mini-link.active i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.active i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle.vq-nav-accordion-open i,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-toggle[aria-expanded="true"] i {
  color: #fff !important;
}

html[data-bs-theme="dark"] .vq-sidebar .sd-mode-card,
html[data-theme="dark"] .vq-sidebar .sd-mode-card,
html[data-bs-theme="dark"] .vq-sidebar .vq-guided-sidebar-note,
html[data-theme="dark"] .vq-sidebar .vq-guided-sidebar-note {
  background: linear-gradient(135deg, rgba(var(--pn-w2-dark-primary-rgb), .10), rgba(var(--pn-w2-dark-accent-rgb), .08)) !important;
  border-color: rgba(var(--pn-w2-dark-accent-rgb), .20) !important;
}

html[data-bs-theme="dark"] .vq-sidebar [data-sd-mode-set][aria-pressed="true"],
html[data-bs-theme="dark"][data-sd-mode="guided"] .vq-sidebar [data-sd-mode-set="guided"],
html[data-bs-theme="dark"][data-sd-mode="expert"] .vq-sidebar [data-sd-mode-set="expert"],
html[data-theme="dark"] .vq-sidebar [data-sd-mode-set][aria-pressed="true"],
html[data-theme="dark"][data-sd-mode="guided"] .vq-sidebar [data-sd-mode-set="guided"],
html[data-theme="dark"][data-sd-mode="expert"] .vq-sidebar [data-sd-mode-set="expert"] {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pn-w2-dark-primary), var(--pn-w2-dark-accent)) !important;
  border-color: rgba(255,255,255,.10) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track,
html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--pn-w2-dark-bg) !important;
}

html[data-bs-theme="dark"] .vq-sidebar::-webkit-scrollbar-track,
html[data-theme="dark"] .vq-sidebar::-webkit-scrollbar-track,
html[data-bs-theme="dark"] .vq-app-content::-webkit-scrollbar-track,
html[data-theme="dark"] .vq-app-content::-webkit-scrollbar-track {
  background: var(--pn-w2-dark-surface) !important;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb,
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(var(--pn-w2-dark-primary-rgb), .42), rgba(var(--pn-w2-dark-accent-rgb), .48)) !important;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(var(--pn-w2-dark-primary-rgb), .58), rgba(var(--pn-w2-dark-accent-rgb), .66)) !important;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}


/* -----------------------------------------------------------------------------
   AstruSocial sidebar: use small circular bullets for second-level links
   Keep first-level accordion category icons unchanged.
----------------------------------------------------------------------------- */
.vq-nav-accordion-panel .vq-side-link-main > .vq-sidebar-dot {
  display: inline-block;
  width: .42rem;
  height: .42rem;
  min-width: .42rem;
  border-radius: 999px;
  background: currentColor;
  opacity: .55;
  flex: 0 0 .42rem;
  margin-inline: .22rem .02rem;
}

.vq-nav-accordion-panel .vq-side-link-main:hover > .vq-sidebar-dot,
.vq-nav-accordion-panel .vq-side-link-main:focus > .vq-sidebar-dot,
.vq-nav-accordion-panel .vq-side-link-main.active > .vq-sidebar-dot {
  opacity: 1;
}

html[data-bs-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .vq-side-link-main.active > .vq-sidebar-dot,
html[data-theme="dark"] .vq-sidebar .vq-nav-accordion-panel .vq-side-link-main.active > .vq-sidebar-dot {
  background: #fff;
}
