/* Philo Visitor Counter
 * --ratio lấy từ theme; nếu theme không có thì mặc định = 1 */
.custom-stats-widget {
    display: flex;
    flex-direction: column;
    gap: calc(1rem * var(--ratio, 1));
    align-items: center;
}

.custom-stats-widget .stats-total-boxes {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.25rem * var(--ratio, 1));
}

.custom-stats-widget .stats-total-boxes .digit-box {
    width: calc(1.75rem * var(--ratio, 1));
    height: calc(2rem * var(--ratio, 1));
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    font-size: calc(1.125rem * var(--ratio, 1));
    font-weight: 700;
    color: #000;
}

.custom-stats-widget .stats-list {
    width: 100%;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

.custom-stats-widget .stats-list li {
    list-style-type: none !important;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(0.75rem * var(--ratio, 1));
    font-family: "Inter", Sans-serif;
}

.custom-stats-widget .stats-list li .stats-label {
    display: flex;
    align-items: center;
    gap: calc(0.5rem * var(--ratio, 1));
    font-size: calc(0.875rem * var(--ratio, 1));
    font-weight: 700;
    font-family: "Inter", Sans-serif;
}

.custom-stats-widget .stats-list li .stats-label svg {
    width: calc(1.5rem * var(--ratio, 1));
    height: calc(1.5rem * var(--ratio, 1));
}

.custom-stats-widget .stat-today svg path {
    fill: #F79009;
}

.custom-stats-widget .stat-week svg path {
    fill: #F04438;
}

.custom-stats-widget .stat-month svg path {
    fill: #0086C9;
}

.custom-stats-widget .stats-list li .stats-value {
    font-size: calc(1rem * var(--ratio, 1));
}
