
.vstats {
    font-family: Arial, sans-serif;
    color: #344054;
    width: 100%;
}

.vstats-heading,
.vstats-chart-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.vstats-heading h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
}

.vstats-heading span,
.vstats-chart-heading span {
    font-size: 11px;
    color: #929bad;
}

.vstats-live {
    color: #16a879;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
}

.vstats-live span,
.vstats-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16bb83;
    margin-right: 4px;
    animation: vstatsPulse 1.5s infinite;
}

.vstats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vstats-card {
    padding: 13px;
    border: 1px solid #edf0f5;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(30,50,80,.035);
    min-width: 0;
}

.vstats-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.vstats-card-top > span {
    font-size: 11px;
    font-weight: 600;
    color: #7b8495;
}

.vstats-icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

.vstats-number {
    font-size: 25px;
    font-weight: 800;
    color: #26364b;
    margin: 10px 0 7px;
    letter-spacing: -.7px;
    overflow-wrap: anywhere;
}

.vstats-card-footer {
    font-size: 9px;
    color: #9ba4b3;
}

.vstats-chart {
    border: 1px solid #edf0f5;
    border-radius: 11px;
    padding: 15px 12px;
    margin-top: 15px;
    background: #fff;
}

.vstats-chart-heading {
    margin-bottom: 15px;
}

.vstats-chart-heading h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
}

.vstats-chart-label {
    font-size: 9px !important;
    color: #4385ef !important;
    font-weight: bold;
    white-space: nowrap;
}

.vstats-svg {
    display: block;
    width: 100%;
    height: 125px;
    overflow: visible;
}

.vstats-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.vstats-chart-labels span {
    font-size: 9px;
    color: #929bad;
}

.vstats-chart-legend {
    font-size: 10px;
    color: #8993a4;
    margin-top: 15px;
}

.vstats-chart-legend span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4385ef;
    border-radius: 50%;
    margin-right: 5px;
}

.vstats-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 9px;
    color: #a0a8b5;
    margin-top: 14px;
}

@keyframes vstatsPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .4;
        transform: scale(.8);
    }
}

@media (max-width: 350px) {
    .vstats-number {
        font-size: 21px;
    }

    .vstats-card {
        padding: 10px;
    }
}
