/* 
  Stat History Component Styles
  Defines styling for player stat history cards and related elements
*/

/* Container and layout */
.stat-history-grid {
  display: flex;
  flex-direction: column;
}

/* Column headers and labels */
.stat-label {
  width: 60px;
}

.stat-header {
  font-size: var(--text-sm);
  color: var(--clr-surface-a50);
}

/* Stat value columns */
.stat-value-column {
  width: 40px;
  border: 1px solid var(--clr-surface-a30);
}

/* Date and stat value containers */
.stat-box-container {
  width: 30px;
  margin-right: 1px;
  padding-right: 1px;
}

/* Stat date display */
.stat-date {
  width: 28px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--clr-surface-a50);
}

/* Value box shared properties */
.stat-value-box {
  width: 28px;
  height: 28px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  --minutes-border-width: 0%;
}

.stat-value-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: var(--minutes-border-width);
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

/* Average and P90 stat boxes */
.stat-average-box {
  background-color: #3A3A3A;
  color: white;
  height: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
}

/* Low minutes indicator */
.low-minutes-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: rgba(255,255,255,0.3);
}

/* Section spacing */
.overall-section {
  margin-bottom: var(--space-4);
}
