/* ===== Glass / liquid-glass finish for the new tabs and the selected-tab icon (loaded last) ===== */

/* ---------- Sidebar: selected tab = liquid-glass pill with a clearly visible icon ---------- */
#nav-pill { display: none !important; }      /* the sliding highlight sat under the grouped buttons and washed out the icon */
html body .glass-sidebar .nav-btn:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) { position: relative; overflow: hidden; transition: background .25s, box-shadow .25s, transform .25s; }
html body .glass-sidebar .nav-btn:not(.bg-indigo-600\/15):not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10):hover {
  background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.08)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 16px -10px rgba(99,102,241,.55) !important;
   
}
html body .glass-sidebar .nav-btn.bg-indigo-600\/15:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) {
  background-color: transparent !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, #5b4df5 0%, #7c5cff 55%, #a78bfa 100%) !important;
  color: #fff !important; border-radius: 18px !important;
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.7), inset 0 -6px 12px rgba(67,56,202,.35), inset 0 0 0 1px rgba(255,255,255,.22), 0 12px 24px -10px rgba(99,102,241,.85) !important;
   
}
/* the glossy highlight that makes it look like liquid glass */
html body .glass-sidebar .nav-btn.bg-indigo-600\/15:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10)::after {
  content: ""; position: absolute; inset: 1px 10% auto 10%; height: 42%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
}
/* icon + text always visible on the selected tab */
html body .glass-sidebar .nav-btn.bg-indigo-600\/15:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) svg, html body .glass-sidebar .nav-btn.bg-indigo-600\/15:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) i,
html body .glass-sidebar .nav-btn.bg-indigo-600\/15:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) svg * {
  color: #fff !important; stroke: #fff !important; opacity: 1 !important; visibility: visible !important; filter: drop-shadow(0 1px 2px rgba(30,27,75,.45));
}
html body .glass-sidebar .nav-btn.bg-indigo-600\/15:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) span { color: #fff !important; text-shadow: 0 1px 2px rgba(30,27,75,.35); position: relative; z-index: 1; }
html body .glass-sidebar .nav-btn svg:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) { position: relative; z-index: 1; }

/* ---------- Sub-tabs (Sessions / Community) ---------- */
.group-tabs {
  align-items: center; gap: 6px !important; margin: 14px 32px 0 !important; padding: 6px !important; width: fit-content; max-width: calc(100% - 64px);
  border-radius: 999px; border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.14));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(255,255,255,.15), 0 14px 34px -18px rgba(76,63,200,.55);
   
}
html:not(.light-theme) .group-tabs { border-color: rgba(255,255,255,.14); background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
html body .group-tabs button:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) {
  position: relative; overflow: hidden; border: 1px solid transparent; background: transparent; box-shadow: none;
  color: #3b3f6b; font-weight: 700; transition: background .25s, box-shadow .25s, transform .25s, color .25s;
}
html:not(.light-theme) body .group-tabs button:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) { color: #c7d2fe; }
html body .group-tabs button:not(.active):not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10):hover {
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.18)); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 18px -12px rgba(99,102,241,.6);
}
html body .group-tabs button.active:not(#g1):not(#g2):not(#g3):not(#g4):not(#g5):not(#g6):not(#g7):not(#g8):not(#g9):not(#g10) {
  color: #fff !important; border-color: rgba(255,255,255,.35);
  background-image: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0) 52%), linear-gradient(135deg, #5b4df5, #7c5cff 55%, #a78bfa) !important;
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.7), inset 0 -6px 12px rgba(67,56,202,.35), 0 12px 24px -10px rgba(99,102,241,.85) !important;
}
html body .group-tabs button.active span, html body .group-tabs button.active svg, html body .group-tabs button.active svg * {
  color: #fff !important; stroke: #fff !important; opacity: 1 !important; text-shadow: 0 1px 2px rgba(30,27,75,.35);
}
html body .group-tabs button svg { width: 18px; height: 18px; }
@media (max-width: 767px) { .group-tabs { margin: 10px 12px 0 !important; width: auto; max-width: none; border-radius: 22px; } }

/* ---------- Glass finish on common controls ---------- */
.glass-card, .glass-panel {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 18px 40px -24px rgba(76,63,200,.45) !important;
   
}
.view-panel input[type="text"]:not(#video-theater *), .view-panel input[type="search"]:not(#video-theater *), .view-panel input[type="password"]:not(#video-theater *), .view-panel select:not(#video-theater *), .view-panel textarea:not(#video-theater *) {
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 2px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.5);
}
.view-panel button.bg-indigo-600:not(#video-theater *), .view-panel button[class*="bg-indigo-6"]:not(.nav-btn):not(#video-theater *) {
  background-image: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 55%), linear-gradient(135deg, #5b4df5, #7c5cff 60%, #a78bfa) !important;
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.65), inset 0 -5px 10px rgba(67,56,202,.3), 0 10px 22px -10px rgba(99,102,241,.8) !important;
  border: 1px solid rgba(255,255,255,.3) !important; color: #fff !important;
}