/* Page 03 – Indi Bet (matches real Indibet structure) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.indibet-page {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #263238;
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

/* ----- Layout ----- */
.indibet-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ----- Header ----- */
.indibet-header {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #263238;
  border-bottom: 1px solid #e0e0e0;
}

.indibet-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 64px;
  gap: 16px;
  background: #fff;
}

.indibet-header .header_main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.indibet-header .header_main--left {
  flex: 1;
  min-width: 0;
}

.indibet-header .header_main--right {
  flex-shrink: 0;
}

.indibet-header-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #1976d2;
  border-radius: 6px;
  transition: background 0.2s;
}

.indibet-header-menu-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.indibet-header-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.indibet-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.indibet-logo:hover {
  opacity: 0.9;
}

.indibet-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
}

.indibet-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
}

.indibet-logo-icon svg {
  width: 20px;
  height: 20px;
}

.indibet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  height: 32px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.indibet-btn--outline {
  background: transparent;
  color: #37474f;
  border-color: #90a4ae;
}

.indibet-btn--outline:hover {
  border-color: #546e7a;
  color: #263238;
  background: rgba(0, 0, 0, 0.04);
}

.indibet-btn--primary {
  background: #1976d2;
  color: #fff;
  border-color: #1976d2;
}

.indibet-btn--primary:hover {
  background: #1565c0;
  border-color: #1565c0;
  color: #fff;
}

.header_banner {
  width: 100%;
  padding: 8px 24px;
  background: #4fc3f7;
  flex-shrink: 0;
}

.banner_scroll_main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner_scroll_container {
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  max-width: 100%;
}

.banner_scroll_container span {
  display: inline-block;
  padding-right: 2em;
  animation: indibet-banner-scroll 30s linear infinite;
}

@keyframes indibet-banner-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- Layout: fixed left sidebar + scrollable body (4 columns) -----
   • Left: .indibet-sider = fixed, Sportsbook, Casino, Exchange, Promotions only.
   • Body: .body-scroll = scrollable, 4 cols = Sports list | Cricket filters | Match list | Match details panel. */
.indibet-sublayout {
  display: flex;
  flex: 1;
  min-height: 0;
  background: #eceff1;
}

/* Fixed left sidebar – redesigned: main nav only */
.indibet-sider {
  width: 200px;
  flex-shrink: 0;
  background: #fafbfc;
  border-right: 1px solid #e8ecf0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  transition: width 0.2s ease;
  border-radius: 0 14px 14px 0;
  margin: 8px 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Hide any stray direct-child aside (e.g. from umi) so only our .indibet-sider is the left sidebar */
.indibet-sublayout > aside:not(.indibet-sider) {
  display: none !important;
}

.indibet-sider--collapsed {
  width: 56px;
}

.indibet-sider--collapsed .nav_label,
.indibet-sider--collapsed .nav_submenu_children,
.indibet-sider--collapsed .nav_arrow,
.indibet-sider--collapsed .nav_count {
  display: none !important;
}

/* Collapsed: only icons visible, centered and wider */
.indibet-sider--collapsed .nav_menu_box {
  padding-left: 8px;
  padding-right: 8px;
}

.indibet-sider--collapsed .nav_menu_item > a,
.indibet-sider--collapsed .nav_submenu_row {
  justify-content: center;
  padding-left: 8px;
  padding-right: 8px;
}

.indibet-sider--collapsed .nav_icon {
  width: 36px;
  height: 36px;
  font-size: 26px;
}

.indibet-sider--collapsed .nav_menu_item > a .nav_label {
  display: none !important;
}

.indibet-sider--collapsed .indibet-sider-toggle-icon {
  transform: rotate(180deg);
}

.indibet-sider-toggle {
  position: absolute;
  top: 12px;
  right: -12px;
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 50%;
  cursor: pointer;
  color: #546e7a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}

.indibet-sider-toggle:hover {
  background: #f5f5f5;
  color: #263238;
}

.indibet-sider-toggle-icon {
  transition: transform 0.2s;
}

/* Sidebar nav – redesigned: bigger icons, clear hierarchy */
.indibet-sider .nav_menu_box {
  padding: 16px 12px 20px;
  padding-top: 52px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 64px - 80px);
  -webkit-overflow-scrolling: touch;
}

.indibet-sider .nav_menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.indibet-sider .nav_menu_item {
  display: flex;
  align-items: stretch;
  padding: 0;
  margin: 0 0 6px 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.88);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.indibet-sider .nav_menu_item > a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 500;
}

.indibet-sider .nav_menu_item > a .nav_label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.indibet-sider .nav_menu_item:hover {
  background: transparent;
}

.indibet-sider .nav_menu_item > a:hover {
  background: rgba(25, 118, 210, 0.08) !important;
}

.indibet-sider .nav_menu_item--selected,
.indibet-sider .nav_menu_item--selected > a {
  background: #e3f2fd !important;
  color: #1976d2 !important;
  border: 1px solid #1976d2 !important;
  box-shadow: 0 0 0 1px rgba(25, 118, 210, 0.15) !important;
}

.indibet-sider .nav_menu_item--selected:hover,
.indibet-sider .nav_menu_item--selected > a:hover {
  background: #bbdefb !important;
  color: #1565c0 !important;
  border-color: #1565c0 !important;
}

.indibet-sider .nav_menu_item:not(.nav_menu_item--selected) .nav_icon {
  color: #1976d2 !important;
}

.indibet-sider .nav_menu_item:not(.nav_menu_item--selected) > a {
  color: #37474f !important;
}

.indibet-sider .nav_menu_item:not(.nav_menu_item--selected):hover > a,
.indibet-sider .nav_menu_item:not(.nav_menu_item--selected):hover .nav_icon {
  color: #1976d2 !important;
}

/* Main nav icons */
.indibet-sider .nav_icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(25, 118, 210, 0.08);
}

.indibet-sider .nav_menu_item--selected .nav_icon {
  background: rgba(25, 118, 210, 0.15) !important;
}

/* Casino block */
.indibet-sider .nav_submenu {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  margin: 0 0 6px 0;
}

.indibet-sider .nav_submenu:not(.nav_menu_item--selected) .nav_icon,
.indibet-sider .nav_submenu:not(.nav_menu_item--selected) .nav_label,
.indibet-sider .nav_submenu:not(.nav_menu_item--selected) .nav_arrow {
  color: #37474f !important;
}

.indibet-sider .nav_submenu:hover .nav_icon,
.indibet-sider .nav_submenu:hover .nav_label,
.indibet-sider .nav_submenu:hover .nav_arrow {
  color: #1976d2 !important;
}

.indibet-sider .nav_submenu_row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.indibet-sider .nav_submenu_row:hover {
  background: rgba(25, 118, 210, 0.08) !important;
}

.indibet-sider .nav_submenu_row .nav_label {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
}

.indibet-sider .nav_submenu_row .nav_arrow {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
}

.indibet-sider .nav_submenu_row .nav_arrow:hover {
  background: rgba(0, 0, 0, 0.06);
}

.indibet-sider .nav_submenu--open .nav_submenu_row .nav_arrow {
  transform: rotate(180deg);
}

/* Casino sub-items: hidden until dropdown is opened */
.indibet-sider .nav_submenu_children {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s, margin 0.2s, padding 0.2s;
  border-left: 3px solid transparent;
  margin-left: 14px;
  padding-left: 0;
}

.indibet-sider .nav_submenu--open .nav_submenu_children {
  max-height: 280px;
  visibility: visible;
  opacity: 1;
  margin-top: 6px;
  padding: 0 0 8px 0;
  padding-left: 12px;
  border-left-color: #e3f2fd;
}

.indibet-sider .nav_submenu_children li {
  margin: 0 0 4px 0;
}

.indibet-sider .nav_submenu_children a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #37474f !important;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.indibet-sider .nav_submenu_children a:hover {
  background: rgba(25, 118, 210, 0.08) !important;
  color: #1976d2 !important;
}

/* Sub-item icons: same style as parent nav icons */
.indibet-sider .nav_sub_icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  color: #1976d2 !important;
  border-radius: 8px;
  background: rgba(25, 118, 210, 0.08);
}

.indibet-sider .nav_arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  margin-left: auto;
  transform: rotate(0deg);
  opacity: 0.9;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
}

.indibet-sider .nav_count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45) !important;
  flex-shrink: 0;
}

.indibet-sider .nav_menu_item--selected .nav_count {
  color: #1976d2 !important;
}

/* ----- Sports section in sidebar ----- */
.indibet-sider .nav_sports_section {
  padding: 14px 10px 8px;
  border-top: 1px solid #e8e8e8;
  margin-top: 8px;
  background: #f5f5f5;
  margin-left: 0;
  margin-right: 0;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 0 0 8px 0;
}

.indibet-sider .nav_sports_title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0 10px 6px;
  margin: 0;
}

.indibet-sider .nav_sports_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.indibet-sider .nav_sports_item {
  margin: 0 0 2px 0;
}

.indibet-sider .nav_sports_item a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px 8px 6px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88) !important;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.indibet-sider .nav_sports_item a .nav_label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.indibet-sider .nav_sports_item a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.indibet-sider .nav_sports_item--active a {
  background: #fff8f0 !important;
  color: #e85d04 !important;
}

.indibet-sider .nav_sports_icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.indibet-sider .nav_sports_item .nav_count {
  margin-left: auto;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45) !important;
}

.indibet-sider .nav_sports_item--active .nav_count {
  color: rgba(232, 93, 4, 0.9) !important;
}

/* Cricket (and other sports) with submenu */
.indibet-sider .nav_sports_item--has-sub > a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.indibet-sider .nav_sports_item--has-sub .nav_arrow {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.indibet-sider .nav_sports_item--has-sub.nav_sports_item--open .nav_arrow {
  transform: rotate(180deg);
}

.indibet-sider .nav_sports_sub {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 40px;
  padding-top: 4px;
  padding-bottom: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.indibet-sider .nav_sports_item--has-sub.nav_sports_item--open .nav_sports_sub {
  max-height: 320px;
}

.indibet-sider .nav_sports_sub_item {
  margin: 0 0 2px 0;
}

.indibet-sider .nav_sports_sub_item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.78) !important;
  text-decoration: none;
  border-radius: 6px;
  background: transparent;
}

.indibet-sider .nav_sports_sub_item a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.indibet-sider .nav_sports_sub_item--active a {
  background: #fff8f0 !important;
  color: #e85d04 !important;
}

.indibet-sider .nav_sports_sub_item .nav_count {
  margin-left: auto;
  font-size: 12px;
}

.indibet-sider .nav_sports_item--has-sub {
  cursor: pointer;
}

/* ----- Main content ----- */
.indibet-main {
  flex: 1;
  min-width: 0;
  padding: 0 16px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px 0 0 0;
  margin: 8px 8px 8px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.main-content-banner {
  width: 100%;
  padding: 10px 0;
  background: #1976d2;
  flex-shrink: 0;
}

.main-content-banner-inner {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Scrollable body with 4 columns */
.body-scroll {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.body-col {
  flex-shrink: 0;
  padding: 12px 10px;
  border-right: 1px solid #e8e8e8;
  background: #fff;
}

.body-col-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0 10px 6px;
  margin: 0 0 8px 0;
  border-bottom: 1px solid #eee;
}

.body-col-sports {
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.body-sports-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.body-sports-item {
  margin: 0;
}

.body-sports-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px 12px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.88);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  min-height: 64px;
}

.body-sports-item a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.body-sports-item--active a {
  background: #fff8f0;
  color: #e85d04;
}

.body-sports-icon {
  font-size: 28px;
  line-height: 1;
  display: block;
  flex-shrink: 0;
}

.body-sports-name {
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
  text-align: center;
}

.body-sports-count {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.body-sports-item--active .body-sports-count {
  color: rgba(232, 93, 4, 0.9);
}

.body-col-filters {
  width: 160px;
}

.body-filters-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.body-filter-item {
  margin: 0 0 2px 0;
}

.body-filter-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 6px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.78);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.body-filter-item a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.body-filter-item--active a {
  background: #e85d04;
  color: #fff;
}

.body-filter-icon {
  font-size: 14px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.body-filter-label {
  flex: 1;
  min-width: 0;
}

.body-filter-count {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.body-filter-item--active .body-filter-count {
  color: rgba(255, 255, 255, 0.9);
}

.body-col-content {
  flex: 1;
  min-width: 280px;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.body-col-content .main-search-bar {
  flex-shrink: 0;
}

.body-col-content .main-section-title {
  flex-shrink: 0;
}

.body-col-content .main-match-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.body-col-panel {
  width: 280px;
  border-right: none;
  padding: 12px;
}

.body-col-panel .main-right-panel {
  width: 100%;
  max-width: none;
}

.main-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.main-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #546e7a;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.main-tab:hover {
  color: #263238;
  border-color: #b0bec5;
}

.main-tab--active {
  background: #e85d04;
  color: #fff;
  border-color: #e85d04;
}

.main-tab-count {
  font-size: 12px;
  opacity: 0.9;
}

.main-tab-icon {
  font-size: 14px;
  opacity: 0.9;
}

.main-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.main-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  height: 36px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.main-search-icon {
  font-size: 14px;
  margin-right: 8px;
  opacity: 0.6;
}

.main-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font-size: 14px;
  outline: none;
}

.main-odds-select {
  height: 36px;
  padding: 0 32px 0 12px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.main-match-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: #546e7a;
}

.main-match-btn:hover {
  border-color: #b0bec5;
  color: #263238;
}

.main-match-icon {
  font-size: 14px;
}

.main-match-select {
  height: 36px;
  padding: 0 32px 0 12px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  min-width: 180px;
}

.main-filter-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: #546e7a;
}

.main-filter-arrow:hover {
  border-color: #b0bec5;
  color: #263238;
}

.main-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #546e7a;
  cursor: pointer;
}

.main-filter-gear {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-filter-gear:hover {
  background: #f5f5f5;
}

.main-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.main-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #546e7a;
  cursor: pointer;
}

.main-filter-tabs {
  display: flex;
  gap: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.main-filter-tab {
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #546e7a;
  background: #fff;
  border: none;
  border-right: 1px solid #e0e0e0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.main-filter-tab:last-child {
  border-right: none;
}

.main-filter-tab:hover {
  background: #f5f5f5;
  color: #263238;
}

.main-filter-tab--active {
  background: #e85d04;
  color: #fff;
  border-color: #e85d04;
}

.main-filter-tab--active:hover {
  background: #d54d02;
  color: #fff;
}

.main-filter-select {
  height: 36px;
  padding: 0 28px 0 12px;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.main-refresh-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  color: #546e7a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-refresh-btn:hover {
  background: #f5f5f5;
  color: #263238;
}

.main-match-list {
  min-width: 0;
}

.main-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #e85d04;
  padding: 8px 0;
}

.match-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 14px 52px 14px 16px;
  margin-bottom: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.match-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.match-league {
  font-size: 13px;
  font-weight: 600;
  color: #263238;
}

.match-meta {
  font-size: 12px;
  color: #78909c;
}

.match-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.match-badge--live {
  background: #c62828;
  color: #fff;
}

.match-card-teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.match-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.match-team-name {
  font-weight: 600;
  font-size: 14px;
  color: #263238;
}

.match-team-score {
  font-size: 13px;
  color: #546e7a;
}

.match-team-score small {
  font-size: 11px;
  color: #78909c;
}

.match-bet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  font-size: 12px;
}

.match-bet-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-weight: 600;
  color: #546e7a;
  padding-bottom: 4px;
}

.match-bet-row {
  display: contents;
}

.match-bet-cell {
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
}

.match-bet-back {
  background: #e3f2fd;
  color: #1565c0;
}

.match-bet-lay {
  background: #fce4ec;
  color: #c2185b;
}

.match-expand-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: none;
  background: none;
  font-size: 14px;
  color: #546e7a;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.match-expand-btn:hover {
  color: #263238;
  background: #f5f5f5;
}

.match-expand-arrow {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.match-expand-num {
  font-size: 13px;
  font-weight: 500;
}

/* Right panel: match details only (not a nav sidebar – complements main content) */
.main-right-panel {
  width: 280px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 16px;
  height: fit-content;
  max-height: 400px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.main-right-panel .panel-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 8px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.panel-match-title {
  font-size: 16px;
  font-weight: 700;
  color: #263238;
  margin-bottom: 4px;
}

.panel-match-status {
  font-size: 12px;
  font-weight: 600;
  color: #1976d2;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel-status-icon {
  color: #1976d2;
  font-size: 10px;
}

.panel-score-table {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.panel-score-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  padding: 8px 12px;
  font-size: 13px;
  border-bottom: 1px solid #e0e0e0;
}

.panel-score-row:last-child {
  border-bottom: none;
}

.panel-score-row--head {
  background: #f5f5f5;
  font-weight: 600;
  color: #546e7a;
  font-size: 12px;
}

.panel-score-row span:first-child {
  font-weight: 600;
  color: #263238;
}

.panel-score-row--head span:first-child {
  font-weight: 600;
  color: #546e7a;
}

.panel-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-btn {
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #263238;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.panel-btn:hover {
  background: #f5f5f5;
}

.panel-btn--primary {
  background: #e85d04;
  color: #fff;
  border-color: #e85d04;
}

.panel-btn--primary:hover {
  background: #d54d02;
  color: #fff;
}

/* ----- Footer ----- */
.indibet-footer {
  background: #f5f5f5;
  padding: 40px 24px 28px;
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}

.foot_main {
  max-width: 1200px;
  margin: 0 auto;
}

.foot_nav {
  margin-bottom: 32px;
}

.foot_menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 40px;
}

.foot_menu li {
  margin: 0;
}

.foot_menu_title {
  font-weight: 700;
  font-size: 14px;
  color: #263238;
  margin-bottom: 12px;
}

.indibet-footer-item {
  display: block;
  font-size: 13px;
  color: #546e7a;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.indibet-footer-item:hover {
  color: #1976d2;
}

/* Branding section – centered */
.foot_brand {
  text-align: center;
  padding: 28px 0 24px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 24px;
}

.foot_brand_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
}

.foot_brand .foot_logo_link {
  display: inline-flex;
  text-decoration: none;
}

.foot_brand .foot_logo_link:hover {
  opacity: 0.85;
}

.foot_logo_img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.foot_sponsors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.foot_sponsors_label {
  font-size: 11px;
  font-weight: 600;
  color: #78909c;
  letter-spacing: 0.06em;
}

.foot_sponsors_logo {
  font-size: 12px;
  font-weight: 700;
  color: #37474f;
  padding: 10px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  min-width: 120px;
  text-align: center;
}

.foot_18_badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.foot_android {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.foot_android_title {
  font-size: 13px;
  font-weight: 600;
  color: #263238;
}

.foot_android_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #263238;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  border-radius: 8px;
  transition: background 0.2s;
}

.foot_android_btn:hover {
  background: #37474f;
  color: #fff;
}

.foot_android_icon {
  font-size: 20px;
  line-height: 1;
}

/* Social – centered */
.foot_social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.foot_social_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #37474f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.foot_social_icon:hover {
  background: #1976d2;
  color: #fff;
}

/* Responsible gambling badge */
.foot_responsible {
  text-align: center;
  margin-bottom: 24px;
}

.foot_responsible_badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  background: #fff;
  gap: 2px;
}

.foot_responsible_18 {
  font-size: 18px;
  font-weight: 700;
  color: #263238;
}

.foot_responsible_text {
  font-size: 9px;
  font-weight: 600;
  color: #546e7a;
  text-align: center;
  line-height: 1.2;
  max-width: 60px;
}

.foot_info_text {
  font-size: 12px;
  color: #78909c;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.foot_tail {
  margin: 0;
  font-size: 12px;
  color: #90a4ae;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

@media (max-width: 900px) {
  .foot_menu {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .indibet-footer {
    padding: 28px 16px 24px;
  }

  .foot_menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    margin-bottom: 24px;
  }

  .foot_brand_inner {
    flex-direction: column;
    gap: 20px;
  }
}

/* ----- Login overlay ----- */
.indibet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}

.indibet-overlay--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.indibet-login-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.indibet-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #78909c;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.indibet-modal-close:hover {
  color: #263238;
  background: #eceff1;
}

.indibet-login-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #263238;
  text-align: left;
}

.indibet-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.indibet-tab {
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #78909c;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.indibet-tab:hover {
  color: #546e7a;
}

.indibet-tab--active {
  color: #263238;
  border-bottom-color: #263238;
}

.indibet-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.indibet-field {
  margin-bottom: 18px;
}

.indibet-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #37474f;
}

.indibet-phone-row {
  display: flex;
  gap: 0;
  border: 1px solid #b0bec5;
  border-radius: 6px;
  overflow: hidden;
}

.indibet-phone-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: #263238;
  border: none;
  outline: none;
}

.indibet-phone-input::placeholder {
  color: #90a4ae;
}

.indibet-phone-row:focus-within {
  border-color: #1565c0;
  box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

.indibet-country-code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f5f5f5;
  border-left: 1px solid #b0bec5;
  font-size: 14px;
  color: #37474f;
  cursor: pointer;
}

.indibet-flag {
  font-size: 18px;
  line-height: 1;
}

.indibet-dropdown-arrow {
  font-size: 10px;
  opacity: 0.8;
}

.indibet-field--otp label {
  margin-bottom: 8px;
}

.indibet-otp-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #b0bec5;
  border-radius: 6px;
  overflow: hidden;
}

.indibet-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f5f5f5;
  border-right: 1px solid #b0bec5;
  color: #78909c;
}

.indibet-otp-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  border: none;
  outline: none;
}

.indibet-otp-input::placeholder {
  color: #90a4ae;
}

.indibet-otp-row:focus-within {
  border-color: #1565c0;
  box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

.indibet-btn--getcode {
  padding: 0 16px;
  height: 44px;
  background: #1565c0;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.indibet-btn--getcode:hover {
  background: #0d47a1;
}

.indibet-btn--submit {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  margin-bottom: 20px;
  background: #1565c0;
  color: #fff;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.indibet-btn--submit:hover {
  background: #0d47a1;
}

.indibet-form-footer {
  margin: 0;
  font-size: 13px;
  color: #546e7a;
  text-align: center;
}

.indibet-form-footer a {
  color: #1565c0;
  font-weight: 600;
  text-decoration: none;
}

.indibet-form-footer a:hover {
  text-decoration: underline;
}

.indibet-message {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.indibet-message--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.indibet-message--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Chat icon */
.indibet-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #379fff;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(55, 159, 255, 0.4);
  transition: background 0.2s, transform 0.2s;
  z-index: 100;
}

.indibet-chat:hover {
  background: #257cd9;
  transform: scale(1.05);
  color: #fff;
}

@media (max-width: 768px) {
  .indibet-sider {
    width: 56px;
  }
  .indibet-sider-toggle {
    display: none;
  }
  .nav_label,
  .nav_submenu_children,
  .nav_arrow,
  .nav_count,
  .nav_sports_section {
    display: none !important;
  }
  .nav_submenu--open .nav_submenu_children {
    display: none !important;
  }
  .body-scroll {
    flex-direction: column;
  }
  .body-col-sports,
  .body-col-filters,
  .body-col-content,
  .body-col-panel {
    width: 100%;
  }
  .main-right-panel {
    width: 100%;
    max-width: none;
  }
  .foot_menu {
    grid-template-columns: 1fr 1fr;
  }
}
