/* Betting Odds Tracker Overlay */
.betting-odds-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.betting-odds-overlay.visible {
  opacity: 1;
}

.betting-odds-modal {
  background: linear-gradient(145deg, #1a1d2e 0%, #16192a 100%);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.4s ease;
}

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

/* Header */
.betting-odds-header {
  background: linear-gradient(135deg, #2c5f2d 0%, #1e4620 100%);
  padding: 24px;
  border-bottom: 2px solid rgba(76, 175, 80, 0.3);
  position: relative;
}

.betting-odds-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.betting-team-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.betting-team-section:last-child {
  flex-direction: row-reverse;
}

.betting-team-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px;
  flex-shrink: 0;
}

.betting-team-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.betting-team-section:last-child .betting-team-info {
  align-items: flex-end;
}

.betting-team-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.betting-team-score {
  font-size: 22px;
  font-weight: 800;
  color: #4CAF50;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.betting-matchup-info {
  text-align: center;
  padding: 0 12px;
}

.betting-status {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: inline-block;
}

.betting-time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.betting-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.betting-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Alerts Container */
.betting-alerts-container {
  padding: 12px 20px 0 20px;
  max-height: 200px;
  overflow-y: auto;
}

.betting-alert {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 100%);
  border-left: 4px solid #4CAF50;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: alertSlideIn 0.3s ease;
}

.betting-alert.alert-down {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.15) 0%, rgba(244, 67, 54, 0.05) 100%);
  border-left-color: #F44336;
}

@keyframes alertSlideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.betting-alert-icon {
  font-size: 24px;
}

.betting-alert-content {
  flex: 1;
}

.betting-alert-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.betting-alert-message {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.betting-alert-dismiss {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.betting-alert-dismiss:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Tabs */
.betting-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 20px;
}

.betting-tab {
  flex: 1;
  padding: 16px 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.betting-tab:hover {
  color: rgba(255, 255, 255, 0.9);
}

.betting-tab.active {
  color: #4CAF50;
  border-bottom-color: #4CAF50;
}

/* Content Area */
.betting-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.betting-tab-content {
  display: none;
}

.betting-tab-content.active {
  display: block;
}

/* Odds Grid */
.betting-odds-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.betting-odds-header-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1px;
  background: rgba(76, 175, 80, 0.2);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.betting-header-cell {
  background: rgba(76, 175, 80, 0.15);
  padding: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.betting-odds-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.betting-sportsbook-cell {
  background: #1a1d2e;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.betting-sportsbook-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.betting-odds-cell {
  background: #1a1d2e;
  padding: 14px;
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
}

.betting-odds-cell:hover {
  background: rgba(76, 175, 80, 0.1);
  cursor: pointer;
}

.betting-odds-cell.movement-up {
  animation: flashGreen 1s ease;
}

.betting-odds-cell.movement-down {
  animation: flashRed 1s ease;
}

@keyframes flashGreen {
  0%, 100% { background: #1a1d2e; }
  50% { background: rgba(76, 175, 80, 0.3); }
}

@keyframes flashRed {
  0%, 100% { background: #1a1d2e; }
  50% { background: rgba(244, 67, 54, 0.3); }
}

.betting-line {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.betting-odds-value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.betting-movement {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 16px;
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Player Props Grid */
.betting-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.betting-prop-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.betting-prop-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(76, 175, 80, 0.5);
  transform: translateY(-2px);
}

.betting-prop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.betting-prop-player {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.betting-prop-team {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.betting-prop-type {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.betting-prop-odds {
  display: flex;
  gap: 8px;
}

.betting-prop-option {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.betting-prop-option:hover {
  background: rgba(76, 175, 80, 0.2);
}

.betting-prop-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.betting-prop-value {
  font-size: 16px;
  font-weight: 700;
  color: #4CAF50;
}

.betting-prop-movement {
  margin-top: 10px;
  padding: 6px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.betting-prop-movement.up {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}

.betting-prop-movement.down {
  background: rgba(244, 67, 54, 0.15);
  color: #F44336;
}

/* Footer */
.betting-footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.betting-best-odds {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.betting-best-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#bestOddsDisplay {
  font-size: 14px;
  font-weight: 700;
  color: #4CAF50;
  padding: 6px 12px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 6px;
}

.betting-disclaimer {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* Parlay Builder Styles */
.parlay-tab {
  position: relative;
}

.parlay-count {
  display: none;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  min-width: 18px;
  text-align: center;
  animation: pulse 2s infinite;
}

.add-to-parlay-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
  border-radius: 50%;
  color: #4CAF50;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 10;
}

.betting-odds-cell {
  position: relative;
}

.betting-cell-content {
  position: relative;
}

.betting-odds-cell:hover .add-to-parlay-btn {
  opacity: 1;
}

.add-to-parlay-btn:hover {
  background: rgba(76, 175, 80, 0.4);
  border-color: #4CAF50;
  transform: scale(1.1);
}

.add-to-parlay-btn:active {
  transform: scale(0.95);
}

/* Parlay Builder Container */
.parlay-builder-container {
  padding: 0;
}

.parlay-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.parlay-empty-icon {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.parlay-empty-state h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.parlay-empty-state p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.parlay-tips {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.parlay-tips h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.parlay-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.parlay-tips li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.parlay-tips li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: 700;
}

/* Parlay Builder */
.parlay-builder {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.parlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(76, 175, 80, 0.3);
}

.parlay-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.parlay-clear-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.parlay-clear-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

/* Parlay Legs List */
.parlay-legs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parlay-leg-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #4CAF50;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: all 0.2s ease;
}

.parlay-leg-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(76, 175, 80, 0.5);
}

.parlay-leg-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.parlay-leg-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.parlay-leg-game {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.parlay-leg-bet {
  font-size: 15px;
  color: #fff;
}

.parlay-leg-type {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.parlay-leg-selection {
  font-weight: 700;
  color: #4CAF50;
}

.parlay-leg-odds {
  font-size: 16px;
  font-weight: 700;
  color: #4CAF50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.parlay-leg-sportsbook {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.parlay-leg-remove {
  width: 32px;
  height: 32px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 50%;
  color: #ef4444;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.parlay-leg-remove:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  transform: scale(1.1);
}

/* Parlay Calculator */
.parlay-calculator {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.parlay-calculator h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
}

.parlay-calc-input {
  margin-bottom: 20px;
}

.parlay-calc-input label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.parlay-wager-input {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 12px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.parlay-wager-input input {
  width: 100%;
  padding: 12px 12px 12px 32px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.parlay-wager-input input:focus {
  outline: none;
  border-color: #4CAF50;
}

.parlay-calc-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.parlay-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.parlay-calc-row.highlight {
  background: rgba(76, 175, 80, 0.1);
  padding: 12px;
  border-radius: 8px;
  border-bottom: none;
}

.parlay-calc-row.profit {
  border-bottom: none;
}

.parlay-calc-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.parlay-calc-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.parlay-calc-value.odds-value {
  color: #4CAF50;
}

.parlay-calc-value.payout-value {
  font-size: 20px;
  color: #4CAF50;
}

.parlay-calc-value.profit-value {
  font-size: 18px;
  color: #fbbf24;
}

/* Risk Meter */
.parlay-risk-meter {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.risk-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.risk-level {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.risk-level.risk-low {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.risk-level.risk-medium {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.risk-level.risk-high {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.risk-level.risk-very-high {
  background: rgba(147, 51, 234, 0.2);
  color: #a855f7;
}

.risk-meter-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.risk-meter-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.risk-meter-fill.risk-low {
  background: linear-gradient(90deg, #4CAF50, #66BB6A);
}

.risk-meter-fill.risk-medium {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.risk-meter-fill.risk-high {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.risk-meter-fill.risk-very-high {
  background: linear-gradient(90deg, #a855f7, #c084fc);
}

.risk-meter-info {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* Parlay Actions */
.parlay-actions {
  display: flex;
  gap: 12px;
}

.parlay-save-btn,
.parlay-share-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.parlay-save-btn {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  border: none;
  color: #fff;
}

.parlay-leaderboard-btn {
  background: linear-gradient(135deg, #FFD700, #F1C40F);
  border: none;
  color: #000;
  flex: 1;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.parlay-leaderboard-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.parlay-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.parlay-share-btn {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.parlay-share-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.parlay-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

/* Saved Parlays Section */
.saved-parlays-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.saved-parlays-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.saved-parlays-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.saved-parlay-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saved-parlay-card.won { border-left: 4px solid #53D337; }
.saved-parlay-card.lost { border-left: 4px solid #FF4D4D; }
.saved-parlay-card.pending { border-left: 4px solid #ffd700; }

.saved-parlay-info {
    display: flex;
    flex-direction: column;
}

.saved-parlay-odds {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.saved-parlay-legs {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.status-won { color: #53D337; font-weight: 800; font-size: 12px; }
.status-lost { color: #FF4D4D; font-weight: 800; font-size: 12px; }

.settle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.settle-btn:hover {
    background: #667eea;
    border-color: #667eea;
}

.no-saved-parlays {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    padding: 10px;
}

/* Betting Trends Styles */
.betting-trends-container {
  padding: 0;
}

.trends-section {
  margin-bottom: 32px;
}

.trends-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trends-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  font-style: italic;
}

.trends-comparison-grid {
  display: grid;
  gap: 16px;
}

.trend-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.trend-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-card-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.trend-total-bets,
.trend-total-handle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.trend-comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trend-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trend-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trend-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trend-bar-container {
  position: relative;
  width: 100%;
  height: 32px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
}

.trend-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  transition: width 0.8s ease;
  position: relative;
}

.trend-bar.public {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0.3) 100%);
}

.trend-bar.sharp {
  background: linear-gradient(90deg, rgba(239, 68, 54, 0.6) 0%, rgba(239, 68, 54, 0.3) 100%);
}

.trend-bar.sharp.hot {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.8) 0%, rgba(234, 179, 8, 0.4) 100%);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.trend-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.trend-bar-value {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Steam Moves */
.steam-moves-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steam-move-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid;
  border-radius: 8px;
  padding: 12px;
}

.steam-move-card.high {
  border-left-color: #ef4444;
}

.steam-move-card.medium {
  border-left-color: #f59e0b;
}

.steam-move-card.low {
  border-left-color: #3b82f6;
}

.steam-move-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.steam-move-type {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.steam-move-confidence {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.steam-move-confidence.high {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.steam-move-confidence.medium {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.steam-move-confidence.low {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.steam-move-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.steam-move-change {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.steam-from {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
}

.steam-to {
  color: #4CAF50;
}

.steam-move-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* Trends Legend */
.trends-legend {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-top: 24px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.legend-item:last-child {
  margin-bottom: 0;
}

.legend-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.legend-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.legend-text strong {
  color: #fff;
}

/* Scrollbar Styling */
.betting-content::-webkit-scrollbar,
.betting-alerts-container::-webkit-scrollbar {
  width: 8px;
}

.betting-content::-webkit-scrollbar-track,
.betting-alerts-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.betting-content::-webkit-scrollbar-thumb,
.betting-alerts-container::-webkit-scrollbar-thumb {
  background: rgba(76, 175, 80, 0.3);
  border-radius: 4px;
}

.betting-content::-webkit-scrollbar-thumb:hover,
.betting-alerts-container::-webkit-scrollbar-thumb:hover {
  background: rgba(76, 175, 80, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .betting-odds-modal {
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
  }

  .betting-odds-header {
    padding: 20px;
  }

  .betting-odds-matchup {
    gap: 12px;
  }

  .betting-team-name {
    font-size: 14px;
  }

  .betting-team-score {
    font-size: 18px;
  }

  .betting-team-logo {
    width: 40px;
    height: 40px;
  }

  .betting-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .betting-tab {
    flex: none;
    min-width: 100px;
    font-size: 12px;
    padding: 14px 12px;
  }

  .betting-content {
    padding: 16px;
  }

  .betting-odds-header-row,
  .betting-odds-row {
    font-size: 11px;
  }

  .betting-sportsbook-cell {
    font-size: 12px;
    padding: 10px;
  }

  .betting-odds-cell {
    padding: 10px;
  }

  .betting-line {
    font-size: 14px;
  }

  .betting-odds-value {
    font-size: 11px;
  }

  .betting-props-grid {
    grid-template-columns: 1fr;
  }

  .betting-alert {
    padding: 10px;
    font-size: 12px;
  }

  .betting-alert-icon {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .betting-odds-overlay {
    padding: 0;
  }

  .betting-odds-modal {
    border-radius: 0;
    max-height: 100vh;
  }

  .betting-odds-header-row,
  .betting-odds-row {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .betting-sportsbook-cell {
    font-size: 11px;
  }

  .betting-sportsbook-icon {
    width: 8px;
    height: 8px;
  }
}
