.gamesLink {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}


.tabsContainer {
  flex: 1;
  display: flex;
  align-items: center;
}

.tabs {
  width: 100%;
}

.tabsList {
  flex-wrap: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px;
}

.tabsList::-webkit-scrollbar {
  display: none;
}

.tabsList [role="tab"] {
  flex-shrink: 0;
}

.tab {
  background: var(--header-tab-bg);
  border: var(--header-tab-border);
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 12px;
  margin: 2px;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.tab:hover {
  background: var(--header-tab-hover-bg);
  border-color: var(--header-tab-hover-border);
  color: rgba(255, 255, 255, 0.95) !important;
}

.tab[data-active="true"] {
  background: var(--header-tab-active-bg);
  border-color: var(--header-tab-active-border);
  color: rgba(255, 255, 255, 1) !important;
}

.tabText {
  color: inherit;
  font-weight: inherit;
}

.tabInput {
  background: var(--header-tab-input-bg) !important;
  border: var(--header-tab-input-border) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 4px;
  font-size: 12px;
}

.tabInput input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: none !important;
}

.editIcon {
  color: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition: color 0.2s ease;
}

.editIcon:hover {
  color: rgba(59, 130, 246, 0.9);
}

.closeButton {
  background: rgba(239, 68, 68, 0.3) !important;
  color: rgba(248, 113, 113, 0.9) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 2px 6px !important;
  min-width: 20px;
  height: 20px;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.closeButton:hover {
  background: rgba(239, 68, 68, 0.5) !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Combobox/Dropdown styling */
.combobox {
  width: 100%;
}

.comboboxInput {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: border-color 0.2s ease;
  width: 100%;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  min-height: 36px;
}

.comboboxInput input {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.comboboxInput:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.dropdown {
  background: var(--header-tab-dropdown-bg);
  border: var(--header-tab-dropdown-border);
  border-radius: 8px;
  box-shadow: var(--header-dropdown-shadow);
}

.dropdownOption {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 2px;
  transition: background-color 0.2s ease;
}

.dropdownOption:hover {
  background: var(--header-tab-dropdown-hover-bg);
  color: rgba(255, 255, 255, 0.95) !important;
}

.dropdownOption[data-combobox-selected="true"] {
  background: var(--header-tab-dropdown-hover-bg);
  color: rgba(255, 255, 255, 1) !important;
}

.dropdownText {
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab {
    font-size: 12px;
    padding: 6px 10px;
  }

  .tabsList {
    padding: 3px;
  }
}

/* Vaporwave (TRON) decorations, scoped to active theme */
:global(.theme-vaporwavetheme) .newHeaderGroup {
  position: relative;
}

:global(.theme-vaporwavetheme) .newHeaderGroup::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 1px solid rgba(255, 0, 170, 0.35);
  box-shadow: 0 10px 32px rgba(255, 0, 170, 0.08), 0 8px 26px rgba(0, 240, 255, 0.06);
}

:global(.theme-vaporwavetheme) .newHeaderGroup::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 0, 170, 0.9), rgba(0, 240, 255, 0.9));
  box-shadow: 0 0 10px rgba(255, 0, 170, 0.4), 0 0 12px rgba(0, 240, 255, 0.3);
  opacity: 0.6;
}

:global(.theme-vaporwavetheme) .tab {
  text-shadow: 0 0 6px rgba(255, 0, 170, 0.4), 0 0 10px rgba(0, 240, 255, 0.25);
}

:global(.theme-vaporwavetheme) .tab::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 0, 170, 0.95), rgba(0, 240, 255, 0.95));
  transform: scaleX(0.5);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

:global(.theme-vaporwavetheme) .tab:hover::after,
:global(.theme-vaporwavetheme) .tab[data-active="true"]::after {
  transform: scaleX(1);
  opacity: 1;
}

:global(.theme-vaporwavetheme) .tab:hover,
:global(.theme-vaporwavetheme) .tab[data-active="true"] {
  animation: vw-soft-pulse 7s ease-in-out infinite alternate;
}

@keyframes vw-soft-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 0, 170, 0)) drop-shadow(0 0 0 rgba(0, 240, 255, 0)); }
  50% { filter: drop-shadow(0 0 5px rgba(255, 0, 170, 0.35)) drop-shadow(0 0 6px rgba(0, 240, 255, 0.25)); }
}