/* TacCasino slot — Bingobet tarzi saglayici secimi (koyu lacivert) */

.bb-slot-toolbar {
  margin-bottom: 12px;
  padding: 0 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bb-slot-search-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}

.bb-slot-provider-search-row {
  margin: 0;
}

.bb-slot-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(190, 154, 117, 0.32);
  background: linear-gradient(145deg, rgba(20, 16, 12, 0.96), rgba(8, 6, 4, 0.98));
  box-shadow: inset 0 1px 0 rgba(240, 235, 227, 0.06);
}

.bb-slot-search__icon {
  border: 0;
  background: transparent;
  color: rgba(240, 235, 227, 0.55);
  padding: 0;
  line-height: 1;
  font-size: 14px;
}

.bb-slot-search__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f0ebe3;
  font: 500 13px/1.2 Poppins, Roboto, Arial, sans-serif;
}

.bb-slot-search__input::placeholder {
  color: rgba(240, 235, 227, 0.42);
}

.bb-slot-provider-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  white-space: nowrap;
  border: 1px solid rgba(190, 154, 117, 0.42) !important;
  background: linear-gradient(145deg, rgba(26, 21, 16, 0.95), rgba(8, 6, 4, 0.98)) !important;
  color: #f0ebe3 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  box-shadow: inset 0 1px 0 rgba(240, 235, 227, 0.08) !important;
}

.bb-slot-provider-btn:hover {
  border-color: rgba(240, 235, 227, 0.45) !important;
  background: linear-gradient(145deg, rgba(190, 154, 117, 0.24), rgba(20, 16, 12, 0.98)) !important;
}

.bb-slot-provider-popup-host.section-games-filter {
  margin: 0 0 8px;
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
}

.bb-slot-provider-popup-host > .section-games-filter__btn {
  display: none !important;
}

/* Saglayici seridi — masaustu */
.bb-provider-strip-block {
  margin: 0 0 14px;
  padding: 0 2px;
}

.bb-provider-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.bb-provider-strip-title {
  margin: 0;
  color: #f0ebe3;
  font: 700 15px/1.2 Poppins, Roboto, Arial, sans-serif;
}

.bb-provider-strip-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bb-provider-strip-count {
  color: rgba(240, 235, 227, 0.55);
  font: 600 12px/1 Roboto, Arial, sans-serif;
}

.bb-provider-strip-nav {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(190, 154, 117, 0.35);
  border-radius: 50%;
  background: rgba(8, 6, 4, 0.9);
  color: #f0ebe3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bb-provider-strip-viewport {
  overflow: hidden;
}

.bb-provider-strip-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 6px 2px 10px !important;
  margin: 0 !important;
  list-style: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bb-provider-strip-list::-webkit-scrollbar {
  display: none;
}

.bb-provider-strip-list > li {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Saglayici kartlari — sade isim chip */
.bingo-provider-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 154, 117, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(26, 21, 16, 0.92) 0%, rgba(14, 11, 8, 0.98) 100%);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(240, 235, 227, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.bingo-provider-card--strip {
  width: auto;
  min-width: 92px;
  max-width: 150px;
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
}

.bingo-provider-card--popup {
  width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
}

.bingo-provider-name {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #f0ebe3;
  font: 700 12px/1.2 Poppins, Roboto, Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bingo-provider-card:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 188, 130, 0.48);
  background: linear-gradient(180deg, rgba(30, 24, 18, 0.96) 0%, rgba(18, 14, 10, 0.98) 100%);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(240, 235, 227, 0.14);
}

.bingo-provider-card.is-active,
.bingo-provider-card._active,
.bingo-provider-card[aria-pressed="true"] {
  border-color: rgba(240, 235, 227, 0.55);
  background: linear-gradient(180deg, rgba(190, 154, 117, 0.38) 0%, rgba(26, 21, 16, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(240, 235, 227, 0.18),
    0 6px 18px rgba(26, 21, 16, 0.42),
    inset 0 1px 0 rgba(240, 235, 227, 0.2);
}

.bingo-provider-card.is-active .bingo-provider-name,
.bingo-provider-card._active .bingo-provider-name,
.bingo-provider-card[aria-pressed="true"] .bingo-provider-name {
  color: #fff;
}

.bingo-provider-badge {
  position: absolute;
  top: -4px;
  right: 8px;
  left: auto;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 999px;
  font: 700 8px/1.2 Roboto, Arial, sans-serif;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.bingo-provider-badge--hot {
  background: linear-gradient(135deg, #c44d4d, #8b1a22);
}

.bingo-provider-badge--new {
  background: linear-gradient(135deg, #7b4fd8, #4a2a8f);
}

.bingo-provider-badge--jackpot {
  background: linear-gradient(135deg, #9a9080, #4a5278);
  color: #f0ebe3;
}

.bingo-provider-list--popup {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px !important;
  padding: 8px 6px 16px !important;
  margin: 0 !important;
  list-style: none !important;
  max-height: 60vh;
  overflow: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 154, 117, 0.55) rgba(8, 6, 4, 0.9);
}

.bingo-provider-list--popup::-webkit-scrollbar {
  width: 8px;
}

.bingo-provider-list--popup::-webkit-scrollbar-thumb {
  background: rgba(190, 154, 117, 0.55);
  border-radius: 999px;
  border: 2px solid rgba(8, 6, 4, 0.9);
}

.bb-slot-provider-popup-host .section-games-filter-popup__body {
  padding: 10px !important;
}

.bb-slot-provider-popup-host .section-games-filter-popup__subheader .sport-search {
  border: 1px solid rgba(190, 154, 117, 0.32);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(20, 16, 12, 0.96), rgba(8, 6, 4, 0.98));
}

.bb-slot-provider-popup-host .section-games-filter-popup__subheader .sport-search__input {
  color: #f0ebe3;
}

.bb-slot-provider-popup-host .section-games-filter-popup__subheader .sport-search__input::placeholder {
  color: rgba(240, 235, 227, 0.42);
}

.taccasino-provider-apply-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 12px !important;
  border: 1px solid rgba(190, 154, 117, 0.45) !important;
  background: linear-gradient(145deg, #d4bc82, #be9a75) !important;
  color: #1a140a !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 992px) {
  .bb-slot-provider-popup-host {
    display: none !important;
  }

  .bb-slot-provider-btn {
    display: none !important;
  }

  .bb-slot-search-row {
    flex-direction: row;
    align-items: center;
  }

  .bb-slot-search {
    flex: 1 1 auto;
  }

  .bb-slot-provider-btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 160px;
  }
}

@media (max-width: 991px) {
  .bb-slot-page .bb-provider-strip-block {
    display: block !important;
  }

  .bb-slot-page .bb-slot-provider-btn {
    display: none !important;
  }

  .bb-slot-provider-popup-host .section-games-filter__popup {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 10060 !important;
    background-color: rgba(4, 3, 2, 0.92) !important;
    backdrop-filter: blur(8px);
  }

  .bb-slot-provider-popup-host .section-games-filter__popup._active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .bb-slot-provider-popup-host .section-games-filter-popup {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
    background: linear-gradient(180deg, #0c0a08 0%, #080604 100%) !important;
  }

  .bb-slot-provider-popup-host .section-games-filter-popup__header {
    flex-shrink: 0 !important;
    border-bottom: 1px solid rgba(190, 154, 117, 0.22);
  }

  .bb-slot-provider-popup-host .section-games-filter-popup__title {
    color: #f0ebe3 !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
  }

  .bb-slot-provider-popup-host .section-games-filter-popup__subheader {
    flex-shrink: 0 !important;
    margin-bottom: 8px !important;
  }

  .bb-slot-provider-popup-host .section-games-filter-popup__body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px !important;
  }

  .bb-slot-provider-popup-host .section-games-filter-popup__footer {
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: #080604 !important;
    border-top: 1px solid rgba(190, 154, 117, 0.22) !important;
  }

  .bb-slot-provider-popup-host .bingo-provider-list--popup {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 8px !important;
  }
}

@media (max-width: 768px) {
  .bingo-provider-list--popup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
  }

  .bingo-provider-card--popup {
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
  }

  .bingo-provider-card--strip {
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    min-width: 84px;
  }

  .bingo-provider-name {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .bingo-provider-list--popup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
