/* Container for average stats layout */
.avg-stats-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 20px;
    gap: 20px;
}

/* Team Averages Table Styling */
.team-averages {
    width: 30%;
}

.avg-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.avg-table th,
.avg-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

.avg-table th {
    background-color: #0056b3;
    color: white;
}

.avg-table td {
    color: #333;
}

.graph-container {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

#avg-stats-graph {
    max-width: 1000px;
    margin: 0 auto;
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .game-betting-layout {
    flex-direction: column;
    align-items: center;
  }

  .team-panel, .game-info {
    width: 100%;
    margin-bottom: 20px;
  }

  .team-logo {
    width: 80px;
    height: 80px;
  }

  .betting-table, .recommended-plays-table {
    font-size: 14px;
    width: 100%;
    overflow-x: auto;
  }

  .last-10-games th, .last-10-games td {
    font-size: 12px;
    padding: 5px;
  }

  .avg-stats-container, .game-summary-section {
    flex-direction: column;
    align-items: center;
  }

  .team-averages, .graph-container {
    width: 100%;
    margin-bottom: 20px;
  }
}
