/* ==========================================================================
   BAYKOLIK | late-overrides — loads AFTER public/local-overrides.css
   Betlivo payment horizontal slider + transparent theme surfaces.
   Referans: www.betlivo346.com / m.betlivo346.com
   ========================================================================== */

/* --- Transparent surfaces so layout BG shows through (Betlivo) --- */
html.is-web #root > .layout-footer-holder-bc,
html.is-web #root > .layout-footer-holder-bc.active,
html.is-web #root > .layout-footer-holder-bc .footerWrapper,
html.is-web #root > .layout-footer-holder-bc .footerContainer,
html.is-web #root > .layout-footer-holder-bc .footerContainer > .sliderGroup,
html.is-mobile #root > .layout-footer-holder-bc,
html.is-mobile #root > .layout-footer-holder-bc.active,
html.is-mobile #root > .layout-footer-holder-bc .footerWrapper,
html.is-mobile #root > .layout-footer-holder-bc .footerContainer,
html.is-mobile #root > .layout-footer-holder-bc .footerContainer > .sliderGroup {
  background-color: transparent !important;
  background-image: none !important;
}

html.is-web #root > .layout-content-holder-bc,
html.is-web #root .hm-row-bc,
html.is-web #root .product-banner-container-bc,
html.is-web #root .product-banner-info-bc,
html.is-mobile #root > .layout-content-holder-bc,
html.is-mobile #root .hm-row-bc,
html.is-mobile #root .product-banner-container-bc,
html.is-mobile #root .product-banner-info-bc {
  background-color: transparent !important;
  background-image: none !important;
}

html.is-web #root > .layout-footer-holder-bc .sliderContent,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent {
  background: rgba(19, 43, 56, 0.72) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* --- Mobile: restore Betlivo page background (do not clear on #root.is-home-page) --- */
html.is-mobile #root.layout-bc,
html.is-mobile #root.layout-bc.theme-default,
html.is-mobile #root.layout-bc.is-home-page {
  background-color: #0c141c !important;
  background-image: url("https://cdn-files-zmedya.online/betlivo/images/20260129153306-697b7db27e18a-8986.png") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}

/* --- Desktop: Betlivo partner BG --- */
html.is-web #root.layout-bc,
html.is-web #root.layout-bc.theme-default,
html.is-web #root.layout-bc.is-home-page {
  background-color: #0c141c !important;
  background-image: url("https://icons.betlivo329.com/storage/medias/betlivo-18758688/media_18758688_cef7903f36e000605b4c219614a4817f.png") !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* --- Payment logos: kill local-overrides wrap, force Betlivo single-row slider --- */
html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper,
html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper.horizontalItemsExpanded,
html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper.alignedCenter,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper.horizontalItemsExpanded,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper.alignedCenter {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 94px !important;
  max-height: 94px !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  container-type: inline-size;
}

html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper.horizontalItemsExpanded,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper.alignedCenter {
  height: 93px !important;
  max-height: 93px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #3d5a68 transparent;
}

html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderRow,
html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderRow:has(.horizontalSliderElem),
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderRow,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderRow:has(.horizontalSliderElem) {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: max-content !important;
  max-width: none !important;
  height: 94px !important;
  min-height: 94px !important;
  white-space: nowrap !important;
  vertical-align: top;
}

html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderRow,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderRow:has(.horizontalSliderElem) {
  height: 88px !important;
  min-height: 88px !important;
}

html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderElem,
html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderElem {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
}

html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderElem {
  box-sizing: border-box !important;
  width: 248px !important;
  height: 94px !important;
  margin: 0 10px 0 0 !important;
}

html.is-web #root > .layout-footer-holder-bc .sliderContent .horizontalSliderElem:last-child {
  margin-inline-end: 0 !important;
}

/* Mobile auto-drift (Betlivo). Desktop keeps SoftSwiss nav + translateX. */
@supports (width: 1cqw) {
  @media (prefers-reduced-motion: no-preference) {
    html.is-mobile[dir="ltr"] #root > .layout-footer-holder-bc .sliderContent .horizontalList.scroll-start:not(.scroll-end) > .horizontalSliderWrapper:not(:hover):not(:active):not(:focus-within) > .horizontalSliderRow:has(> .horizontalSliderElem:nth-child(4)),
    html.is-mobile[dir="ltr"] #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper.scroll-start:not(.scroll-end):not(:hover):not(:active):not(:focus-within) > .horizontalSliderRow:has(> .horizontalSliderElem:nth-child(4)),
    html.is-mobile[dir="ltr"] #root > .layout-footer-holder-bc .sliderContent .horizontalSliderWrapper > .horizontalSliderRow:has(> .horizontalSliderElem:nth-child(4)) {
      animation: bl-footer-payment-drift 34s linear 1.5s infinite alternate both !important;
    }
  }
}

@keyframes bl-footer-payment-drift {
  0%,
  8% {
    transform: translateX(0);
  }

  92%,
  100% {
    transform: translateX(min(0px, calc(100cqw - 100%)));
  }
}

@media (prefers-reduced-motion: reduce) {
  html.is-mobile #root > .layout-footer-holder-bc .sliderContent .horizontalSliderRow {
    animation: none !important;
  }
}

/* ==========================================================================
   BAYKOLIK | Homepage CasinoGamesWidget (CMS Anasayfa oyunları)
   SoftSwiss slideable carousel without HorizontalScroll class collapses
   tiles to ~70px — force Betlivo-like 150px game cards + full-row strip.
   ========================================================================== */
html.is-web #root.is-home-page .casinoGamesWidget,
html.is-mobile #root.is-home-page .casinoGamesWidget,
html.is-web #root.is-home-page .casinoHorizontalGamesList.casinoGamesWidget,
html.is-mobile #root.is-home-page .casinoHorizontalGamesList.casinoGamesWidget {
  width: 100% !important;
  max-width: 100% !important;
}

html.is-web #root.is-home-page .casinoGamesWidget .swiper,
html.is-mobile #root.is-home-page .casinoGamesWidget .swiper,
html.is-web #root.is-home-page .casinoGamesWidget .carouselWrapper,
html.is-mobile #root.is-home-page .casinoGamesWidget .carouselWrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

html.is-web #root.is-home-page .casinoGamesWidget .swiper-slide,
html.is-mobile #root.is-home-page .casinoGamesWidget .swiper-slide,
html.is-web #root.is-home-page .casinoGamesWidget .casinoGamesWidgetColumn,
html.is-mobile #root.is-home-page .casinoGamesWidget .casinoGamesWidgetColumn {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  box-sizing: border-box !important;
}

html.is-web #root.is-home-page .casinoGamesWidget .casinoGameItemContent,
html.is-mobile #root.is-home-page .casinoGamesWidget .casinoGameItemContent,
html.is-web #root.is-home-page .casinoGamesWidget .casinoGameItemContent--regular,
html.is-mobile #root.is-home-page .casinoGamesWidget .casinoGameItemContent--regular {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
}

html.is-web #root.is-home-page .casinoGamesWidget .casinoGameItem,
html.is-mobile #root.is-home-page .casinoGamesWidget .casinoGameItem,
html.is-web #root.is-home-page .casinoGamesWidget .casinoGameItemImage,
html.is-mobile #root.is-home-page .casinoGamesWidget .casinoGameItemImage {
  width: 100% !important;
  height: auto !important;
}

html.is-web #root.is-home-page .casinoGamesWidget .casinoGameItemImage--regular,
html.is-mobile #root.is-home-page .casinoGamesWidget .casinoGameItemImage--regular {
  aspect-ratio: 44 / 31 !important;
  object-fit: cover !important;
}

/* --- Spor detay: SoftSwiss skor paneli BG → Baykolik hareketli GIF --- */
html.is-mobile .live .game-details-container-inner-bc.live-score-bg-soccer,
html.is-mobile .prematch .game-details-container-inner-bc.live-score-bg-soccer,
html.is-mobile .live .live-score-bg-soccer,
html.is-mobile .prematch .live-score-bg-soccer,
html.is-mobile .live .live-score-bg-basketball,
html.is-mobile .prematch .live-score-bg-basketball,
html.is-mobile .live .live-score-bg-volleyball,
html.is-mobile .prematch .live-score-bg-volleyball {
  background-image: url(/bureau/baykolik/team-details-bg.gif) !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: contain !important;
  background-color: #0a1219 !important;
}

html.is-web .live .game-details-container-inner-bc.live-score-bg-soccer,
html.is-web .prematch .game-details-container-inner-bc.live-score-bg-soccer,
html.is-web .live .live-score-bg-soccer,
html.is-web .prematch .live-score-bg-soccer,
html.is-web .live .live-score-bg-basketball,
html.is-web .prematch .live-score-bg-basketball,
html.is-web .live .live-score-bg-volleyball,
html.is-web .prematch .live-score-bg-volleyball {
  background-image: url(/bureau/baykolik/team-details-bg.gif) !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  background-size: cover !important;
}

/* --- Auth / üyelik: doğum tarihi tıklanabilir + datepicker footer üstünde --- */
html.is-mobile #root .entrance-popup-bc:is(.sign-in, .register) .entrance-form-bc .form-control-title-bc,
html.is-web #root .entrance-popup-bc:is(.sign-in, .register) .entrance-form-bc .form-control-title-bc {
  pointer-events: none !important;
}

html.is-mobile #root .entrance-popup-bc:is(.sign-in, .register) .entrance-form-bc .form-control-input-stroke-bc,
html.is-mobile #root .entrance-popup-bc:is(.sign-in, .register) .entrance-form-bc .dropdownIcon-bc.bc-i-datepicker,
html.is-web #root .entrance-popup-bc:is(.sign-in, .register) .entrance-form-bc .form-control-input-stroke-bc,
html.is-web #root .entrance-popup-bc:is(.sign-in, .register) .entrance-form-bc .dropdownIcon-bc.bc-i-datepicker {
  pointer-events: none !important;
}

html.is-mobile #root .entrance-popup-bc.register .entrance-form-content-bc {
  scroll-padding-block: 28px 240px !important;
}

html.is-web #root .entrance-popup-bc.register .reg-form-content {
  scroll-padding-block: 24px 180px !important;
}

html.is-mobile #root .entrance-popup-bc.register .reg-form-fields,
html.is-web #root .entrance-popup-bc.register .reg-form-fields {
  padding-bottom: 28px !important;
}

html.is-mobile #root .entrance-popup-bc.register .reg-form-footer-bc,
html.is-web #root .entrance-popup-bc.register .reg-form-footer-bc {
  position: relative !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;
}

html.is-mobile #root .entrance-popup-bc.register .react-datepicker__tab-loop .react-datepicker-popper,
html.is-web #root .entrance-popup-bc.register .react-datepicker__tab-loop .react-datepicker-popper,
html.is-mobile #root .popup-holder-bc .react-datepicker__tab-loop .react-datepicker-popper,
html.is-web #root .popup-holder-bc .react-datepicker__tab-loop .react-datepicker-popper {
  z-index: 40 !important;
}

html.is-mobile #root .entrance-popup-bc.register .react-datepicker__day-name,
html.is-mobile #root .entrance-popup-bc.register .react-datepicker__day {
  width: 2rem !important;
  line-height: 2rem !important;
  margin: 0.1rem !important;
  font-size: 11px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

html.is-mobile #root .entrance-popup-bc.register .react-datepicker__day-name {
  font-size: 10px !important;
  text-align: center !important;
}

[class^="bc-i-"],[class*=" bc-i-"],i[class*="bc-i-"]{font-family:BetConstruct-Icons!important;font-weight:400!important;font-style:normal!important}
