/* ========================================
   SANALISCI — HOMEPAGE THEMES v2
======================================== */

/* ============ THEME VARIABLES ============ */
[data-home-theme="1"] {
  --bg:#f4f5f7; --surface:#fff; --surface2:#eef0f3;
  --border:#dde0e6; --accent:#1a9e5f; --accent2:#157a4a;
  --accent-soft:#e6f7f0; --accent-text:#1a9e5f;
  --text:#1a1a2e; --text2:#4a4a6a; --text3:#9090a8;
  --hero-bg:linear-gradient(135deg,#f0f4ff 0%,#e8f5ee 100%); --hero-text:#1a1a2e; --hero-sub:#4a4a6a;
  --hero-tag-bg:rgba(26,158,95,.1); --hero-tag:#157a4a; --hero-tag-border:rgba(26,158,95,.25);
  --shadow:0 2px 10px rgba(0,0,0,.06); --shadow-hover:0 6px 24px rgba(0,0,0,.11);
  --cat-bar:#fff; --cat-bar-border:#dde0e6; --cat-text:#3a3a5a; --cat-hover:#1a9e5f;
  --stat-bg:#1a2e22; --stat-text:#d0f0e0; --tag-bg:#eef0f3; --tag-text:#4a4a6a;
  --card-bg:#fff; --card-border:#dde0e6;
}
[data-home-theme="2"] {
  --bg:#0e0e1c; --surface:#16162a; --surface2:#1c1c32;
  --border:#28284a; --accent:#6c5ce7; --accent2:#5a4bd1;
  --accent-soft:rgba(108,92,231,.13); --accent-text:#9b8fff;
  --text:#e0e0f8; --text2:#8080a8; --text3:#5050a0;
  --hero-bg:linear-gradient(135deg,#0e0e1c 0%,#16103a 100%); --hero-text:#f0f0ff; --hero-sub:#8080a8;
  --hero-tag-bg:rgba(108,92,231,.15); --hero-tag:#9b8fff; --hero-tag-border:rgba(108,92,231,.3);
  --shadow:0 2px 14px rgba(0,0,0,.35); --shadow-hover:0 8px 28px rgba(108,92,231,.2);
  --cat-bar:#0e0e1c; --cat-bar-border:#28284a; --cat-text:#8080a8; --cat-hover:#9b8fff;
  --stat-bg:#16162a; --stat-text:#9b8fff; --tag-bg:#1c1c32; --tag-text:#8080a8;
  --card-bg:#16162a; --card-border:#28284a;
}
[data-home-theme="3"] {
  --bg:#f8f6ff; --surface:#fff; --surface2:#ede8ff;
  --border:#d8d0f0; --accent:#6929c4; --accent2:#5422a0;
  --accent-soft:#ede8ff; --accent-text:#6929c4;
  --text:#1c1040; --text2:#4a3880; --text3:#8060c0;
  --hero-bg:linear-gradient(135deg,#6929c4 0%,#b03080 100%); --hero-text:#fff; --hero-sub:rgba(255,255,255,.8);
  --hero-tag-bg:rgba(255,255,255,.18); --hero-tag:#fff; --hero-tag-border:rgba(255,255,255,.35);
  --shadow:0 2px 10px rgba(105,41,196,.07); --shadow-hover:0 6px 24px rgba(105,41,196,.16);
  --cat-bar:#fff; --cat-bar-border:#d8d0f0; --cat-text:#3a1880; --cat-hover:#6929c4;
  --stat-bg:#1c1040; --stat-text:#d0b8ff; --tag-bg:#ede8ff; --tag-text:#6929c4;
  --card-bg:#fff; --card-border:#d8d0f0;
}

/* ============ RESET / BASE ============ */
.sanal-home { background:var(--bg); font-family:'Inter','Segoe UI',system-ui,sans-serif; }
.sanal-home * { box-sizing:border-box; }
.sanal-home a { text-decoration:none; }
.sh-container { max-width:1280px; margin:0 auto; padding:0 20px; }

/* ============ CATEGORY TOP BAR ============ */
.sh-catbar {
  background:var(--cat-bar);
  border-bottom:1px solid var(--cat-bar-border);
  position:sticky; top:88px; z-index:9000;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
  overflow:visible; /* needed so position:fixed dropdown is not clipped */
}
.sh-catbar-scroll {
  overflow-x:auto; -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.sh-catbar-scroll::-webkit-scrollbar{display:none}
.sh-catbar-inner {
  display:flex; align-items:center;
  padding:0 20px;
  white-space:nowrap;
  width:max-content; /* flex items determine width */
  min-width:100%; /* at least full container width */
  justify-content:flex-start;
}

.sh-cat-item { position:static; flex-shrink:0; }

.sh-cat-link {
  display:flex; align-items:center; gap:6px;
  padding:12px 16px;
  color:var(--cat-text); font-size:.82rem; font-weight:500;
  border-bottom:2px solid transparent;
  transition:color .2s,border-color .2s; white-space:nowrap;
  cursor:pointer;
}
.sh-cat-link i.arrow { font-size:.6rem; opacity:.6; transition:transform .2s; }
.sh-cat-item:hover > .sh-cat-link,
.sh-cat-item.open > .sh-cat-link { color:var(--cat-hover); border-bottom-color:var(--accent); }
.sh-cat-item.open > .sh-cat-link i.arrow { transform:rotate(180deg); }

/* Dropdown uses position:fixed — JS sets top/left dynamically */
.sh-cat-dropdown {
  display:none;
  position:fixed;
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; box-shadow:0 16px 48px rgba(0,0,0,.18);
  min-width:220px; padding:8px 0; z-index:99999;
}
.sh-cat-item.open .sh-cat-dropdown { display:block; animation:fadeDown .14s ease; }
@keyframes fadeDown{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}

.sh-cat-dropdown a {
  display:block; padding:9px 20px;
  color:var(--text); font-size:.82rem; transition:background .12s,color .12s;
}
.sh-cat-dropdown a:hover { background:var(--accent-soft); color:var(--accent); }
.sh-cat-dropdown .dd-all {
  font-weight:600; border-top:1px solid var(--border);
  margin-top:4px; padding-top:10px; color:var(--accent);
}

/* ============ HERO ============ */
.sh-hero {
  background:var(--hero-bg);
  padding:130px 0 115px;
  position:relative; overflow:hidden;
}
/* Video background hero */
.sh-hero-has-video { padding:150px 0 130px; }
.sh-hero-videobg {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  min-width:100%; min-height:100%;
  width:auto; height:auto;
  object-fit:cover; z-index:0;
  pointer-events:none;
}
.sh-hero-voverlay {
  position:absolute; inset:0;
  background:rgba(0,0,0,.58);
  z-index:1;
}
.sh-hero-zcontent { position:relative; z-index:2; }
/* Force white text when video is playing */
.sh-hero-has-video .sh-hero h1,
.sh-hero-has-video .sh-hero h1 em,
.sh-hero-has-video .sh-hero p { color:#fff !important; }
.sh-hero-has-video .sh-hero-tag {
  color:rgba(255,255,255,.9) !important;
  background:rgba(255,255,255,.15) !important;
  border-color:rgba(255,255,255,.3) !important;
}
.sh-hero-has-video .sh-hero-tags span { color:rgba(255,255,255,.7); }

.sh-hero-inner { display:flex; align-items:center; gap:48px; }
.sh-hero-left { flex:1; min-width:0; }

.sh-hero h1 {
  color:var(--hero-text); font-size:2.4rem; font-weight:800;
  line-height:1.2; margin:0 0 10px;
  letter-spacing:-.02em;
}
.sh-hero h1 em { font-style:normal; color:var(--accent); }
[data-home-theme="2"] .sh-hero h1 em,[data-home-theme="3"] .sh-hero h1 em { color:#fff; text-decoration:underline; text-underline-offset:4px; }

.sh-hero p { color:var(--hero-sub); font-size:1rem; margin:0 0 22px; line-height:1.5; }

/* ============ FEATURED SLIDER ============ */
.sh-slider-wrap {
  display:flex; align-items:center; gap:12px; position:relative;
}
.sh-slider-viewport {
  flex:1; overflow:hidden; border-radius:8px;
}
.sh-slider-track {
  display:flex; gap:16px;
  transition:transform .38s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.sh-slider-card {
  flex-shrink:0; /* width set by JS */
}
.sh-slider-btn {
  width:42px; height:42px; border-radius:50%;
  border:2px solid var(--border);
  background:var(--surface); color:var(--text);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all .2s; flex-shrink:0;
  font-size:1.1rem;
}
.sh-slider-btn:hover:not(:disabled) {
  background:var(--accent); color:#fff; border-color:var(--accent);
}
.sh-slider-btn:disabled { opacity:.3; cursor:not-allowed; }
.sh-slider-dots {
  display:flex; justify-content:center; gap:7px; margin-top:18px;
}
.sh-sdot {
  width:9px; height:9px; border-radius:50%;
  border:none; background:var(--border); cursor:pointer;
  transition:background .2s,transform .2s; padding:0;
}
.sh-sdot.active { background:var(--accent); transform:scale(1.25); }

.sh-search {
  display:flex; background:#fff; border-radius:10px;
  box-shadow:0 4px 20px rgba(0,0,0,.12); overflow:hidden;
  max-width:560px; border:1.5px solid rgba(255,255,255,.4);
}
[data-home-theme="1"] .sh-search { border-color:var(--border); box-shadow:var(--shadow); }
.sh-search input {
  flex:1; border:none; outline:none; padding:14px 18px;
  font-size:.95rem; background:#fff; color:#222;
}
.sh-search button {
  background:var(--accent); color:#fff; border:none;
  padding:14px 24px; font-size:.9rem; font-weight:700;
  cursor:pointer; transition:background .2s; display:flex; align-items:center; gap:8px;
  white-space:nowrap;
}
.sh-search button:hover { background:var(--accent2); }

.sh-hero-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; align-items:center; }
.sh-hero-tags span { color:var(--hero-sub); font-size:.78rem; }
.sh-hero-tag {
  background:var(--hero-tag-bg); color:var(--hero-tag);
  border:1px solid var(--hero-tag-border);
  padding:5px 14px; border-radius:20px; font-size:.78rem;
  transition:all .2s;
}
.sh-hero-tag:hover { background:var(--accent); color:#fff; border-color:var(--accent); }

.sh-hero-right { width:340px; flex-shrink:0; }
.sh-hero-right img { width:100%; border-radius:16px; box-shadow:0 12px 40px rgba(0,0,0,.2); }

/* ============ STATS BAR ============ */
.sh-stats {
  background:var(--stat-bg,var(--accent)); padding:14px 0;
}
.sh-stats-inner {
  display:flex; gap:40px; flex-wrap:wrap;
  max-width:1280px; margin:0 auto; padding:0 20px;
  justify-content:center;
}
.sh-stat { display:flex; align-items:center; gap:8px; color:var(--stat-text,#fff); }
.sh-stat i { opacity:.7; }
.sh-stat-num { font-size:1.1rem; font-weight:800; }
.sh-stat-label { font-size:.82rem; opacity:.85; }

/* ============ SECTIONS ============ */
.sh-section { padding:40px 0; }
.sh-section-alt { background:var(--surface); }

.sh-section-head {
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:22px;
}
.sh-section-head-left {}
.sh-label {
  display:inline-block; background:var(--accent-soft); color:var(--accent-text);
  font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding:3px 10px; border-radius:20px; margin-bottom:6px;
}
.sh-title { color:var(--text); font-size:1.5rem; font-weight:700; margin:0 0 4px; }
.sh-sub { color:var(--text2); font-size:.88rem; margin:0; }
.sh-view-all {
  color:var(--accent); font-size:.85rem; font-weight:600;
  display:flex; align-items:center; gap:4px; white-space:nowrap;
  transition:gap .2s;
}
.sh-view-all:hover { gap:8px; }

/* ============ CATEGORY CARDS ============ */
.sh-cat-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}
@media(max-width:1100px){.sh-cat-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.sh-cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.sh-cat-grid{grid-template-columns:repeat(2,1fr)}}

.sh-cat-card {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:14px; padding:18px 12px; text-align:center;
  cursor:pointer; transition:all .25s; color:var(--text);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  box-shadow:var(--shadow);
}
.sh-cat-card:hover {
  border-color:var(--accent); box-shadow:var(--shadow-hover);
  transform:translateY(-3px); color:var(--accent);
}
.sh-cat-icon {
  width:48px; height:48px; border-radius:12px;
  background:var(--accent-soft); display:flex; align-items:center;
  justify-content:center; font-size:1.3rem; color:var(--accent);
  transition:all .25s;
}
.sh-cat-card:hover .sh-cat-icon { background:var(--accent); color:#fff; }
.sh-cat-name { font-size:.8rem; font-weight:600; line-height:1.25; }
.sh-cat-count { font-size:.72rem; color:var(--text3); }

/* ============ SERVICE CARDS — 5 COL ============ */
.sh-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
@media(max-width:1200px){.sh-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.sh-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.sh-grid{grid-template-columns:repeat(2,1fr)}}

.sh-card {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:14px; overflow:hidden; box-shadow:var(--shadow);
  transition:all .25s; display:block; color:var(--text);
}
.sh-card-hidden { display:none !important; }
.sh-card:hover {
  box-shadow:var(--shadow-hover); transform:translateY(-4px);
  border-color:var(--accent); color:var(--text);
}

.sh-card-img {
  position:relative; aspect-ratio:16/10; overflow:hidden;
  background:var(--surface2);
}
.sh-card-img img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .4s;
}
.sh-card:hover .sh-card-img img { transform:scale(1.05); }

.sh-card-no-img {
  width:100%; height:100%; display:flex; align-items:center;
  justify-content:center; font-size:2.2rem; color:var(--accent);
  background:linear-gradient(135deg,var(--accent-soft),var(--surface2));
}

.sh-card-badge {
  position:absolute; top:8px; left:8px;
  background:var(--accent); color:#fff;
  font-size:.68rem; font-weight:700; padding:3px 8px; border-radius:6px;
}

.sh-card-body { padding:12px 14px 14px; }

.sh-card-cat {
  display:inline-block; background:var(--accent-soft); color:var(--accent-text);
  font-size:.68rem; font-weight:700; padding:2px 8px; border-radius:5px;
  margin-bottom:6px;
}

.sh-card-seller {
  display:flex; align-items:center; gap:7px; margin-bottom:7px;
}
.sh-card-avatar {
  width:26px; height:26px; border-radius:50%; object-fit:cover;
  border:2px solid var(--accent-soft); flex-shrink:0;
}
.sh-card-av-init {
  width:26px; height:26px; border-radius:50%; flex-shrink:0;
  background:var(--accent); color:#fff; display:flex;
  align-items:center; justify-content:center;
  font-size:.72rem; font-weight:700;
}
.sh-card-sname { font-size:.78rem; color:var(--text2); font-weight:500; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sh-online { width:8px; height:8px; border-radius:50%; background:#1dbf73; flex-shrink:0; }
.sh-online.recent { background:#f59e0b; }
.sh-online.offline { background:#9ca3af; }

.sh-card-title {
  font-size:.85rem; font-weight:600; line-height:1.38; color:var(--text);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  margin-bottom:8px;
}

.sh-card-footer {
  display:flex; align-items:center; justify-content:space-between;
  border-top:1px solid var(--border); padding-top:8px; margin-top:4px;
}
.sh-card-rating { display:flex; align-items:center; gap:3px; font-size:.73rem; }
.sh-card-rating i { color:#f59e0b; }
.sh-card-rating strong { color:var(--text); }
.sh-card-rating span { color:var(--text3); }
.sh-card-price { font-size:.88rem; font-weight:700; color:var(--accent); }
.sh-card-price-free { font-size:.72rem; color:var(--text3); }

/* Skeleton */
.sh-skeleton {
  background:var(--card-bg); border:1px solid var(--border);
  border-radius:14px; overflow:hidden;
}
.sh-sk-img { aspect-ratio:16/10; background:linear-gradient(90deg,var(--surface2) 25%,var(--surface) 50%,var(--surface2) 75%); background-size:200% 100%; animation:shimmer 1.4s infinite; }
.sh-sk-body { padding:12px 14px; }
.sh-sk-line { height:10px; border-radius:5px; margin-bottom:8px; background:linear-gradient(90deg,var(--surface2) 25%,var(--surface) 50%,var(--surface2) 75%); background-size:200% 100%; animation:shimmer 1.4s infinite; }
@keyframes shimmer{ to{background-position:-200% 0} }

/* ============ TABS ============ */
.sh-tabs { display:flex; gap:4px; margin-bottom:20px; border-bottom:1px solid var(--border); }
.sh-tab {
  padding:10px 22px; font-size:.88rem; font-weight:600;
  color:var(--text2); border:none; background:none; cursor:pointer;
  border-bottom:2.5px solid transparent; margin-bottom:-1px;
  transition:all .2s; border-radius:0;
}
.sh-tab.active { color:var(--accent); border-bottom-color:var(--accent); }

.sh-tab-pane { display:none; }
.sh-tab-pane.active { display:block; }

/* ============ LOAD MORE ============ */
.sh-load-more {
  display:inline-flex; align-items:center; gap:8px;
  border:2px solid var(--accent); color:var(--accent); background:transparent;
  padding:11px 32px; border-radius:8px; font-size:.88rem; font-weight:700;
  cursor:pointer; transition:all .2s; margin-top:24px;
}
.sh-load-more:hover { background:var(--accent); color:#fff; }

/* ============ RESPONSIVE ============ */
@media(max-width:900px){
  .sh-hero-right { display:none; }
  .sh-hero h1 { font-size:1.7rem; }
  .sh-catbar { top:70px; }
}
@media(max-width:600px){
  .sh-hero { padding:28px 0 22px; }
  .sh-hero h1 { font-size:1.4rem; }
  .sh-section { padding:26px 0; }
  .sh-title { font-size:1.2rem; }
  .sh-stats-inner { gap:20px; }
}

/* ============ EMPTY STATE ============ */
.sh-empty { text-align:center; padding:40px 20px; color:var(--text3); grid-column:1/-1; }
.sh-empty i { font-size:3rem; margin-bottom:12px; display:block; opacity:.35; }

/* ============================================================
   DARK MODE COMPATIBILITY
   Counters universal-dark-mode.css blanket !important rules
   within .sanal-home so theme variables are respected.
============================================================ */
[data-theme="dark"] .sanal-home {
  background: #0e0e1c !important;
  --bg:#0e0e1c; --surface:#16162a; --surface2:#1c1c32;
  --border:#28284a; --accent:#6c5ce7; --accent2:#5a4bd1;
  --accent-soft:rgba(108,92,231,.13); --accent-text:#9b8fff;
  --text:#e0e0f8; --text2:#8080a8; --text3:#5050a0;
  --hero-bg:linear-gradient(135deg,#0e0e1c 0%,#16103a 100%);
  --hero-text:#f0f0ff; --hero-sub:#8080a8;
  --hero-tag-bg:rgba(108,92,231,.15); --hero-tag:#9b8fff; --hero-tag-border:rgba(108,92,231,.3);
  --shadow:0 2px 14px rgba(0,0,0,.35); --shadow-hover:0 8px 28px rgba(108,92,231,.2);
  --cat-bar:#0e0e1c; --cat-bar-border:#28284a; --cat-text:#c0c0d8; --cat-hover:#9b8fff;
  --stat-bg:#16162a; --stat-text:#9b8fff; --tag-bg:#1c1c32; --tag-text:#8080a8;
  --card-bg:#16162a; --card-border:#28284a;
}

/* Reset the forced white color from universal-dark-mode.css
   Higher specificity (0,2,1) beats universal-dark-mode (0,1,1) */
[data-theme="dark"] .sanal-home div,
[data-theme="dark"] .sanal-home span,
[data-theme="dark"] .sanal-home p,
[data-theme="dark"] .sanal-home li,
[data-theme="dark"] .sanal-home small,
[data-theme="dark"] .sanal-home strong,
[data-theme="dark"] .sanal-home b,
[data-theme="dark"] .sanal-home em { color: var(--text) !important; }

[data-theme="dark"] .sanal-home i { color: inherit !important; }

[data-theme="dark"] .sanal-home h1,
[data-theme="dark"] .sanal-home h2,
[data-theme="dark"] .sanal-home h3,
[data-theme="dark"] .sanal-home h4,
[data-theme="dark"] .sanal-home h5,
[data-theme="dark"] .sanal-home h6 { color: var(--hero-text) !important; }

/* Links */
[data-theme="dark"] .sanal-home a { color: var(--accent-text) !important; }
[data-theme="dark"] .sanal-home a:hover { color: var(--accent) !important; }

/* Catbar */
[data-theme="dark"] .sh-catbar { background: var(--cat-bar) !important; border-color: var(--cat-bar-border) !important; }
[data-theme="dark"] .sh-cat-link { color: var(--cat-text) !important; }
[data-theme="dark"] .sh-cat-item:hover > .sh-cat-link,
[data-theme="dark"] .sh-cat-item.open > .sh-cat-link,
[data-theme="dark"] .sh-cat-link.active { color: var(--cat-hover) !important; }
[data-theme="dark"] .sh-cat-dropdown { background: var(--surface) !important; border-color: var(--border) !important; }
[data-theme="dark"] .sh-cat-dropdown a { color: var(--text) !important; }

/* Hero */
[data-theme="dark"] .sh-hero { background: var(--hero-bg) !important; }
[data-theme="dark"] .sh-hero h1,
[data-theme="dark"] .sh-hero h1 em { color: var(--hero-text) !important; }
[data-theme="dark"] .sh-hero p { color: var(--hero-sub) !important; }
[data-theme="dark"] .sh-hero-tag { color: var(--hero-tag) !important; background: var(--hero-tag-bg) !important; border-color: var(--hero-tag-border) !important; }

/* Cards */
[data-theme="dark"] .sh-card { background: var(--card-bg) !important; border-color: var(--card-border) !important; }
[data-theme="dark"] .sh-card-title { color: var(--text) !important; }
[data-theme="dark"] .sh-card-category { color: var(--text3) !important; }
[data-theme="dark"] .sh-card-seller { color: var(--text2) !important; }
[data-theme="dark"] .sh-card-price { color: var(--accent) !important; }
[data-theme="dark"] .sh-card-rating strong { color: var(--text) !important; }

/* Category cards */
[data-theme="dark"] .sh-cat-card { background: var(--surface) !important; border-color: var(--border) !important; }
[data-theme="dark"] .sh-cat-card-name { color: var(--text) !important; }
[data-theme="dark"] .sh-cat-card-count { color: var(--text3) !important; }

/* Stats bar */
[data-theme="dark"] .sh-stats { background: var(--stat-bg) !important; }
[data-theme="dark"] .sh-stat-val,
[data-theme="dark"] .sh-stat-lbl { color: var(--stat-text) !important; }

/* Section */
[data-theme="dark"] .sh-section { background: var(--bg) !important; }
[data-theme="dark"] .sh-title { color: var(--text) !important; }
[data-theme="dark"] .sh-sub { color: var(--text2) !important; }
[data-theme="dark"] .sh-view-all { color: var(--accent) !important; }

/* Tabs */
[data-theme="dark"] .sh-tab { color: var(--text2) !important; border-color: var(--border) !important; }
[data-theme="dark"] .sh-tab.active { color: var(--accent) !important; }
[data-theme="dark"] .sh-tabs { border-color: var(--border) !important; }

/* Search bar */
[data-theme="dark"] .sh-search input { background: var(--surface) !important; color: var(--text) !important; }
