.sidebar {
  min-height: 100vh;
  background-color: #343a40;
}
.btn-toggle {
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 0;
}
.btn-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}
.btn-toggle-nav a {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 1rem;
}
.btn-toggle-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Mobile Navigation Styles */
.mobile-nav-toggle {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1050;
  background-color: #343a40;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

.mobile-nav-toggle:hover {
  background-color: #495057;
  color: white;
}

.offcanvas-header {
  background-color: #343a40;
  color: white;
}

.offcanvas-body {
  background-color: #343a40;
  color: white;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.number-ball {
  display: inline-block;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 20px;
  line-height: 55px;
  text-align: center;
  margin: 0 10px 10px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  position: relative;
}

.number-ball:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.main-ball {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: 3px solid #fff;
}

.euro-ball {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  border: 3px solid #fff;
  color: #333;
}

.numbers-display {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.numbers-container {
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.numbers-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-item {
  padding: 1rem;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.feature-icon {
  transition: all 0.3s ease;
}

.card:hover .feature-icon {
  transform: scale(1.1);
}

/* Modern Dropdown Styling */
.dropdown-toggle::after {
  margin-left: 0.5rem;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.dropdown-toggle:hover::after {
  opacity: 1;
}

.dropdown-toggle:focus {
  box-shadow: none !important;
  outline: none !important;
}

.dropdown-menu {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  max-height: 300px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: none;
  background: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #495057;
}

.dropdown-item:focus {
  background-color: #e9ecef;
  color: #495057;
}

.dropdown-divider {
  margin: 0.5rem 0;
  opacity: 0.2;
}

/* Modern Card Styling */
.card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.card:hover {
  transform: translateY(-2px);
}

.card-body {
  border-radius: 12px;
}

/* Clean Number Ball Styling for Drawing Results */
.rounded-circle {
  transition: all 0.2s ease;
  border: 2px solid rgba(255,255,255,0.2);
}

.rounded-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Badge Styling */
.badge {
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

/* Button Styling */
.btn-link {
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-link:hover {
  color: #0d6efd !important;
}

/* Info Cards Styling */
.bg-light {
  background-color: #f8f9fa !important;
  transition: all 0.3s ease;
}

.bg-light:hover {
  background-color: #e9ecef !important;
}

/* Statistics Bar */
.bg-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important;
}

/* Typography */
.fw-light {
  font-weight: 300 !important;
}

.text-muted {
  color: #6c757d !important;
}

/* Spacing and Layout */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Loading Spinner */
.spinner-border {
  width: 2rem;
  height: 2rem;
}

/* Alert Styling */
.alert {
  border-radius: 8px;
  border: none;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Icon Styling */
.bi {
  transition: all 0.2s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .dropdown-menu {
    max-height: 250px;
  }
}

@media (max-width: 576px) {
  .number-ball {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    margin: 0 5px 5px 0;
  }
  
  .rounded-circle {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
  
  .card-body {
    padding: 1rem !important;
  }
  
  .btn-link {
    font-size: 1.1rem;
  }
}

/* Smooth Animations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus States */
.btn:focus,
.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Custom Scrollbar for Dropdown */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}