body {
  font-family: 'Poppins', sans-serif;
  background-color: #121212;
  color: #fff;
  margin: 0;
}
.filter-button {
  background-color: transparent;
  border: none;
  color: #999;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: 0.2s ease;
  white-space: nowrap;
}
.filter-button:hover {
  color: #fff;
  background-color: #333;
}
.filter-button.active {
  background-color: #FF5F2E;
  color: #fff !important;
}
/* Footer bawah hanya muncul di mobile */
@media (min-width: 768px) {
.bottom-nav {
display: none !important;
}
}

/* Batasi lebar konten utama */
.main-wrapper {
max-width: 1080px;
margin: 0 auto;
padding: 0 15px;
}

.date-bar-wrapper {
  padding: 0;
}

#matchFilterBar {
  display: flex;
  width: 100%;
}

.filter-button {
  flex: 1;
  font-size: 0.75rem;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: #ccc;
  transition: 0.2s;
  font-weight: 500;
  line-height: 1.2;
}

.filter-button:hover {
  background-color: #2e2e2e;
  color: white;
}

.filter-button.active {
  background-color: #ff5722;
  color: white;
  font-weight: 700;
  border-radius: 8px;
}
/* Upgrade Hover Sport Button */
.btn-sport:hover {
  background: linear-gradient(to right, #0d6efd, #1e90ff);
  color: white !important;
  border-color: transparent;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.5);
}

/* Upgrade Hover Tanggal */
.filter-button:hover {
  background: rgba(255, 87, 34, 0.2);
  color: #ff5722;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 rgba(255, 87, 34, 0.6);
  transition: all 0.25s ease-in-out;
}
/* LOADER LINGKARAN MUTER */
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 6px solid #0d6efd;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #0d6efd transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Sembunyikan semua text default sebelum widget proper muncul */
#wg-api-football-games {
  color: transparent;
  font-size: 0;
  position: relative;
}

#wg-api-football-games.ready {
  color: inherit;
  font-size: inherit;
}
@media (min-width: 768px) {
  nav.fixed-bottom {
    display: none !important;
  }
}

.nav-item-footer:hover {
  color: #0d6efd !important;
  transition: all 0.2s ease-in-out;
}

.nav-item-footer.active {
  color: #0d6efd !important;
  font-weight: bold;
}
.has-bottom-nav {
  margin-bottom: 80px; /* cukup buat nav tinggi + jarak */
}
@media (max-width: 768px) {
  .sidebar-left {
    display: none !important;
    visibility: hidden;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
}

.offcanvas-body ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #ccc;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.offcanvas-body ul li a:hover {
  background-color: #0d6efd20;
  color: #0d6efd;
}
body.dark-mode {
  background-color: #0e0e0e;
  color: #fff;
}

body.dark-mode .bg-dark {
  background-color: #1a1a1a !important;
}

body.dark-mode a {
  color: #ccc;
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background-color: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 6px #00ff00;
  animation: blink 1s infinite ease-in-out;
  vertical-align: middle;
  }
  
  @keyframes blink {
  0%, 100% {
  opacity: 1;
  transform: scale(1);
  }
  50% {
  opacity: 0.3;
  transform: scale(1.3);
  }
  }
  .sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .sidebar-link:hover {
    background: linear-gradient(to right, #ff5722, #ff7043);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 0 10px #ff572250;
  }
  
  .sidebar-btn {
    border: 1px solid #0dcaf0;
    color: #0dcaf0;
    background: transparent;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .sidebar-btn:hover {
    background: linear-gradient(to right, #0dcaf0, #0d6efd);
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 0 10px #0dcaf055;
  }

  .sidebar-btn i {
    font-size: 1rem;
  }
  .login-glow-btn {
    border: none;
    background: linear-gradient(90deg, #0dcaf0, #0072ff);
    color: #fff;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 transparent;
    position: relative;
    overflow: hidden;
  }
  
  .login-glow-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transition: left 0.4s ease;
  }
  
  .login-glow-btn:hover::before {
    left: 100%;
  }
  
  .login-glow-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(13, 202, 240, 0.3);
  }
    
  /* Wrapper animasi */
.dark-toggle-wrapper {
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid #333;
  transition: 0.3s ease;
}

/* Tombol toggle custom */
.custom-dark-toggle {
  width: 50px;
  height: 24px;
  appearance: none;
  background-color: #6c757d;
  border-radius: 50px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-dark-toggle::before {
  content: "";
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: transform 0.3s ease;
}

.custom-dark-toggle:checked {
  background-color: #0d6efd;
}

.custom-dark-toggle:checked::before {
  transform: translateX(26px);
}
.livestream-btn {
  font-size: 0.75rem;
  padding: 6px 10px !important;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 8px;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 1s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(1.4); }
}




