﻿.profile-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.filter-section,
.statistics-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.filter-group,
.statistics-table,
.statistics-chart,
.filter-options {
    background-color: var(--surface-1);
    color: var(--text-color);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter-options {
    padding: 16px 20px;
}

.statistics-table,
.statistics-chart {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.filter-group input[type="checkbox"] {
    margin: 0;
}

.statistics-section table tbody tr:nth-child(odd) {
    background-color: var(--table-odd-row-background-color);
}
.statistics-section table tbody tr:nth-child(even) {
    background-color: var(--table-even-row-background-color);
}

@media only screen and (max-width: 1310px) {
    .profile-box,
    .filter-section,
    .statistics-section,
    .filter-options,
    .filter-group,
    .statistics-table,
    .statistics-chart {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .statistics-section {
        gap: 12px;
    }

    .filter-options {
        flex-direction: column;
    }
}
