body {
    font-family: sans-serif;
    margin: 20px;
}

h1 {
    color: #333;
}

.total-participants-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.total-participants-summary span {
    font-weight: bold;
    color: #0056b3;
    padding: 5px 10px;
    background-color: #e0f7fa;
    border-radius: 5px;
    white-space: nowrap; /* Prevent wrapping for individual counts */
}

.total-class-summary-block {
    margin-bottom: 20px; /* Add spacing below the block */
    padding: 15px 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.total-class-summary-block h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.total-class-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.total-class-summary-table th,
.total-class-summary-table td {
    border: 1px solid #eee;
    padding: 8px 12px;
    text-align: center;
}

.total-class-summary-table th {
    background-color: #e0f7fa;
    color: #0056b3;
    font-weight: bold;
}

.total-class-summary-table tbody tr:nth-child(odd) {
    background-color: #fefefe;
}

.total-class-summary-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
