/*
 * roulabet.com: casino game lists (category, provider and favourites pages) laid out like bet24.gg. Copied from
 * tip26.gg's tip26-games-grid.css (its ticket #1031, 2026-11-07), unchanged: three square tiles per row on phones,
 * no game name or provider caption under the tiles, the list on a grey panel, page titles at 22px (18px on phones).
 * The home page rows (.casinoGamesRowContainer) are not touched. Loaded by welcome.blade.php after the bundle's CSS.
 */
.casinoGamesContainer .gameTitle,
.casinoGamesContainer .providerName,
.providerContainer .gameTitle,
.providerContainer .providerName { display: none; }

.casinoGamesContainer .casinoGamesHeader .casinoCountBadge,
.providerContainer .casinoCountBadge { display: none !important; }

.casinoCategoryContainer { padding-top: 0 !important; padding-bottom: 0 !important; }
.casinoGamesContainer {
  background-color: var(--lobbyZebraOddDark);
  max-width: 80rem;
  margin: 1rem auto;
  border-radius: .5rem !important;
  padding: 1rem !important;
}
.casinoGamesContainer.providerContainer { margin-top: -1.5rem; margin-bottom: -1.5rem; }
.casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader,
.providerContainer .casinoGamesHeader { padding-bottom: .25rem !important; }
.casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader + div,
.casinoGamesContainer.providerContainer .casinoGamesHeader + div,
.providerContainer > div .casinoGamesHeader + div { margin-bottom: .5rem; }
.casinoGamesContainer .casinoGamesHeader h1,
.providerContainer h1 { font-size: 22px !important; font-weight: 600 !important; }
.casinoGamesContainer .desktopGrid,
.providerContainer .desktopGrid { margin-bottom: 0; }

@media (max-width: 639px) {
  .casinoGamesContainer .casinoGamesHeader h1,
  .providerContainer h1 { font-size: 18px !important; }
  .casinoGamesContainer { border-radius: 0 !important; }
  .providerContainer { border-radius: 0 !important; margin-top: 0 !important; padding: .5rem !important; }
  .providerContainer .mobileGrid { flex-basis: 33%; margin-bottom: 0 !important; }
  .casinoGamesContainer.providerContainer { margin: -1.25rem -1.5rem !important; padding: .25rem 1rem !important; }
  .casinoCategoryContainer { border-radius: 0 !important; padding: 0 !important; }
  .casinoCategoryContainer .casinoGamesContainer { margin-top: 0; margin-bottom: 0; padding: .5rem .5rem .75rem !important; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader,
  .casinoGamesContainer.providerContainer .casinoGamesHeader { padding-bottom: .5rem !important; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > div:first-child,
  .providerContainer .casinoGamesHeader > div:first-child { align-self: flex-start; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > .filtersContainer,
  .providerContainer .casinoGamesHeader > .filtersContainer { flex-direction: row; justify-content: space-between; margin-top: 0 !important; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > .filtersContainer > div:not(.searchModal) { width: calc(50% - .25rem); margin-top: .5rem; }
  .casinoCategoryContainer .casinoGamesContainer .casinoGamesHeader > .filtersContainer > div:not(.searchModal) button { min-width: 0 !important; }
  .casinoCategoryContainer .casinoGamesContainer .mobileGrid { flex-basis: 33%; margin-bottom: 0 !important; }
}

/* Category page header like bet24.gg (2026-11-21): title as written ("Live Casino", no capitals), 40px back
   button, and the Fournisseurs / Trier par dropdowns as white buttons with dark text and a grey border
   (bet24's computed values: #fff, #1c1c1c, 1px #595d60, 8px radius, 42px). The chevron is a white SVG
   background, darkened here. The open option lists keep the site's own panel colours. */
.casinoGamesContainer h1,
.providerContainer h1 { text-transform: none !important; }
/* The bundle turns these buttons transparent with a gold border on hover / focus / open (!important), which left
   the dark text on the dark page; html body raises the specificity so they stay white in every state. */
html body .providerFilter button.outlineBtn,
html body .sortFilter button.outlineBtn,
html body .providerFilter button.outlineBtn:hover,
html body .sortFilter button.outlineBtn:hover,
html body .providerFilter button.outlineBtn:focus,
html body .sortFilter button.outlineBtn:focus,
html body .providerFilter button.outlineBtn:active,
html body .sortFilter button.outlineBtn:active {
  background: #fff !important;
  background-color: #fff !important;
  color: #1c1c1c !important;
  border: 1px solid #595d60 !important;
  border-radius: 8px !important;
  white-space: nowrap;
}
html body .providerFilter button.outlineBtn.expanded,
html body .sortFilter button.outlineBtn.expanded,
html body .providerFilter button.outlineBtn:focus-visible,
html body .sortFilter button.outlineBtn:focus-visible { border-color: var(--primaryDark, #d4a017) !important; }
.providerFilter button.outlineBtn *,
.sortFilter button.outlineBtn * { color: #1c1c1c !important; }
.providerFilter button.outlineBtn span.absolute,
.sortFilter button.outlineBtn span.absolute { filter: brightness(0); opacity: .85; }
@media (min-width: 640px) {
  .casinoGamesContainer button.backBtn,
  .providerContainer button.backBtn { width: 40px; height: 40px; padding: 4.5px; }
}
