/* Advanced Analytics Styling for PGA Tournament Leaders */

.advanced-analytics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 1200px) {
  .advanced-analytics-row {
    grid-template-columns: 1fr !important;
  }
}

.analytics-card {
  background: linear-gradient(145deg, rgba(6, 20, 26, 0.95), rgba(3, 14, 20, 0.9));
  border: 1px solid rgba(29, 225, 209, 0.2);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.analytics-card-header h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.analytics-card-header p {
  color: #b8cbd4;
  font-size: 0.75rem;
  margin: 0 0 15px 0;
}

/* Variance Decomposition */
.variance-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}

.variance-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.variance-label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 110px;
  color: #e8f4f8;
  font-size: 0.85rem;
  font-weight: 500;
}

.variance-label i {
  color: #1de1d1;
  width: 16px;
}

.variance-bar-container {
  flex: 1;
  height: 28px;
  background: rgba(11, 20, 31, 0.8);
  border: 1px solid rgba(29, 225, 209, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.variance-bar {
  height: 100%;
  background: linear-gradient(90deg, #1de1d1, #00b8a9);
  display: flex;
  align-items: center;
  padding: 0 10px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(29, 225, 209, 0.3);
}

.variance-value {
  color: #04131d;
  font-size: 0.8rem;
  font-weight: 700;
}

.variance-stats {
  min-width: 70px;
  text-align: right;
}

.variance-stddev {
  color: #a0c4d0;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.variance-explanation {
  padding: 14px;
  background: rgba(29, 225, 209, 0.12);
  border-left: 4px solid #1de1d1;
  border-radius: 6px;
}

.variance-explanation p {
  color: #e8f4f8;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

/* Player Archetype */
.archetype-rankings {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.archetype-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(6, 20, 26, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(29, 225, 209, 0.15);
}

.archetype-row.archetype-top {
  background: rgba(29, 225, 209, 0.12);
  border-color: #1de1d1;
}

.archetype-rank {
  width: 28px;
  height: 28px;
  background: rgba(29, 225, 209, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1de1d1;
  font-size: 0.85rem;
}

.archetype-row.archetype-top .archetype-rank {
  background: #1de1d1;
  color: #04131d;
}

.archetype-info {
  flex: 1;
}

.archetype-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.archetype-name i {
  color: #1de1d1;
  font-size: 0.9rem;
}

.archetype-name strong {
  color: #e0f0f5;
  font-size: 0.9rem;
}

.archetype-desc {
  color: #8899a6;
  font-size: 0.75rem;
}

.archetype-meter {
  width: 120px;
  position: relative;
  display: flex;
  align-items: center;
}

.archetype-bar {
  height: 20px;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.archetype-bar.positive {
  background: linear-gradient(90deg, #00ff88, #1de1d1);
}

.archetype-bar.negative {
  background: linear-gradient(90deg, #ff4444, #ff6666);
}

.archetype-value {
  position: absolute;
  right: 0;
  color: #e0f0f5;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.archetype-insight {
  padding: 12px;
  background: rgba(29, 225, 209, 0.08);
  border-left: 3px solid #1de1d1;
  border-radius: 4px;
}

.archetype-insight p {
  color: #c5d8e0;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.archetype-insight i {
  color: #ffd700;
  margin-right: 4px;
}

/* Field Separation */
.field-separation-card {
  background: linear-gradient(145deg, rgba(6, 20, 26, 0.95), rgba(3, 14, 20, 0.9));
  border: 1px solid rgba(29, 225, 209, 0.2);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.separation-header h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.separation-header p {
  color: #b8cbd4;
  font-size: 0.75rem;
  margin: 0 0 15px 0;
}

.separation-meter-container {
  display: flex;
  gap: 24px;
  align-items: center;
}

@media (max-width: 900px) {
  .separation-meter-container {
    flex-direction: column;
    align-items: stretch;
  }
}

.score-circle {
  width: 140px;
  height: 140px;
  border: 4px solid;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.score-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.score-label {
  font-size: 0.7rem;
  color: #8899a6;
  margin-top: 4px;
}

.separation-details {
  flex: 1;
}

.separation-status {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.separation-status h5 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.separation-status p {
  margin: 0;
  color: #c5d8e0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.separation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .separation-stats {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: rgba(29, 225, 209, 0.05);
  border-radius: 4px;
}

.stat-label {
  color: #8899a6;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  color: #e0f0f5;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* Birdie Drivers Styling */
.birdie-drivers-card {
  grid-column: 1 / -1 !important;
}

.birdie-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(29, 225, 209, 0.2);
}

@media (max-width: 900px) {
  .birdie-overview {
    grid-template-columns: 1fr;
  }
}

.birdie-stat-box {
  text-align: center;
  padding: 12px;
  background: rgba(29, 225, 209, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(29, 225, 209, 0.15);
}

.birdie-stat-label {
  color: #8899a6;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.birdie-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  margin: 5px 0;
}

.birdie-stat-sublabel {
  color: #b8cbd4;
  font-size: 0.65rem;
}

.birdie-rankings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}

.birdie-driver-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(29, 225, 209, 0.03);
  border-radius: 6px;
  transition: all 0.2s;
}

.birdie-driver-row:hover {
  background: rgba(29, 225, 209, 0.08);
}

.birdie-driver-top {
  background: rgba(29, 225, 209, 0.1);
  border: 1px solid rgba(29, 225, 209, 0.3);
}

.birdie-driver-rank {
  min-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 225, 209, 0.15);
  color: #1de1d1;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
}

.birdie-driver-top .birdie-driver-rank {
  background: #1de1d1;
  color: #0a1f28;
  box-shadow: 0 0 10px rgba(29, 225, 209, 0.5);
}

.birdie-driver-info {
  flex: 1;
}

.birdie-driver-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.birdie-driver-name i {
  color: #1de1d1;
  font-size: 0.9rem;
}

.birdie-driver-name strong {
  color: #e8f4f8;
  font-size: 0.85rem;
  font-weight: 600;
}

.birdie-driver-comparison {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.7rem;
}

.tier-label {
  color: #8899a6;
  font-weight: 500;
}

.tier-value {
  color: #e0f0f5;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.tier-separator {
  color: #566a75;
  font-weight: 400;
}

.birdie-driver-meter {
  width: 150px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.birdie-driver-bar {
  height: 20px;
  border-radius: 4px;
  transition: width 0.3s ease;
  box-shadow: 0 2px 6px rgba(29, 225, 209, 0.3);
}

.birdie-driver-value {
  color: #e8f4f8;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  min-width: 60px;
  text-align: right;
}

.birdie-insight {
  background: rgba(29, 225, 209, 0.08);
  border-left: 3px solid #1de1d1;
  padding: 12px;
  border-radius: 4px;
  margin-top: 15px;
}

.insight-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.birdie-insight p {
  color: #b8cbd4;
  font-size: 0.8rem;
  margin: 8px 0;
  line-height: 1.5;
}

.birdie-insight strong {
  color: #e8f4f8;
  font-weight: 600;
}

.no-data-message {
  text-align: center;
  color: #8899a6;
  padding: 20px;
  font-style: italic;
}

/* Birdie Player Recommendations */
.birdie-recommendations {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(29, 225, 209, 0.2);
}

.recommendations-header {
  margin-bottom: 20px;
}

.recommendations-header h5 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.recommendations-header h5 i {
  color: #1de1d1;
}

.recommendations-header p {
  color: #8899a6;
  font-size: 0.75rem;
  margin: 0;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

@media (max-width: 1400px) {
  .recommendations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .recommendations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
}

.recommendation-card {
  background: rgba(29, 225, 209, 0.05);
  border: 1px solid rgba(29, 225, 209, 0.15);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.recommendation-card:hover {
  background: rgba(29, 225, 209, 0.1);
  border-color: rgba(29, 225, 209, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 225, 209, 0.2);
}

.recommendation-top-tier {
  background: rgba(29, 225, 209, 0.12);
  border: 2px solid rgba(29, 225, 209, 0.4);
  box-shadow: 0 2px 8px rgba(29, 225, 209, 0.15);
}

.recommendation-top-tier:hover {
  border-color: rgba(29, 225, 209, 0.6);
  box-shadow: 0 6px 16px rgba(29, 225, 209, 0.3);
}

.recommendation-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(29, 225, 209, 0.15);
}

.recommendation-rank {
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 225, 209, 0.2);
  color: #1de1d1;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.recommendation-top-tier .recommendation-rank {
  background: #1de1d1;
  color: #0a1f28;
  box-shadow: 0 0 8px rgba(29, 225, 209, 0.5);
}

.recommendation-player-info {
  flex: 1;
  min-width: 0;
}

.recommendation-player-name {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommendation-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.recommendation-position {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

.position-top10 {
  background: rgba(29, 225, 209, 0.3);
  color: #1de1d1;
  border: 1px solid #1de1d1;
}

.position-top25 {
  background: rgba(243, 156, 18, 0.3);
  color: #f39c12;
  border: 1px solid #f39c12;
}

.position-other {
  background: rgba(136, 153, 166, 0.3);
  color: #8899a6;
  border: 1px solid #8899a6;
}

.recommendation-birdies {
  color: #b8cbd4;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.recommendation-birdies i {
  color: #1de1d1;
  font-size: 0.65rem;
}

.recommendation-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.recommendation-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recommendation-stat .stat-label {
  color: #8899a6;
  font-size: 0.7rem;
}

.recommendation-stat .stat-value {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.recommendation-stat .stat-value.positive {
  color: #1de1d1;
}

.recommendation-stat .stat-value.negative {
  color: #e74c3c;
}

.recommendation-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(29, 225, 209, 0.15);
}

.score-label {
  color: #8899a6;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.score-value {
  color: #1de1d1;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.recommendation-top-tier .score-value {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(29, 225, 209, 0.8);
}

.recommendations-note {
  background: rgba(29, 225, 209, 0.08);
  border-left: 3px solid #1de1d1;
  padding: 10px 12px;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.recommendations-note i {
  color: #1de1d1;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.recommendations-note span {
  color: #b8cbd4;
  font-size: 0.75rem;
  line-height: 1.4;
}

.recommendations-note strong {
  color: #e8f4f8;
  font-weight: 600;
}

/* Momentum Analysis Styling */
.momentum-card {
  grid-column: 1 / -1 !important;
}

.breakout-alert {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 140, 0, 0.08));
  border: 2px solid rgba(255, 107, 0, 0.5);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.2);
}

.bounce-back-alert {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.12), rgba(41, 128, 185, 0.08));
  border-color: rgba(52, 152, 219, 0.5);
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.2);
}

.bounce-back-alert .breakout-header {
  color: #5dade2;
}

.bounce-back-alert .breakout-alert p {
  color: #a8d5ed;
}

.bounce-back-alert .breakout-player {
  background: rgba(52, 152, 219, 0.15);
  border-left-color: #3498db;
}

.bounce-back-alert .breakout-detail {
  color: #a8d5ed;
}

.momentum-comparison-type {
  background: rgba(29, 225, 209, 0.08);
  border-left: 3px solid #1de1d1;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.momentum-comparison-type i {
  color: #1de1d1;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.momentum-comparison-type span {
  color: #b8cbd4;
  font-size: 0.8rem;
}

.momentum-comparison-type strong {
  color: #e8f4f8;
}

.momentum-bounce-back {
  border-color: rgba(52, 152, 219, 0.5);
  box-shadow: 0 0 12px rgba(52, 152, 219, 0.2);
}

.bounce-back-badge {
  background: linear-gradient(135deg, #5dade2, #3498db);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.hot-start-badge {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(46, 204, 113, 0.3);
}

.breakout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffb366;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.breakout-header i {
  font-size: 1.05rem;
  animation: pulse 2s infinite;
}

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

.breakout-alert p {
  color: #d9d9d9;
  font-size: 0.8rem;
  margin: 8px 0;
  line-height: 1.5;
}

.breakout-players {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.breakout-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 107, 0, 0.12);
  border-radius: 8px;
  border-left: 3px solid #ff8c42;
}
}

.breakout-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
}

.breakout-detail {
  color: #ffcc99;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  font-weight: 500;
}

/* Momentum Table Styling */
.momentum-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.momentum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
}

.momentum-table thead {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.momentum-table th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.momentum-table th.rank-col {
  width: 50px;
  text-align: center;
}

.momentum-table th.player-col {
  min-width: 180px;
}

.momentum-table th.position-col {
  width: 60px;
  text-align: center;
}

.momentum-table th.comparison-col {
  width: 100px;
  text-align: center;
}

.momentum-table th.sg-col {
  width: 80px;
  text-align: center;
  font-size: 0.75rem;
}

.momentum-table th.sg-col i {
  margin-right: 4px;
  color: #1de1d1;
}

.momentum-table th.birdies-col {
  width: 100px;
  text-align: center;
}

.momentum-table th.birdies-col i {
  margin-right: 4px;
  color: #2ecc71;
}

.momentum-table th.eagles-col {
  width: 80px;
  text-align: center;
}

.momentum-table th.eagles-col i {
  margin-right: 4px;
  color: #f39c12;
}

.momentum-table th.bogey-col {
  width: 100px;
  text-align: center;
}

.momentum-table th.bogey-col i {
  margin-right: 4px;
  color: #5dade2;
}

.momentum-table th.score-col {
  width: 80px;
  text-align: center;
}

.momentum-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease;
}

.momentum-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.momentum-table tbody tr.top-tier {
  background: rgba(29, 225, 209, 0.08);
}

.momentum-table tbody tr.bounce-back {
  border-left: 3px solid #5dade2;
}

.momentum-table tbody tr.breakout {
  border-left: 3px solid #ff8c42;
}

.momentum-table td {
  padding: 12px 10px;
  color: #d0d8e0;
}

.momentum-table td.rank-cell {
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9rem;
}

.momentum-table tr.top-tier td.rank-cell {
  color: #1de1d1;
  font-size: 1rem;
}

.momentum-table td.player-cell {
  font-weight: 600;
}

.momentum-table .player-name {
  color: #ffffff;
  margin-bottom: 4px;
}

.momentum-table .player-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.momentum-table .badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.momentum-table .bounce-back-badge {
  background: linear-gradient(135deg, #2874a6, #3498db);
  color: #ffffff;
}

.momentum-table .breakout-badge {
  background: linear-gradient(135deg, #d35400, #e67e22);
  color: #ffffff;
}

.momentum-table .hot-badge {
  background: linear-gradient(135deg, #1b7a4a, #27ae60);
  color: #ffffff;
}

.momentum-table td.position-cell {
  text-align: center;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.momentum-table td.position-cell.position-top10 {
  color: #2ecc71;
}

.momentum-table td.position-cell.position-top25 {
  color: #5dade2;
}

.momentum-table td.position-cell.position-other {
  color: #95a5b0;
}

.momentum-table td.comparison-cell {
  text-align: center;
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 500;
}

.momentum-table td.sg-cell {
  text-align: center;
  padding: 8px 6px;
}

.momentum-table td.sg-cell.biggest-change {
  background: rgba(29, 225, 209, 0.1);
  border-left: 2px solid #1de1d1;
}

.momentum-table .sg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 3px 0;
}

.momentum-table .sg-label {
  font-size: 0.7rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  min-width: 32px;
  text-align: right;
  letter-spacing: 0.5px;
}

.momentum-table .sg-previous {
  font-weight: 700;
  font-size: 0.8rem;
}

.momentum-table .sg-previous.positive {
  color: #1de1d1;
}

.momentum-table .sg-previous.negative {
  color: #ff6b6b;
}

.momentum-table .sg-value {
  font-weight: 700;
  font-size: 0.85rem;
}

.momentum-table .sg-value.positive {
  color: #1de1d1;
}

.momentum-table .sg-value.negative {
  color: #ff6b6b;
}

.momentum-table .sg-delta {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 2px;
  display: inline-block;
}

.momentum-table .sg-delta.improved {
  background: rgba(29, 225, 209, 0.15);
  color: #1de1d1;
}

.momentum-table .sg-delta.declined {
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
}

.momentum-table td.birdies-cell {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.momentum-table .birdie-delta {
  font-weight: 700;
  font-size: 0.75rem;
  margin-left: 4px;
}

.momentum-table .birdie-delta.positive {
  color: #2ecc71;
}

.momentum-table .birdie-delta.negative {
  color: #ff6b6b;
}

.momentum-table td.eagles-cell {
  text-align: center;
  font-size: 1rem;
  color: #f39c12;
  font-weight: 700;
}

.momentum-table .eagle-indicator {
  color: #2ecc71;
  font-size: 0.75rem;
  font-weight: 700;
}

.momentum-table td.bogey-cell {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.momentum-table .bogey-free-indicator {
  color: #2ecc71;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.momentum-table .improving {
  color: #5dade2;
  font-size: 0.75rem;
  font-weight: 700;
}

.momentum-table .low-bogey {
  color: #95a5b0;
}

.momentum-table .bogey-free-badge {
  background: linear-gradient(135deg, #1b7a4a, #27ae60);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
}

.momentum-table .birdie-delta.positive {
  color: #2ecc71;
}

.momentum-table .birdie-delta.negative {
  color: #ff6b6b;
}

.momentum-table td.score-cell {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1de1d1;
  font-family: 'Courier New', monospace;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .momentum-table {
    font-size: 0.75rem;
  }
  
  .momentum-table th,
  .momentum-table td {
    padding: 8px 6px;
  }
  
  .momentum-table th.player-col {
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .momentum-table-wrapper {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .momentum-table {
    font-size: 0.7rem;
  }
  
  .momentum-table th,
  .momentum-table td {
    padding: 6px 4px;
  }
}

.momentum-insight {
  background: rgba(29, 225, 209, 0.08);
  border-left: 3px solid #1de1d1;
  padding: 12px;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.momentum-insight i {
  color: #1de1d1;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.momentum-insight p {
  color: #b8cbd4;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}

.momentum-insight strong {
  color: #e8f4f8;
  font-weight: 600;
}
