

.sb-istat-counter {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 32px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-align: center;
}

.sb-istat-counter .sb-istat-num {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--sb-primary, #1a56a4);
    line-height: 1;
}

.sb-istat-counter .sb-istat-lbl {
    font-size: 0.82rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sb-istat-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sb-istat-card {
    flex: 1;
    min-width: 130px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    transition: box-shadow .2s;
}

.sb-istat-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.sb-istat-card i {
    font-size: 1.6rem;
    color: var(--sb-primary, #1a56a4);
    opacity: .85;
}

.sb-istat-card strong {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

.sb-istat-card span {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sb-istat-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.sb-istat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.sb-istat-table thead tr {
    background: #f7f8fa;
}

.sb-istat-table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #444;
    border-bottom: 1px solid #e8e8e8;
    white-space: nowrap;
}

.sb-istat-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #f2f2f2;
    color: #333;
    vertical-align: middle;
}

.sb-istat-table tbody tr:last-child td {
    border-bottom: none;
}

.sb-istat-table tbody tr:hover td {
    background: #fafafa;
}

.sb-istat-table .sb-istat-rank {
    width: 36px;
    color: #aaa;
    font-size: 0.8rem;
    text-align: center;
}

.sb-istat-table .sb-istat-count {
    width: 80px;
    text-align: right;
    font-weight: 700;
    color: var(--sb-primary, #1a56a4);
    white-space: nowrap;
}

.sb-istat-table a {
    color: inherit;
    text-decoration: none;
}

.sb-istat-table a:hover {
    color: var(--sb-primary, #1a56a4);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .sb-istat-panel {
        flex-direction: column;
    }
    .sb-istat-card {
        flex-direction: row;
        justify-content: flex-start;
        gap: 14px;
        text-align: left;
    }
}
