/* ============================================================
   Dash Hub — reusable tab strip for hub pages (Faz M, 2026-05-26)
   Faz M.1 polish (2026-05-26 gece) — Atakan: "sayfalar arası geçişi
   daha belirgin ve biraz daha büyük yapalım".
   ============================================================ */

.dash-hub-strip {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: -16px -16px 22px;
  padding: 16px 16px 0;
  background: linear-gradient(180deg, rgba(10, 6, 6, 0.98) 0%, rgba(10, 6, 6, 0.92) 70%, rgba(10, 6, 6, 0.5) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dash-hub-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.dash-hub-tabs::-webkit-scrollbar { height: 4px; }
.dash-hub-tabs::-webkit-scrollbar-track { background: transparent; }
.dash-hub-tabs::-webkit-scrollbar-thumb { background: rgba(47, 92, 168, 0.32); border-radius: 999px; }

.dash-hub-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms, border-color 240ms, background 160ms, transform 160ms;
  position: relative;
  letter-spacing: -0.005em;
}
.dash-hub-tab:hover {
  color: #fff;
  background: rgba(47, 92, 168, 0.10);
  transform: translateY(-1px);
}
.dash-hub-tab.active {
  color: #fff;
  border-bottom-color: var(--accent, #2f5ca8);
  font-weight: 700;
}
.dash-hub-tab.active::after {
  /* prominent glow under the active tab */
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: -3px;
  height: 3px;
  background: var(--accent, #2f5ca8);
  box-shadow: 0 0 16px rgba(47, 92, 168, 0.72), 0 0 32px rgba(47, 92, 168, 0.3);
  border-radius: 3px;
  animation: dash-hub-glow-pulse 2.4s ease-in-out infinite;
}
@keyframes dash-hub-glow-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(47, 92, 168, 0.55), 0 0 24px rgba(47, 92, 168, 0.22); }
  50%      { box-shadow: 0 0 20px rgba(47, 92, 168, 0.85), 0 0 40px rgba(47, 92, 168, 0.38); }
}

.dash-hub-tab-label { letter-spacing: -0.005em; }

.dash-hub-tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 7px;
  background: var(--accent, #2f5ca8);
  color: #fff;
  font-size: 11px; font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(47, 92, 168, 0.5);
}
.dash-hub-tab-badge[hidden] { display: none; }

/* On small screens — compact spacing but still readable */
@media (max-width: 720px) {
  .dash-hub-strip { margin: -12px -12px 16px; padding: 12px 12px 0; }
  .dash-hub-tab { padding: 12px 14px; font-size: 13.5px; }
}
