/* 
 * Winners Page Specific Styles
 */ 


/* Winner Item with Prize Name */
.winner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none; /* Prevent any click interactions */
}

.winner-item img {
  max-width: clamp(8rem, 1rem + 20vmin, 15rem);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  pointer-events: none; /* Prevent any click interactions */
  will-change: auto; /* Only change when needed */
  image-rendering: -webkit-optimize-contrast; /* Optimize image rendering */
}

.winner-prize {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color, #ffffff);
  text-align: center;
  max-width: clamp(8rem, 1rem + 20vmin, 15rem);
  word-wrap: break-word;
  hyphens: auto;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(5px);
  opacity: 1; /* Ensure always visible */
  visibility: visible; /* Ensure always visible */
  pointer-events: none; /* Prevent any interactions */
}

/* Dark theme adjustments */
.dark-theme .winner-prize {
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

/* Light theme adjustments */
.light-theme .winner-prize {
  background: rgba(255, 255, 255, 0.9);
  color: #333333;
}


/* Entry List Modal Styles */
#entryListModal .modal-dialog {
  max-width: 95%;
  width: 95%;
}

@media (min-width: 1200px) {
  #entryListModal .modal-dialog {
    max-width: 1400px;
    width: 1400px;
  }
}

#entryListModal .modal-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* Only enable backdrop-filter on desktop for performance */
@media (min-width: 768px) {
  #entryListModal .modal-content {
    backdrop-filter: blur(10px);
  }
}

#entryListModal .modal-header {
  background: linear-gradient(135deg, var(--primary), var(--gradient-mid));
  color: white;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}

#entryListModal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

#entryListModal .modal-title {
  font-weight: 700;
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#entryListModal .modal-title i {
  margin-right: 0.75rem;
  opacity: 0.95;
}

#entryListModal .btn-close {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  opacity: 0.9;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background-image: none !important; /* Hide Bootstrap's default icon */
}

#entryListModal .btn-close::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: white;
  transform: rotate(45deg);
  border-radius: 1px;
  transition: all 0.3s ease;
}

#entryListModal .btn-close::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: white;
  transform: rotate(-45deg);
  border-radius: 1px;
  transition: all 0.3s ease;
}

#entryListModal .btn-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#entryListModal .btn-close:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.3);
  outline: none;
}

#entryListModal .btn-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* Hide close button on mobile */
@media (max-width: 768px) {
  #entryListModal .btn-close {
    display: none !important;
  }
}

/* Dark theme close button */
.dark-theme #entryListModal .btn-close {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.dark-theme #entryListModal .btn-close:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Light theme close button */
.light-theme #entryListModal .btn-close {
  background-color: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

.light-theme #entryListModal .btn-close::before,
.light-theme #entryListModal .btn-close::after {
  background: #333;
}

.light-theme #entryListModal .btn-close:hover {
  background-color: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.3);
}

#entryListModal .modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
  color: var(--text-color);
  background: transparent;
}

#entryListModal .modal-footer {
  background: transparent;
  border-top: 1px solid var(--glass-border);
  border-radius: 0 0 20px 20px;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Competition Stats Cards */
.competition-stats .stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.competition-stats .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gradient-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.competition-stats .stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-color: var(--primary);
}

.competition-stats .stat-card:hover::before {
  transform: scaleX(1);
}

/* Only enable backdrop-filter on desktop */
@media (min-width: 768px) {
  .competition-stats .stat-card {
    backdrop-filter: blur(10px);
  }
}

.competition-stats .stat-icon {
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.competition-stats .stat-card:hover .stat-icon {
  transform: scale(1.1);
  opacity: 1;
}

.competition-stats .stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.competition-stats .stat-card:hover .stat-value {
  transform: scale(1.05);
}

.competition-stats .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Dark theme: Make stat labels white */
.dark-theme .competition-stats .stat-label {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Mobile: Make stats 2 per row instead of 4 */
@media (max-width: 767.98px) {
  .competition-stats .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* Winner Information Section */
.winner-info-section .glass-card {
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 16px;
  padding: 1.5rem !important;
  position: relative;
  overflow: hidden;
}

.winner-info-section .glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gradient-mid));
}

.winner-info-section h6 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem !important;
  display: flex;
  align-items: center;
}

.winner-info-section h6 i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.winner-info-section .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.winner-info-section .icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.winner-info-section .fw-bold {
  color: var(--text-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.winner-info-section #winnerName {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
}

/* Entry List Section */
.entry-list-section {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.entry-list-section h6 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}

.entry-list-section h6 i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.entry-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.entry-count span {
  color: var(--primary);
  font-weight: 700;
}

/* Entry List Table */
.entry-list-table {
  background: transparent !important;
  margin-bottom: 0;
  color: var(--text-color);
  border-collapse: separate;
  border-spacing: 0;
  --bs-table-bg: transparent !important;
  --bs-table-accent-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-active-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
}

.entry-list-table tbody {
  background: transparent !important;
  --bs-table-bg: transparent !important;
}

.entry-list-table tbody tr,
.entry-list-table tbody tr td {
  background: transparent !important;
  --bs-table-bg: transparent !important;
}

.entry-list-table thead th {
  background: linear-gradient(135deg, var(--primary), var(--gradient-mid));
  color: white;
  border: none;
  font-weight: 700;
  padding: 1.25rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.entry-list-table thead th:first-child {
  border-radius: 12px 0 0 0;
}

.entry-list-table thead th:last-child {
  border-radius: 0 12px 0 0;
}

.entry-list-table tbody td {
  border-color: var(--glass-border);
  padding: 1rem;
  vertical-align: middle;
  color: var(--text-color);
  font-size: 0.95rem;
  border-top: 1px solid var(--glass-border);
  transition: all 0.2s ease;
  background: transparent !important;
}

.dark-theme .entry-list-table tbody td {
  color: #ffffff !important;
}

.entry-list-table tbody tr {
  transition: all 0.2s ease;
  background: transparent !important;
}

.entry-list-table tbody tr:nth-child(even) {
  background: rgba(var(--primary-rgb), 0.03) !important;
}

.entry-list-table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.08) !important;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.entry-list-table tbody tr td {
  background: transparent !important;
}

.entry-list-container {
  overflow-x: hidden;
}

/* Status Badges */
.entry-list-table .badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.entry-list-table .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.entry-list-table .badge.bg-success {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
}

.entry-list-table .badge.bg-warning {
  background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
  color: #212529 !important;
}

.entry-list-table .badge.bg-secondary {
  background: linear-gradient(135deg, #6c757d, #495057) !important;
  color: white !important;
}

/* Entry List Pagination */
.entry-pagination {
  display: flex;
  justify-content: center;
}

.entry-pagination .pagination {
  margin-bottom: 0;
  gap: 0.5rem;
}

.entry-pagination .page-link {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 42px;
  text-align: center;
}

.entry-pagination .page-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.entry-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary), var(--gradient-mid));
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
  font-weight: 700;
}

.entry-pagination .page-item.disabled .page-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  color: var(--text-muted);
  opacity: 0.5;
  cursor: not-allowed;
}

.entry-pagination .page-item.disabled .page-link:hover {
  transform: none;
  box-shadow: none;
}

/* Loading States */
.entry-list-container .spinner-border {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  #entryListModal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  #entryListModal .modal-body {
    padding: 1rem;
    max-height: 60vh;
  }
  
  #entryListModal .modal-header {
    padding: 1rem;
  }
  
  #entryListModal .modal-title {
    font-size: 1.1rem;
  }
  
  .competition-stats .stat-value {
    font-size: 1.5rem;
  }
  
  .competition-stats .stat-label {
    font-size: 0.8rem;
  }
  
  .entry-list-section {
    padding: 1rem;
  }
  
  .entry-list-table thead th,
  .entry-list-table tbody td {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
  }
  
  .entry-list-table .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
  
  .entry-pagination .page-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .winner-info-section .icon-circle {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 576px) {
  .competition-stats .row {
    margin: 0 -0.5rem;
  }
  
  .competition-stats .col-md-6,
  .competition-stats .col-lg-3 {
    padding: 0 0.5rem;
  }
  
  .entry-list-table {
    font-size: 0.75rem;
  }
  
  .entry-list-table thead th,
  .entry-list-table tbody td {
    padding: 0.4rem 0.2rem;
  }
  
  .entry-list-table .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
  }
  
  .entry-count {
    font-size: 0.8rem;
  }
}

/* Dark Theme Enhancements */
.dark-theme #entryListModal .modal-content {
  background: var(--dark-bg) !important;
  border-color: var(--glass-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.dark-theme #entryListModal .modal-body {
  background: transparent;
}

.dark-theme .competition-stats .stat-card {
  background: var(--glass-bg) !important;
  border-color: var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-theme .competition-stats .stat-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: var(--glass-bg-hover) !important;
}

.dark-theme .winner-info-section .glass-card {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dark-theme .entry-list-section {
  background: var(--glass-bg) !important;
  border-color: var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dark-theme .entry-list-table {
  --bs-table-bg: transparent !important;
  --bs-table-accent-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-active-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  background: transparent !important;
}

.dark-theme .entry-list-table tbody {
  background: transparent !important;
  --bs-table-bg: transparent !important;
}

.dark-theme .entry-list-table tbody td {
  color: #ffffff !important;
  border-color: var(--glass-border);
  background: transparent !important;
  --bs-table-bg: transparent !important;
}

.dark-theme .entry-list-table tbody tr {
  background: transparent !important;
  --bs-table-bg: transparent !important;
}

.dark-theme .entry-list-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02) !important;
  --bs-table-bg: rgba(255, 255, 255, 0.02) !important;
}

.dark-theme .entry-list-table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.12) !important;
  --bs-table-bg: rgba(var(--primary-rgb), 0.12) !important;
}

.dark-theme .entry-list-table tbody tr td {
  background: transparent !important;
  --bs-table-bg: transparent !important;
}

.dark-theme .entry-pagination .page-link {
  background: var(--glass-bg) !important;
  border-color: var(--glass-border);
  color: var(--text-color);
}

.dark-theme .entry-pagination .page-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.dark-theme .entry-count {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.dark-theme #entryListModal .modal-footer {
  border-color: var(--glass-border);
}

.dark-theme #entryListModal .modal-footer .btn-secondary {
  background: var(--glass-bg) !important;
  border-color: var(--glass-border);
  color: var(--text-color);
}

.dark-theme #entryListModal .modal-footer .btn-secondary:hover {
  background: var(--glass-bg-hover) !important;
  border-color: var(--primary);
  color: var(--text-color);
}

/* Light Theme Enhancements */
.light-theme #entryListModal .modal-content {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.light-theme #entryListModal .modal-body {
  background: transparent;
}

.light-theme .competition-stats .stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.light-theme .competition-stats .stat-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 1);
}

.light-theme .winner-info-section .glass-card {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.light-theme .entry-list-section {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.light-theme .entry-list-table tbody td {
  color: #333;
  border-color: rgba(0, 0, 0, 0.08);
  background: transparent !important;
}

.light-theme .entry-list-table tbody tr {
  background: transparent !important;
}

.light-theme .entry-list-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02) !important;
}

.light-theme .entry-list-table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.1) !important;
}

.light-theme .entry-list-table tbody tr td {
  background: transparent !important;
}

.light-theme .entry-pagination .page-link {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

.light-theme .entry-pagination .page-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.light-theme .entry-count {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.2);
  color: #555;
}

.light-theme #entryListModal .modal-footer {
  border-color: rgba(0, 0, 0, 0.1);
}

.light-theme #entryListModal .modal-footer .btn-secondary {
  background: rgba(108, 117, 125, 0.1);
  border-color: rgba(108, 117, 125, 0.3);
  color: #495057;
}

.light-theme #entryListModal .modal-footer .btn-secondary:hover {
  background: rgba(108, 117, 125, 0.2);
  border-color: rgba(108, 117, 125, 0.4);
  color: #212529;
}

/* Animation for modal appearance */
#entryListModal.fade .modal-dialog {
  transform: scale(0.9) translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#entryListModal.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Enhanced button styling */
#entryListModal .modal-footer .btn-secondary {
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

#entryListModal .modal-footer .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Smooth transitions for all interactive elements */
.competition-stats .stat-card,
.entry-list-table tbody tr,
.entry-pagination .page-link,
.winner-info-section .glass-card {
  transition: all 0.3s ease;
}

/* Focus states for accessibility */
.entry-pagination .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
  outline: none;
}

/* Custom scrollbar for modal body */
#entryListModal .modal-body::-webkit-scrollbar {
  width: 10px;
}

#entryListModal .modal-body::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 5px;
}

.dark-theme #entryListModal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.light-theme #entryListModal .modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

#entryListModal .modal-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

#entryListModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-mid);
  border: 1px solid transparent;
} 

/* Winner Carousel Styles */
.winner-card .carousel {
  margin-bottom: 1rem;
}

.winner-card .carousel-indicators {
  bottom: -10px;
  margin-bottom: 0;
}

.winner-card .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.3);
  border: none;
  margin: 0 2px;
  transition: all 0.2s ease;
}

.winner-card .carousel-indicators button.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

.winner-card .carousel-control-prev,
.winner-card .carousel-control-next {
  width: 30px;
  height: 30px;
  background: rgba(var(--primary-rgb), 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 5px;
}

.winner-card .carousel-control-prev {
  left: 5px;
}

.winner-card .carousel-control-next {
  right: 5px;
}

.winner-card .carousel-control-prev-icon,
.winner-card .carousel-control-next-icon {
  width: 15px;
  height: 15px;
}

.winner-card .carousel-inner {
  border-radius: 8px;
  overflow: hidden;
}

.winner-card .carousel-item {
  padding: 0.5rem;
}

/* Winner Details Carousel */
#winnerDetailsCarousel .carousel-indicators {
  position: relative;
  margin-top: 10px;
  bottom: 0;
}

#winnerDetailsCarousel .carousel-control-prev,
#winnerDetailsCarousel .carousel-control-next {
  background: none;
  opacity: 0.7;
}

#winnerDetailsCarousel .carousel-control-prev-icon,
#winnerDetailsCarousel .carousel-control-next-icon {
  filter: invert(1) grayscale(100%) brightness(80%);
}

/* Multiple Winners Indicator */
.winner-card .multiple-winners-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 193, 7, 0.9);
  color: #212529;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
} 

/* Winner Details Container */
.winner-details-container {
  position: relative;
  min-height: 100px;
  transition: all 0.3s ease;
}

.winner-details-item {
  transition: opacity 0.3s ease;
}

/* Make carousel controls more visible */
.winner-card .carousel-control-prev,
.winner-card .carousel-control-next {
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.winner-card .carousel-control-prev:hover,
.winner-card .carousel-control-next:hover {
  opacity: 0.9;
}

/* Improve carousel indicators */
.winner-card .carousel-indicators {
  margin-bottom: -5px;
}

/* Add a subtle animation when switching between winner details */
.winner-details-item {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
} 