/* Stronger zebra striping for table rows */
.table-zebra tbody tr:nth-child(odd) {
  background-color: #232946 !important; /* dark blue */
}
.table-zebra tbody tr:nth-child(even) {
  background-color: #283472 !important; /* even darker */
}
.thead {
  background-color: darkgrey !important; /* header background */
  color:white;
  
}

.loading-bar {
            opacity: 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, transparent,
                #000, transparent,
                #000, transparent
            );
        }
    
  .htmx-request.loading-bar {
      opacity: 1;
      animation: fadeIn 2s linear forwards, slide 0.8s ease-in-out infinite;
  }
  @keyframes slide {
      0%   { transform: translateX(-100%); }
      100% { transform: translateX( 100%); }
  }

  @keyframes fadeIn {
      0%   { opacity: 0; }
      50%  { opacity: 0; }
      100% { opacity: 1; }
        }

.battlenet-btn {
  background-color: #0074e0;
  color: white;
  border: none;
}
.battlenet-btn:hover {
  background-color: #148eff; /* Darker blue on hover */
  color: white; /* White text on hover */
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.stats-col {
  flex: 1 1 0;
  min-width: 250px;
  background: #232946;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px 0 #0002;
}
@media (max-width: 800px) {
  .stats-row {
    flex-direction: column;
    gap: 1rem;
  }
}
