/*===========================================
  LOTTERY SECTION - ISOLATED STYLES
  For casino-dashboard.html lottery section
  Extracted from index.html styles
===========================================*/

/*===== LOTTERY VARIABLES =====*/
:root {
  /* Lottery Color Scheme */
  --lottery-bg-primary: #59005c;
  --lottery-bg-secondary: #371f50;
  --lottery-accent-gold: #FFD700;
  --lottery-accent-gold-hover: #FFED4E;
  --lottery-text-primary: #FFFFFF;
  --lottery-text-secondary: #E6E6E6;
  --lottery-text-muted: #A6A6A6;
  
  /* Glassmorphism Effects */
  --lottery-glassmorphism: rgba(255, 255, 255, 0.1);
  --lottery-glassmorphism-light: rgba(255, 255, 255, 0.15);
  --lottery-border-gold: rgba(255, 215, 0, 0.3);
  --lottery-border-subtle: rgba(255, 255, 255, 0.12);
  
  /* Shadows and Effects */
  --lottery-shadow-gold: 0 10px 30px rgba(255, 215, 0, 0.2);
  --lottery-shadow-card: 0 8px 25px rgba(255, 215, 0, 0.15);
  --lottery-text-shadow-gold: 0 0 10px rgba(255, 215, 0, 0.5);
}

/*===== SECTION LAYOUT =====*/
.lottery-services.section {
  padding: 2rem 0;
  background: transparent;
}

.lottery-bd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.lottery-section-subtitle {
  color: var(--lottery-text-secondary);
  font-size: 1rem;
  text-align: center;
  margin: 0.5rem 0;
  font-weight: 400;
}

.lottery-section-title {
  color: var(--lottery-accent-gold);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 1rem 0;
  text-shadow: var(--lottery-text-shadow-gold);
}

/*===== INTERNATIONAL LOTTERIES CAROUSEL =====*/
.lottery-international-lotteries-grid {
  position: relative;
  margin: 2rem 0;
  padding: 0 60px; /* Increased padding for navigation buttons */
  width: 100%;
  max-width: 750px; /* Further reduced for better 1.5 card control */
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* Prevent horizontal overflow */
}

/* Carousel Wrapper */
.lottery-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  max-width: 100%;
}

/* Carousel Track */
.lottery-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  max-width: none; /* Allow track to be wider than container for sliding */
}

/* Carousel Cards - 1.5 cards visible (1 complete + half visible) */
.lottery-carousel-track .lottery-international-card {
  width: 66.6667%; /* Exactly 1.5 cards: 100% / 1.5 = 66.6667% */
  flex: 0 0 auto;
  margin-right: 1.5rem;
  scroll-snap-align: start;
  /* Remove min/max-width constraints that interfere */
}

/* Last card margin fix */
.lottery-carousel-track .lottery-international-card:last-child {
  margin-right: 0;
}

/* Navigation Arrows */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--lottery-glassmorphism);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--lottery-accent-gold);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-nav-btn:hover {
  background: var(--lottery-accent-gold);
  color: var(--lottery-bg-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.carousel-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-prev {
  left: 15px;
  z-index: 15;
}

.carousel-next {
  right: 15px;
  z-index: 15;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-indicator.active {
  background: var(--lottery-accent-gold);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.carousel-indicator:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Auto-scroll Controls */
.carousel-controls {
  position: absolute;
  top: 10px;
  right: 15px;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.carousel-control-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.carousel-control-btn:hover {
  background: var(--lottery-accent-gold);
  color: var(--lottery-bg-primary);
}

.carousel-control-btn.active {
  background: var(--lottery-accent-gold);
  color: var(--lottery-bg-primary);
}

/* Touch Gesture Indicators */
.carousel-touch-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.carousel-touch-hint.show {
  opacity: 1;
}

/* Responsive Design */
/* Mantener 1.5 cards consistente en todos los anchos de desktop (≥992px) */
@media (min-width: 992px) {
  .lottery-carousel-track .lottery-international-card {
    width: 66.6667%; /* Exactamente 1.5 cards en todos los anchos desktop */
    margin-right: 1.5rem;
  }
  
  .lottery-international-lotteries-grid {
    padding: 0 60px;
    max-width: 750px;
  }
}

@media (max-width: 768px) {
  .lottery-carousel-track .lottery-international-card {
    width: 100%; /* Single card on tablet/mobile */
    flex: 0 0 100%;
    margin-right: 0;
    max-width: 100%;
  }
  
  .lottery-international-lotteries-grid {
    padding: 0 25px;
    max-width: 100%;
  }
  
  .lottery-bd-container {
    max-width: 338px; /* Solución específica para mobile - 1 card exacta */
  }
}

@media (max-width: 600px) {
  .lottery-carousel-track .lottery-international-card {
    width: 100%; /* Single card on mobile */
    flex: 0 0 100%; /* More specific flex properties */
    margin-right: 0;
    max-width: 100%;
  }
  
  .lottery-international-lotteries-grid {
    padding: 0 15px; /* Significantly reduced padding */
    max-width: 100%;
  }
  
  .lottery-carousel-wrapper {
    overflow: hidden; /* Strict overflow control */
  }
  
  .carousel-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--lottery-accent-gold);
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .carousel-controls {
    display: none; /* Hide auto-scroll controls on mobile */
  }
}

@media (max-width: 480px) {
  .lottery-carousel-track .lottery-international-card {
    width: 100%; /* Single card on small mobile */
    flex: 0 0 100%; /* Ensure single card */
    margin-right: 0;
    max-width: 100%;
  }
  
  .lottery-international-lotteries-grid {
    padding: 0 10px; /* Minimal padding for very small screens */
  }
}

/* Smooth Animations */
.lottery-carousel-track.dragging {
  transition: none;
}

.lottery-carousel-track.smooth-transition {
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/*===== LOTTERY CARDS =====*/
.lottery-international-card {
  background: var(--lottery-glassmorphism);
  border: 1px solid var(--lottery-border-gold);
  border-radius: 15px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  height: 360px; /* Reduced height for better space utilization */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Better distribution of content */
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}

.lottery-international-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    var(--lottery-bg-primary) 0%, 
    var(--lottery-bg-secondary) 100%);
  opacity: 0.8;
  z-index: -1;
  border-radius: 15px;
}

.lottery-international-card:hover {
  transform: translateY(-5px);
  border-color: var(--lottery-accent-gold);
  box-shadow: var(--lottery-shadow-gold);
}

/*===== CARD HEADER =====*/
.lottery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0; /* Prevent shrinking */
}

.lottery-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.lottery-logo-img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.lottery-type h3 {
  color: var(--lottery-accent-gold);
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
  text-shadow: var(--lottery-text-shadow-gold);
}

/*===== JACKPOT SECTION =====*/
.lottery-jackpot-section {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 0.5rem 0;
}

.lottery-jackpot-amount {
  font-size: 2.2rem; /* Larger jackpot amount */
  font-weight: 900;
  color: var(--lottery-accent-gold);
  text-shadow: var(--lottery-text-shadow-gold);
  margin: 0.25rem 0;
  line-height: 1.1;
}

.lottery-jackpot-label {
  font-size: 0.75rem;
  color: var(--lottery-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  opacity: 0.9;
}

/*===== PLAY BUTTON =====*/
.lottery-actions {
  margin: 0.75rem 0;
  flex-shrink: 0; /* Prevent shrinking */
}

.lottery-play-btn {
  background: linear-gradient(135deg, var(--lottery-accent-gold) 0%, var(--lottery-accent-gold-hover) 100%);
  color: var(--lottery-bg-primary);
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.lottery-play-btn:hover {
  background: linear-gradient(135deg, var(--lottery-accent-gold-hover) 0%, var(--lottery-accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: var(--lottery-shadow-card);
}

.lottery-play-btn i {
  font-size: 1.2rem;
}

/*===== TIMING SECTION =====*/
.lottery-timing {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--lottery-border-subtle);
  flex-shrink: 0; /* Prevent shrinking */
}

.lottery-timing-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  color: var(--lottery-text-secondary);
  font-size: 0.85rem;
}

.lottery-timing-item i {
  color: var(--lottery-accent-gold);
  font-size: 1rem;
}

.lottery-timing-text {
  line-height: 1.3;
}

.lottery-timing-text strong {
  color: var(--lottery-text-primary);
  font-weight: 600;
}

.lottery-cutoff-countdown {
  color: var(--lottery-accent-gold);
  font-weight: bold;
}

/*===== USER TICKETS SECTION =====*/
.lottery-user-tickets.section {
  background: var(--lottery-glassmorphism);
  border: 1px solid var(--lottery-border-subtle);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lottery-user-tickets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.lottery-section-title-small {
  color: var(--lottery-accent-gold);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.lottery-user-address-display {
  color: var(--lottery-text-secondary);
  font-size: 0.85rem;
}

.lottery-address-label {
  font-weight: 500;
}

.lottery-user-address {
  color: var(--lottery-text-primary);
  font-family: monospace;
  font-size: 0.8rem;
}

.lottery-tickets-filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.lottery-filter-btn {
  background: var(--lottery-glassmorphism);
  color: var(--lottery-text-secondary);
  border: 1px solid var(--lottery-border-subtle);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.lottery-filter-btn:hover {
  background: var(--lottery-glassmorphism-light);
  color: var(--lottery-text-primary);
}

.lottery-filter-btn.active {
  background: var(--lottery-accent-gold);
  color: var(--lottery-bg-primary);
  border-color: var(--lottery-accent-gold);
  font-weight: 600;
}

.lottery-tickets-container {
  min-height: 200px;
  position: relative;
}

.lottery-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--lottery-text-secondary);
}

.lottery-loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--lottery-border-subtle);
  border-top: 3px solid var(--lottery-accent-gold);
  border-radius: 50%;
  animation: lottery-spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes lottery-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.lottery-no-tickets {
  text-align: center;
  padding: 2rem;
  color: var(--lottery-text-secondary);
}

.lottery-no-tickets-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.lottery-no-tickets h3 {
  color: var(--lottery-text-primary);
  font-size: 1.2rem;
  margin: 1rem 0;
}

.lottery-no-tickets p {
  color: var(--lottery-text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/*===== RESPONSIVE DESIGN =====*/
@media (max-width: 768px) {
  .lottery-international-lotteries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
  }
  
  .lottery-international-card {
    height: 350px;
    padding: 1rem;
  }
  
  .lottery-logo-img {
    max-height: 100px;
  }
  
  .lottery-section-title {
    font-size: 2rem;
  }
  
  .lottery-jackpot-amount {
    font-size: 1.5rem;
  }
  
  .lottery-play-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .lottery-tickets-filter {
    justify-content: center;
  }
  
  .lottery-user-tickets-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .lottery-international-card {
    height: 320px;
    padding: 0.8rem;
  }
  
  .lottery-section-title {
    font-size: 1.8rem;
  }
  
  .lottery-jackpot-amount {
    font-size: 1.3rem;
  }
  
  .lottery-timing-item {
    font-size: 0.8rem;
  }
}

/*===== LOTTERY MODAL STYLES =====*/
/* Override default modal styles with lottery theme */
#lottery-modal.lottery-modal {
  background: linear-gradient(135deg, var(--lottery-bg-primary) 0%, var(--lottery-bg-secondary) 100%) !important;
  color: var(--lottery-text-primary) !important;
}

#lottery-modal .modal-header {
  background: transparent !important;
  border-bottom: 1px solid var(--lottery-border-gold) !important;
  padding: 1rem 1.5rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

#lottery-modal .back-button {
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-gold) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  color: var(--lottery-accent-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

#lottery-modal .back-button:hover {
  background: var(--lottery-glassmorphism-light) !important;
  transform: scale(1.1) !important;
}

#lottery-modal .lottery-title {
  color: var(--lottery-accent-gold) !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  text-shadow: var(--lottery-text-shadow-gold) !important;
  margin: 0 !important;
}

#lottery-modal .balance-display {
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-gold) !important;
  border-radius: 20px !important;
  padding: 0.5rem 1rem !important;
  color: var(--lottery-accent-gold) !important;
  font-weight: bold !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

#lottery-modal .play-tabs {
  padding: 1rem 1.5rem !important;
}

#lottery-modal .tabs-container {
  display: flex !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

#lottery-modal .tab-button {
  width: 50px !important;
  height: 50px !important;
  border-radius: 12px !important;
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-subtle) !important;
  color: var(--lottery-text-secondary) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

#lottery-modal .tab-button:hover {
  background: var(--lottery-glassmorphism-light) !important;
  border-color: var(--lottery-border-gold) !important;
  color: var(--lottery-text-primary) !important;
}

#lottery-modal .tab-button.active {
  background: var(--lottery-accent-gold) !important;
  color: var(--lottery-bg-primary) !important;
  border-color: var(--lottery-accent-gold) !important;
  box-shadow: var(--lottery-shadow-gold) !important;
}

#lottery-modal .done-message {
  padding: 1rem 1.5rem !important;
  text-align: center !important;
}

#lottery-modal .done-check {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
  color: var(--lottery-text-primary) !important;
}

#lottery-modal .check-icon {
  width: 60px !important;
  height: 60px !important;
  background: var(--lottery-accent-gold) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--lottery-bg-primary) !important;
}

#lottery-modal .quick-pick-btn {
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border: none !important;
  padding: 0.8rem 2rem !important;
  border-radius: 25px !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: var(--lottery-shadow-gold) !important;
  margin-top: 1rem !important;
}

#lottery-modal .quick-pick-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3) !important;
}

#lottery-modal .number-selection-container {
  padding: 1rem 1.5rem !important;
  flex: 1 !important;
  overflow-y: auto !important;
  background: transparent !important;
  min-height: 300px !important;
  display: block !important;
  visibility: visible !important;
}

#lottery-modal .main-numbers {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0.75rem !important;
  margin-bottom: 2rem !important;
  padding: 1rem 0.5rem !important;
  background: transparent !important;
  visibility: visible !important;
  min-height: 200px !important;
  max-width: 100% !important;
}

/* Force visibility for number containers */
#lottery-modal .main-numbers,
#lottery-modal .special-numbers-grid {
  opacity: 1 !important;
  visibility: visible !important;
  display: grid !important;
}

#lottery-modal .number-btn {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: var(--lottery-glassmorphism) !important;
  border: 2px solid var(--lottery-border-subtle) !important;
  color: var(--lottery-text-primary) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

#lottery-modal .number-btn:hover {
  background: var(--lottery-glassmorphism-light) !important;
  border-color: var(--lottery-border-gold) !important;
  transform: scale(1.1) !important;
}

#lottery-modal .number-btn.selected {
  background: var(--lottery-accent-gold) !important;
  border-color: var(--lottery-accent-gold) !important;
  color: var(--lottery-bg-primary) !important;
  box-shadow: var(--lottery-shadow-gold) !important;
}

#lottery-modal .special-numbers {
  margin-top: 2rem !important;
}

#lottery-modal .special-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin-bottom: 1rem !important;
  color: var(--lottery-text-primary) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
}

#lottery-modal .special-ball {
  background: var(--lottery-accent-gold) !important;
  color: var(--lottery-bg-primary) !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
}

/* REMOVED - CONFLICTING 5-COLUMN DEFINITION - Using desktop 10-column layout instead */

#lottery-modal .review-order-container {
  padding: 1rem 1.5rem !important;
  border-top: 1px solid var(--lottery-border-gold) !important;
  background: var(--lottery-glassmorphism) !important;
}

#lottery-modal .review-order-btn {
  width: 100% !important;
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border: none !important;
  padding: 1rem !important;
  border-radius: 15px !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: var(--lottery-shadow-gold) !important;
}

#lottery-modal .review-order-btn:hover:not(.disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4) !important;
}

#lottery-modal .review-order-btn.disabled {
  background: var(--lottery-glassmorphism) !important;
  color: var(--lottery-text-muted) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Review and Checkout Screen Styles */
#review-screen.review-screen,
#checkout-screen.checkout-screen {
  background: linear-gradient(135deg, var(--lottery-bg-primary) 0%, var(--lottery-bg-secondary) 100%) !important;
  color: var(--lottery-text-primary) !important;
}

#review-screen .modal-header,
#checkout-screen .modal-header {
  background: transparent !important;
  border-bottom: 1px solid var(--lottery-border-gold) !important;
  padding: 1rem 1.5rem !important;
}

#review-screen .lottery-title,
#checkout-screen .lottery-title {
  color: var(--lottery-accent-gold) !important;
  text-shadow: var(--lottery-text-shadow-gold) !important;
}

#review-screen .price-container {
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-gold) !important;
  border-radius: 20px !important;
  padding: 0.5rem 1rem !important;
  color: var(--lottery-accent-gold) !important;
  font-weight: bold !important;
}

#review-screen .price-details-content,
#checkout-screen .price-details-content {
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-subtle) !important;
  color: var(--lottery-text-primary) !important;
}

/* ===== CONTENEDORES FALTANTES - CORRIGIENDO BLOQUES DE COLOR ===== */

/* Selected Lines Container (eliminar área amarilla) */
#review-screen .selected-lines-container,
#checkout-screen .selected-lines-container {
  background: transparent !important;
  padding: 1rem 1.5rem !important;
  color: var(--lottery-text-primary) !important;
}

/* Checkout Container y Button (corregir estilos) */
#review-screen .checkout-container,
#checkout-screen .checkout-container {
  background: var(--lottery-glassmorphism) !important;
  border-top: 1px solid var(--lottery-border-gold) !important;
  padding: 1rem 1.5rem !important;
}

#review-screen .checkout-btn,
#checkout-screen .checkout-btn {
  width: 100% !important;
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border: none !important;
  padding: 1rem !important;
  border-radius: 15px !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: var(--lottery-shadow-gold) !important;
}

#review-screen .checkout-btn:hover,
#checkout-screen .checkout-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4) !important;
}

/* Price Details Panel (corregir transparencia) */
#review-screen .price-details-panel,
#checkout-screen .price-details-panel {
  background: transparent !important;
  border-bottom: 1px solid var(--lottery-border-gold) !important;
  padding: 1rem 1.5rem !important;
}

/* Checkout Content (eliminar área verde) */
#checkout-screen .checkout-content {
  background: transparent !important;
  padding: 1rem 1.5rem !important;
  flex: 1 !important;
  color: var(--lottery-text-primary) !important;
}

/* Price Detail Rows - Estilo específico */
#review-screen .price-detail-row,
#checkout-screen .price-detail-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
  color: var(--lottery-text-primary) !important;
}

#review-screen .price-detail-label,
#checkout-screen .price-detail-label {
  color: var(--lottery-text-secondary) !important;
  font-size: 0.95rem !important;
}

#review-screen .price-detail-value,
#checkout-screen .price-detail-value {
  color: var(--lottery-accent-gold) !important;
  font-weight: bold !important;
}

#review-screen .line-count,
#checkout-screen .line-count {
  color: var(--lottery-text-muted) !important;
  margin-right: 1rem !important;
}

/* Consolidated - Main display rules handled in professional styling section below */

/* Container background cleanup - consolidated */
#lottery-modal > div:not(.modal-header):not(.play-tabs):not(.review-order-container):not(.number-selection-container):not(.done-message),
#review-screen > div:not(.modal-header):not(.checkout-container):not(.price-details-panel):not(.selected-lines-container),
#checkout-screen > div:not(.modal-header):not(.checkout-container):not(.checkout-content) {
  background: transparent !important;
}

/* ===== MODAL VISIBILITY SYSTEM - CRITICAL ===== */

/* Modal containers - hidden by default */
#lottery-modal.lottery-modal,
#review-screen.review-screen,  
#checkout-screen.checkout-screen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000 !important;
  display: flex !important;
  flex-direction: column !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(100%) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: linear-gradient(135deg, var(--lottery-bg-primary) 0%, var(--lottery-bg-secondary) 100%) !important;
}

/* Modal open state - visible with animation */
#lottery-modal.lottery-modal.open,
#review-screen.review-screen.open,
#checkout-screen.checkout-screen.open {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Modal overlay for backdrop */
#lottery-modal::before,
#review-screen::before,
#checkout-screen::before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.8) !important;
  z-index: -1 !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* ===== PROFESSIONAL UX/UI STYLING ===== */

/* MICRO-INTERACTIONS - Smooth button states */
#lottery-modal .number-btn {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: var(--lottery-glassmorphism) !important;
  border: 2px solid var(--lottery-border-subtle) !important;
  color: var(--lottery-text-primary) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Hover state with professional glow */
#lottery-modal .number-btn:hover {
  background: var(--lottery-glassmorphism-light) !important;
  border-color: var(--lottery-border-gold) !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25) !important;
  color: var(--lottery-accent-gold) !important;
}

/* Active/Pressed state */
#lottery-modal .number-btn:active {
  transform: scale(0.95) !important;
  transition: all 0.1s ease !important;
}

/* Selected state with premium animation */
#lottery-modal .number-btn.selected {
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  border-color: var(--lottery-accent-gold) !important;
  color: var(--lottery-bg-primary) !important;
  box-shadow: 
    0 0 0 3px rgba(255, 215, 0, 0.3),
    0 8px 25px rgba(255, 215, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.1) !important;
}

/* Selection pulse animation */
#lottery-modal .number-btn.selected::before {
  content: '' !important;
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  right: -4px !important;
  bottom: -4px !important;
  border-radius: 50% !important;
  border: 2px solid var(--lottery-accent-gold) !important;
  opacity: 0 !important;
  animation: selectionPulse 0.6s ease-out !important;
}

@keyframes selectionPulse {
  0% { opacity: 1; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* GRID LAYOUTS - Professional responsive design */
#lottery-modal .main-numbers {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0.75rem !important;
  margin-bottom: 2rem !important;
  padding: 1.5rem !important;
  background: var(--lottery-glassmorphism) !important;
  border-radius: 20px !important;
  border: 1px solid var(--lottery-border-subtle) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

/* REMOVED - CONFLICTING 5-COLUMN DEFINITION - Using desktop 10-column layout instead */

/* SPECIAL SECTION STYLING */
#lottery-modal .special-numbers {
  margin-top: 2rem !important;
}

#lottery-modal .special-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
  color: var(--lottery-text-primary) !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

#lottery-modal .special-ball {
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}

/* TAB SYSTEM - Premium design */
#lottery-modal .tabs-container {
  display: flex !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0 1rem !important;
}

#lottery-modal .tab-button {
  width: 55px !important;
  height: 55px !important;
  border-radius: 16px !important;
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-subtle) !important;
  color: var(--lottery-text-secondary) !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  position: relative !important;
}

#lottery-modal .tab-button:hover {
  background: var(--lottery-glassmorphism-light) !important;
  border-color: var(--lottery-border-gold) !important;
  color: var(--lottery-text-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15) !important;
}

#lottery-modal .tab-button.active {
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border-color: var(--lottery-accent-gold) !important;
  box-shadow: 
    0 0 0 3px rgba(255, 215, 0, 0.3),
    0 8px 25px rgba(255, 215, 0, 0.4) !important;
}

/* Tab completion indicator */
#lottery-modal .tab-button.completed::after {
  content: '✓' !important;
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  width: 20px !important;
  height: 20px !important;
  background: #00dc7d !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: bold !important;
  border: 2px solid var(--lottery-bg-primary) !important;
}

/* DONE MESSAGE - Enhanced styling */
#lottery-modal .done-message {
  padding: 2rem 1.5rem !important;
  text-align: center !important;
  background: var(--lottery-glassmorphism) !important;
  border-radius: 20px !important;
  margin: 0 1.5rem !important;
  border: 1px solid var(--lottery-border-subtle) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

#lottery-modal .done-check {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1.5rem !important;
  color: var(--lottery-text-primary) !important;
}

#lottery-modal .check-icon {
  width: 80px !important;
  height: 80px !important;
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--lottery-bg-primary) !important;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4) !important;
  animation: checkBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

@keyframes checkBounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

#lottery-modal .quick-pick-btn {
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border: none !important;
  padding: 1rem 2.5rem !important;
  border-radius: 30px !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

#lottery-modal .quick-pick-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4) !important;
}

#lottery-modal .quick-pick-btn:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3) !important;
}

/* REVIEW ORDER BUTTON - Professional CTA */
#lottery-modal .review-order-btn {
  width: 100% !important;
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border: none !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 48px !important;
  max-height: 60px !important;
  height: auto !important;
}

#lottery-modal .review-order-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.6s !important;
}

#lottery-modal .review-order-btn:hover::before {
  left: 100% !important;
}

#lottery-modal .review-order-btn:hover:not(.disabled) {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4) !important;
}

#lottery-modal .review-order-btn.disabled {
  background: var(--lottery-glassmorphism) !important;
  color: var(--lottery-text-muted) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.5 !important;
}

/* CONTAINER STYLING - Professional spacing */
#lottery-modal .number-selection-container {
  padding: 2rem !important;
  flex: 1 !important;
  overflow-y: auto !important;
  background: transparent !important;
  min-height: 400px !important;
  display: block !important;
  visibility: visible !important;
}

#lottery-modal .review-order-container {
  padding: 1.5rem !important;
  background: var(--lottery-glassmorphism) !important;
  border-top: 1px solid var(--lottery-border-gold) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

/* LOADING STATES */
.lottery-loading {
  opacity: 0.7 !important;
  pointer-events: none !important;
}

.lottery-loading::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 40px !important;
  height: 40px !important;
  border: 3px solid var(--lottery-border-subtle) !important;
  border-top: 3px solid var(--lottery-accent-gold) !important;
  border-radius: 50% !important;
  animation: spin 1s linear infinite !important;
  transform: translate(-50%, -50%) !important;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Preservar backgrounds correctos para elementos específicos */
#lottery-modal .tab-button,
#lottery-modal .number-btn,
#lottery-modal .balance-display,
#lottery-modal .review-order-container,
#lottery-modal .check-icon,
#lottery-modal .quick-pick-btn,
#review-screen .price-container,
#review-screen .price-details-content,
#review-screen .checkout-container,
#checkout-screen .checkout-container {
  /* Mantener sus backgrounds específicos definidos anteriormente */
}

/* Back buttons consistency */
#review-screen .back-button,
#checkout-screen .back-button {
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-gold) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  color: var(--lottery-accent-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

#review-screen .back-button:hover,
#checkout-screen .back-button:hover {
  background: var(--lottery-glassmorphism-light) !important;
  transform: scale(1.1) !important;
}

/* RESPONSIVE DESIGN - Mobile Optimization */
@media (max-width: 768px) {
  /* Grid optimization for mobile */
  #lottery-modal .main-numbers {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
  }
  
  #lottery-modal .special-numbers-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
  }
  
  /* Touch-friendly button sizes */
  #lottery-modal .number-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 0.95rem !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
  
  /* Tab buttons mobile */
  #lottery-modal .tab-button {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.1rem !important;
  }
  
  /* Container padding mobile */
  #lottery-modal .number-selection-container {
    padding: 1rem !important;
  }
  
  #lottery-modal .done-message {
    margin: 0 1rem !important;
    padding: 1.5rem !important;
  }
  
  #lottery-modal .check-icon {
    width: 60px !important;
    height: 60px !important;
  }
  
  #lottery-modal .quick-pick-btn {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
  
  /* Review Order mobile */
  #lottery-modal .review-order-container {
    padding: 1rem !important;
  }
  
  #lottery-modal .review-order-btn {
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
    max-height: 60px !important;
    min-height: 48px !important;
  }
  
  /* Special title mobile */
  #lottery-modal .special-title {
    font-size: 1.1rem !important;
    gap: 0.5rem !important;
  }
  
  #lottery-modal .special-ball {
    width: 30px !important;
    height: 30px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  /* Extra small mobile optimization */
  #lottery-modal .main-numbers {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  
  #lottery-modal .special-numbers-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  #lottery-modal .number-btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 0.9rem !important;
  }
  
  #lottery-modal .tab-button {
    width: 45px !important;
    height: 45px !important;
  }
  
  #lottery-modal .review-order-btn {
    font-size: 1rem !important;
  }
}

/* ===== REVIEW & CHECKOUT SCREENS - PROFESSIONAL UX/UI ===== */

/* Review Screen Professional Styling */
#review-screen.review-screen {
  background: linear-gradient(135deg, var(--lottery-bg-primary) 0%, var(--lottery-bg-secondary) 100%) !important;
  color: var(--lottery-text-primary) !important;
}

#review-screen .price-container {
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-gold) !important;
  border-radius: 25px !important;
  padding: 0.75rem 1.25rem !important;
  color: var(--lottery-accent-gold) !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

#review-screen .price-container:hover {
  background: var(--lottery-glassmorphism-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2) !important;
}

#review-screen .price-toggle-icon {
  transition: transform 0.3s ease !important;
}

#review-screen .price-container.active .price-toggle-icon {
  transform: rotate(180deg) !important;
}

/* Checkout Button Professional */
#review-screen .checkout-btn {
  width: 100% !important;
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border: none !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 48px !important;
  max-height: 60px !important;
  height: auto !important;
}

#review-screen .checkout-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.6s !important;
}

#review-screen .checkout-btn:hover::before {
  left: 100% !important;
}

#review-screen .checkout-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4) !important;
}

/* Back buttons consistency */
#review-screen .back-button,
#checkout-screen .back-button {
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-gold) !important;
  border-radius: 50% !important;
  width: 45px !important;
  height: 45px !important;
  color: var(--lottery-accent-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

#review-screen .back-button:hover,
#checkout-screen .back-button:hover {
  background: var(--lottery-glassmorphism-light) !important;
  transform: scale(1.1) translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2) !important;
}

/* Title consistency */
#review-screen .lottery-title,
#checkout-screen .lottery-title {
  color: var(--lottery-accent-gold) !important;
  text-shadow: var(--lottery-text-shadow-gold) !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
}

/* NUMBER DISPLAY FORMATTING - Professional */
.number-display {
  display: inline-block !important;
  background: var(--lottery-glassmorphism) !important;
  border: 1px solid var(--lottery-border-gold) !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
  line-height: 33px !important;
  text-align: center !important;
  color: var(--lottery-accent-gold) !important;
  font-weight: bold !important;
  font-size: 0.95rem !important;
  margin: 0 2px !important;
}

.number-separator {
  color: var(--lottery-text-secondary) !important;
  font-weight: bold !important;
  margin: 0 8px !important;
  font-size: 1.1rem !important;
}

.special-number-ball {
  display: inline-block !important;
  background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
  color: var(--lottery-bg-primary) !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
  line-height: 33px !important;
  text-align: center !important;
  font-weight: bold !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
  margin-left: 8px !important;
}

.main-numbers-display,
.special-number-display {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.line-numbers {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

/* ================================================ */
/* DESKTOP OPTIMIZATION - 2 COLUMN LAYOUT NO SCROLL */
/* ================================================ */

/* BODY SCROLL LOCK - Critical for scroll elimination */
body.modal-open {
  overflow: hidden !important;
  height: 100vh !important;
}

@media (min-width: 1024px) {
  
  /* MODAL CONTAINER - Enlarged Desktop Optimized */
  #lottery-modal {
    width: clamp(1200px, 85vw, 1500px) !important;
    max-width: 1500px !important;
    height: min(850px, 90vh) !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 auto !important;
    transform: translate(-50%, -50%) !important;
    top: 50% !important;
    left: 50% !important;
    position: fixed !important;
  }
  
  /* MODAL HEADER - Compact */
  #lottery-modal .modal-header {
    flex-shrink: 0 !important;
    height: 70px !important;
    padding: 0.75rem 1.5rem !important;
    margin-bottom: 0 !important;
  }
  
  /* MODAL BODY - Enlarged 2 Column Layout */
  #lottery-modal .modal-body {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 24px !important;
    flex: 1 !important;
    overflow: hidden !important;
    padding: 0 2rem 1.5rem 2rem !important;
  }
  
  /* LEFT PANE - Main Numbers Area */
  #lottery-modal .left-pane {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  
  /* TABS - More Compact Desktop */
  #lottery-modal .play-tabs {
    flex-shrink: 0 !important;
    margin-bottom: 1rem !important;
  }
  
  #lottery-modal .tabs-container {
    gap: 0.75rem !important;
    padding: 0 !important;
  }
  
  #lottery-modal .tab-button {
    height: 48px !important;
    min-width: 48px !important;
    font-size: 1rem !important;
  }
  
  /* NUMBER SELECTION CONTAINER */
  #lottery-modal .number-selection-container {
    flex: 1 !important;
    overflow: hidden !important;
  }
  
  /* MAIN NUMBERS - 10 Column Grid CLEAN BACKGROUND */
  #lottery-modal .main-numbers {
    display: grid !important;
    grid-template-columns: repeat(10, 48px) !important;
    gap: 8px !important;
    justify-content: center !important;
    width: calc(10 * 48px + 9 * 8px) !important; /* 552px exact */
    max-width: calc(10 * 48px + 9 * 8px) !important;
    height: auto !important;
    /* overflow: visible !important; */
    /* CLEAN BACKGROUND - No bleeding borders */
    background: rgba(15, 23, 42, 0.8) !important; /* Solid clean background */
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin: 0 auto !important;
    /* REMOVE bleeding borders */
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  
  /* PERFECT CIRCLES - Fixed Size */
  #lottery-modal .main-numbers .number-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    font-size: 1rem !important;
    border-radius: 50% !important;
    aspect-ratio: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* RIGHT RAIL - Enlarged No Overflow */
  #lottery-modal .right-rail {
    display: flex !important;
    flex-direction: column !important;
    min-width: 360px !important;
    max-width: 380px !important;
    gap: 1.25rem !important;
    overflow: hidden !important;
    padding-right: 4px !important;
    max-height: calc(90vh - 140px) !important;
  }
  
  /* QUICK PICK CONTAINER - Independent Top Position */
  #lottery-modal .quick-pick-container {
    flex-shrink: 0 !important;
    background: var(--lottery-glassmorphism) !important;
    border: 1px solid var(--lottery-border-gold) !important;
    border-radius: 16px !important;
    padding: 1rem !important;
  }

  /* DONE MESSAGE - Separate Container */
  #lottery-modal .done-message {
    flex-shrink: 0 !important;
    background: var(--lottery-glassmorphism) !important;
    border: 1px solid var(--lottery-border-gold) !important;
    border-radius: 16px !important;
    padding: 1rem !important;
  }
  
  /* DESKTOP QUICK PICK BUTTON - Optimized for 300px Rail */
  #lottery-modal .quick-pick-btn {
    width: 100% !important;
    height: 52px !important;
    max-height: 52px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
    color: var(--lottery-bg-primary) !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2) !important;
  }
  
  /* Quick Pick SVG Icon Size Control */
  #lottery-modal .quick-pick-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
  
  /* SPECIAL NUMBERS - Compact 10 Column Grid */
  #lottery-modal .special-numbers {
    flex-shrink: 0 !important;
    background: var(--lottery-glassmorphism) !important;
    border: 1px solid var(--lottery-border-gold) !important;
    border-radius: 12px !important;
    padding: 0.75rem !important;
  }
  
  #lottery-modal .special-title {
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-align: center !important;
  }
  
  /* SPECIAL NUMBERS GRID - Multi-Row Layout for 26 Numbers */
  #lottery-modal .special-numbers-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 44px) !important;
    gap: 8px !important;
    justify-content: center !important;
    width: calc(6 * 44px + 5 * 8px) !important; /* 304px exact */
    max-height: 200px !important; /* Increased for 6 rows (26 numbers) */
    overflow-y: auto !important; /* Enable vertical scroll */
    overflow-x: hidden !important;
    margin: 0 auto !important;
    /* Smooth scrolling */
    scroll-behavior: smooth !important;
    scrollbar-width: thin !important;
  }
  
  /* SPECIAL NUMBERS - Perfect Circles Fixed Size */
  #lottery-modal .special-numbers-grid .number-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    font-size: 1rem !important;
    border-radius: 50% !important;
    aspect-ratio: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* RAIL SUMMARY - HIDDEN (Eliminar sección vacía) */
  #lottery-modal .rail-summary {
    display: none !important; /* Hide empty section completely */
  }
  
  /* REVIEW ORDER - CLEAN SINGLE BACKGROUND (CONSOLIDATED) */
  #lottery-modal .review-order-container {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 100 !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
    /* SINGLE clean container - no glassmorphism conflicts */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0 !important;
  }
  
  #lottery-modal .review-order-btn {
    width: 100% !important;
    height: 52px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 16px !important;
    /* OVERRIDE conflicting styles */
    background: linear-gradient(135deg, var(--lottery-accent-gold), var(--lottery-accent-gold-hover)) !important;
    color: var(--lottery-bg-primary) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3) !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }
  
  /* RESPONSIVE ADJUSTMENTS */
  @media (min-width: 1280px) {
    #lottery-modal {
      width: clamp(1000px, 80vw, 1200px) !important;
    }
    
    #lottery-modal .right-rail {
      min-width: 360px !important;
      max-width: 380px !important;
    }
    
    /* KEEP BUTTON HEIGHT CONSISTENT TO AVOID CLIPPING */
    #lottery-modal .main-numbers .number-btn {
      height: clamp(44px, 4vw, 48px) !important;
      font-size: 1rem !important;
    }
    
    /* RECALCULATE GRID HEIGHT FOR LARGER SCREENS */
    #lottery-modal .main-numbers {
      height: calc(6 * clamp(44px, 4vw, 48px) + 5 * clamp(6px, 1vw, 8px)) !important;
    }
  }
  
  @media (min-width: 1440px) {
    #lottery-modal {
      width: clamp(1100px, 75vw, 1200px) !important;
    }
    
    #lottery-modal .modal-body {
      gap: 32px !important;
      padding: 0 2rem 2rem 2rem !important;
    }
    
    #lottery-modal .main-numbers {
      gap: 10px !important;
    }
  }
}

/* MOBILE SAFEGUARDS - Prevent Horizontal Overflow */
@media (max-width: 600px) {
  
  /* OVERRIDE: Mobile responsive grid instead of fixed width */
  #lottery-modal .main-numbers {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)) !important;
    padding: 1rem !important;
    gap: 6px !important;
  }
  
  /* MOBILE: Smaller perfect circles */
  #lottery-modal .main-numbers .number-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    font-size: 0.9rem !important;
  }
  
  /* MOBILE: Special numbers grid responsive with scroll */
  #lottery-modal .special-numbers-grid {
    width: 100% !important;
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr)) !important;
    gap: 4px !important;
    max-height: 150px !important; /* Smaller on mobile but still scrollable */
    overflow-y: auto !important;
  }
  
  /* MOBILE: Smaller special number circles */
  #lottery-modal .special-numbers-grid .number-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    font-size: 0.8rem !important;
  }
  
}

/*========== TICKETS SYSTEM STYLES ==========*/
/* Estilos para el sistema de tickets de casino-dashboard.html */

/* Tickets List Container */
.tickets-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Ticket List Item */
.ticket-list-item {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: white;
    overflow: hidden;
    min-height: 100px;
}

.ticket-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Ticket List Content Layout */
.ticket-list-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "left center right";
    gap: 2rem;
    align-items: center;
}

/* Left Section */
.ticket-list-left {
    grid-area: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.ticket-list-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
    flex-shrink: 0;
}

.ticket-list-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-list-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.ticket-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.ticket-list-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ticket-list-id,
.ticket-list-owner {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Center Section */
.ticket-list-center {
    grid-area: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.ticket-list-numbers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.numbers-line {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.number-ball {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.number-ball.main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.number-ball.special {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Right Section */
.ticket-list-right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    min-width: 150px;
}

.ticket-list-cost {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cost-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.ticket-list-hash {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticket-list-hash:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
}

/* Ver Ticket Button - CRÍTICO */
.ticket-list-btn {
    background: linear-gradient(135deg, #FFD700, #FFED4A);
    color: #333;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 130px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.ticket-list-btn:hover {
    background: linear-gradient(135deg, #FFED4A, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.ticket-list-btn.view-ticket {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
}

.ticket-list-btn.view-ticket:hover {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
}

/* CASO 1: Ticket Completo - Layout UX Optimizado */
.ticket-complete-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Fila 1: Info principal */
.ticket-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ticket-main-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 0;
}

.ticket-logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.ticket-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.ticket-identity {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.ticket-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-id {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.ticket-price {
    display: flex;
    align-items: center;
    min-width: 80px;
    justify-content: flex-end;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-align: right;
}

/* Fila 2: Números + acción */
.ticket-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ticket-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.numbers-group {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    align-items: center;
}

.number-ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.number-ball.main {
    background: linear-gradient(135deg, #4A90E2, #007AFF);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.number-ball.special {
    background: linear-gradient(135deg, #FF6B35, #FF4500);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.no-numbers {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.ticket-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-ticket {
    background: linear-gradient(135deg, #38A169, #4CAF50);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 90px;
    justify-content: center;
}

.btn-view-ticket:hover {
    background: linear-gradient(135deg, #4CAF50, #38A169);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.3);
}

.ticket-hash {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.ticket-hash:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
}

/* Mobile responsive para el diseño optimizado */
@media (max-width: 768px) {
    .tickets-list-container {
        padding: 0 0.5rem;
        gap: 0.8rem;
    }

    .ticket-list-item {
        padding: 1rem;
    }

    .ticket-logo {
        width: 45px;
        height: 45px;
    }

    .ticket-name {
        font-size: 0.9rem;
    }

    .price-value {
        font-size: 1rem;
    }

    .number-ball {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .btn-view-ticket {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        min-width: 75px;
    }

    .ticket-list-cost .cost-value {
        font-size: 1.2rem;
    }

    .ticket-list-hash {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    /* CRÍTICO: Ver Ticket button visible en móvil */
    .ticket-list-btn,
    .ticket-list-btn.view-ticket {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        z-index: 999 !important;
        margin: 0.5rem auto !important;
        width: auto !important;
        text-align: center !important;
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        min-width: 120px;
        overflow: visible !important;
    }
    
    /* Asegurar que el contenedor padre no oculte el botón */
    .ticket-list-right {
        overflow: visible !important;
        position: relative !important;
    }

    .number-ball {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .numbers-line {
        gap: 0.3rem;
    }
}

/* Small Mobile - Diseño optimizado */
@media (max-width: 480px) {
    .tickets-list-container {
        padding: 0 0.25rem;
    }

    .ticket-list-item {
        padding: 0.8rem;
    }

    .ticket-complete-layout {
        gap: 0.8rem;
    }

    .ticket-header-row {
        gap: 0.8rem;
    }

    .ticket-main-info {
        gap: 0.6rem;
    }

    .ticket-logo {
        width: 40px;
        height: 40px;
    }

    .ticket-name {
        font-size: 0.85rem;
    }

    .ticket-id {
        font-size: 0.65rem;
    }

    .price-value {
        font-size: 0.9rem;
    }

    .ticket-content-row {
        gap: 0.8rem;
    }

    .number-ball {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }

    .btn-view-ticket {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        min-width: 65px;
    }

    .ticket-hash {
        padding: 0.35rem;
        font-size: 0.7rem;
    }
}