/* Container for the stats grid */
.stats-container {
    max-width: 900px; /* Control width to avoid overly large columns */
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* The grid layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    grid-template-rows: 1fr 1fr; /* 2 equal rows */
    gap: 0; /* No gap, we are using borders to separate */
    text-align: center;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #000; /* Pink color */
}

/* Each stat block */
.stats-grid div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}

/* Styling the number text */
.stats-grid div span {
    font-size: 2rem;
    font-weight: bold;
}

/* Vertical dividers */
.stats-grid div:not(:nth-child(4n)) { /* Vertical dividers between columns */
    border-right: 2px solid #000;
}

/* Horizontal divider */
.stats-grid div:nth-child(-n+4) { /* Horizontal divider between rows */
    border-bottom: 2px solid #000;
}

/* Responsive for small screens */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
        grid-template-rows: repeat(4, auto);   /* Stack into 4 rows */
    }
    .stats-grid div {
        padding: 15px 5px;
    }
}

/* Weeks on Chart section */
.weeks-on-chart {
    text-align: center;
    margin: 0 auto;
}

.weeks-on-chart h5 {
    font-size: 1.25rem;
    color: #0000ff; /* Blue color for the header */
    margin-bottom: 10px;
    border-bottom: 2px solid #0000ff;
    display: inline-block;
    padding-bottom: 5px;
}

/* Weeks on Chart section */
.weeks-on-chart {
    text-align: center;
    margin: 0 auto;
    max-width: 100%; /* Ensure the section fits within the parent div */
    padding: 10px;
}

.weeks-on-chart h5 {
    font-size: 1.25rem;
    color: #0000ff; /* Blue color for the header */
    margin-bottom: 15px;
    border-bottom: 2px solid #0000ff;
    display: inline-block;
    padding-bottom: 5px;
}

/* Parent container styling */
.chart-container {
    width: 100%;
    max-width: 960px; /* Ensures it fits within the container width */
    padding: 20px;
    margin: 0 auto;
    background-color: #f9f9f9; /* Background for the div */
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

/* Styling for Weeks on Chart section */
.weeks-on-chart {
    text-align: center;
    margin: 20px auto 0 auto; /* Ensure it centers horizontally and adds spacing from above */
    max-width: 100%;
    padding: 10px;
}

.weeks-on-chart h5 {
    font-size: 1.25rem;
    color: #0000ff; /* Blue color for the header */
    margin-bottom: 15px;
    border-bottom: 2px solid #0000ff;
    display: inline-block;
    padding-bottom: 5px;
}

/* Parent container styling */
.chart-container {
    width: 100%;
    max-width: 960px; /* Ensures it fits within the container width */
    padding: 20px;
    margin: 0 auto;
    background-color: #f9f9f9; /* Background for the div */
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

/* Styling for Weeks on Chart section */
.weeks-on-chart {
    text-align: center;
    margin: 20px auto 0 auto; /* Ensure it centers horizontally and adds spacing from above */
    max-width: 100%;
    padding: 10px;
}

.weeks-on-chart h5 {
    font-size: 1.25rem;
    color: #000000; /* Blue color for the header */
    margin-bottom: 15px;
    border-bottom: 2px solid #000000;
    display: inline-block;
    padding-bottom: 5px;
}

/* Grid for the chart data */
.infoSection
{
    width: 85%;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 equal columns */
    gap: 10px;
    justify-items: center;
    max-width: 100%; /* Ensure grid fits parent width */
}

.chart-grid div {
    padding: 20px;
    border-left: 2px solid #000000; /* Pink vertical divider */
}

.chart-grid div:first-child {
    border-left: none; /* No border on the first column */
}

/* Styling for the chart numbers */
.chart-number {
    font-size: 1.75rem; /* Reduced size to ensure fit */
    color: #000000; /* Pink color for the numbers */
    font-weight: bold;
    line-height: 1.2;
}

/* Styling for the chart labels */
.chart-label {
    font-size: 1rem;
    color: #333;
    margin-top: 5px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .chart-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .chart-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns per row on very small screens */
    }
}


