.statistics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.chart-block {
    background: #0a2534;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #1a3a4a;
    margin-bottom: 30px;
}

.chart-header {
    margin-bottom: 30px;
}

.chart-title {
    color: #ffd700;
    font-size: 22px;
    margin: 0;
    font-weight: 600;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
}

.chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #888;
    font-size: 18px;
}

#chatActivityChart {
    display: none;
}

.date-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1a3a4a;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #0a2a3a;
    border: 1px solid #1a3a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
}

.nav-btn:not(.disabled):hover {
    background: #4a9eff;
    border-color: #4a9eff;
    transform: scale(1.05);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.date-label {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    min-width: 150px;
    text-align: center;
}

@media (max-width: 768px) {
    .statistics-container {
        padding: 0 15px;
    }

    .chart-block {
        padding: 20px 15px;
    }

    .chart-wrapper {
        height: 300px;
    }

    .chart-title {
        font-size: 18px;
    }

    .date-navigation {
        gap: 15px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
    }

    .date-label {
        font-size: 16px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .portal-title {
        font-size: 22px;
    }

    .chart-wrapper {
        height: 250px;
    }

    .date-navigation {
        gap: 10px;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .date-label {
        font-size: 14px;
        min-width: 100px;
    }
}
