/* app/assets/stylesheets/components/big_stat.css */
.big-stat {
    text-align: left;
    padding: var(--size-5);
    background-color: var(--layer-background);
    border-radius: var(--radius-medium);
    display: flex;
    flex-direction: column;
    gap: var(--size-2);
  }
  
  /* This ensures the value and direction icon are in a row */
  .big-stat-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--size-2);
  }
  
  .big-stat-direction {
    color: var(--stat-color, var(--on-layer-widget));
    display: flex;
    align-items: center;
  }
  
  .big-stat-value {
    font-size: var(--font-size-display-medium);
    font-weight: var(--font-weight-7);
    line-height: 1;
    color: var(--stat-color, var(--on-layer-background));
  }
  
  .big-stat-label {
    font-size: var(--font-size-body-medium);
    font-weight: var(--font-weight-4);
    color: var(--on-layer-widget);
    margin-top: var(--size-1);
  }
  
  /* Color utilities for the stat */
  .big-stat.steel-blue {
    --stat-color: rgb(var(--steel-blue));
  }
  
  .big-stat.terra-cotta {
    --stat-color: rgb(var(--terra-cotta));
  }
  
  .big-stat.dark-text {
    --stat-color: var(--on-layer-background));
  }
  
  /* Size variants */
  .big-stat.small {
    padding: var(--size-3);
  }
  
  .big-stat.small .big-stat-value {
    font-size: var(--font-size-headline-large);
  }
  
  .big-stat.large {
    padding: var(--size-6);
  }
  
  .big-stat.large .big-stat-value {
    font-size: var(--font-size-display-large);
  }