.bet-confirmation-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease;
}

.bet-confirmation-overlay.active {
  display: flex;
}

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

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bet-confirmation-modal {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1e3a 100%);
  border-radius: 20px;
  padding: 0;
  max-width: 420px;
  width: 90%;
  border: 1px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.1);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

.bet-confirmation-modal.error {
  border-color: rgba(255, 68, 68, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 68, 68, 0.1);
}

.bet-confirmation-header {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 200, 136, 0.1) 100%);
  padding: 24px 24px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.bet-confirmation-header.error {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.15) 0%, rgba(200, 50, 50, 0.1) 100%);
  border-bottom-color: rgba(255, 68, 68, 0.2);
}

.bet-confirmation-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.bet-confirmation-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff88;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bet-confirmation-header.error .bet-confirmation-title {
  color: #ff4444;
}

.bet-confirmation-body {
  padding: 24px;
}

.bet-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bet-detail-row:last-child {
  border-bottom: none;
}

.bet-detail-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bet-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  max-width: 60%;
}

.bet-detail-value.selection {
  color: #00ff88;
}

.bet-detail-value.odds {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
}

.bet-detail-value.stake {
  color: #ffd700;
}

.bet-winnings-highlight {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 200, 136, 0.05) 100%);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}

.bet-winnings-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.bet-winnings-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00ff88;
}

.bet-confirmation-footer {
  padding: 20px 24px 24px;
}

.bet-confirmation-close-btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #00ff88 0%, #00cc88 100%);
  color: #0a0e27;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bet-confirmation-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.bet-confirmation-modal.error .bet-confirmation-close-btn {
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
}

.bet-error-message {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.bet-id-display {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 480px) {
  .bet-confirmation-modal {
    width: 95%;
    max-width: none;
  }
  
  .bet-confirmation-header {
    padding: 20px 16px 16px;
  }
  
  .bet-confirmation-body {
    padding: 16px;
  }
  
  .bet-confirmation-footer {
    padding: 16px;
  }
  
  .bet-winnings-value {
    font-size: 1.5rem;
  }
}
