.charts,
.charts__area {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.chart-controls {
    display: flex;
    justify-content: center;
    column-gap: 30px;
}

input[type="text"].datepicker {
    width: 150px;
    padding: 5px 15px;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgba(12, 0, 46, 0.25);
}

.totals {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

#refresh-charts {
    padding: 5px 15px;
    background: #6754e2;
    border: 2px solid #6754E2;
    color: #fff;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

#refresh-charts:hover {
    border-color: #333;
    background: #fff;
    color: #333
}

#refresh-charts.loading::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid rgba(103, 84, 226, .4);
    border-top-color: rgba(103, 84, 226, 1);
    position: absolute;
    right: -50px;
    animation: rotating 2s linear infinite;
}

.charts__item:first-child {
    margin-bottom: 50px;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}