.telegram-statistics {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.telegram-statistics article {
    padding: 18px;
    border: 1px solid var(--admin-border);
    background: #e4e3de;
}

.telegram-statistics span,
.telegram-statistics strong {
    display: block;
}

.telegram-statistics span {
    color: #6d706d;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.telegram-statistics strong {
    margin-top: 9px;
    font-size: 24px;
}

.telegram-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.telegram-admin-actions form {
    margin: 0;
}

.admin-secondary-action,
.admin-table-action {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--admin-border);
    background: #d9d8d3;
    color: #171817;
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-table-action {
    min-height: 30px;
    color: var(--admin-wine);
}

.telegram-qr-card {
    display: grid;
    max-width: 310px;
    margin-top: 17px;
    justify-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--admin-border, var(--border));
    background: #ffffff;
}

.telegram-qr-card canvas {
    display: block;
    width: min(260px, 100%);
    height: auto;
}

.telegram-qr-card p {
    margin: 0;
    color: #686b67;
    font-size: 8px;
    text-align: center;
}

.telegram-qr-card button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #71334b;
    background: #71334b;
    color: #ffffff;
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.telegram-qr-card--account {
    margin: 24px auto 0;
}

.telegram-account-card
.telegram-qr-card--account {
    border-color: var(--border);
}

@media (max-width: 1050px) {
    .telegram-statistics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .telegram-statistics {
        grid-template-columns: 1fr 1fr;
    }

    .telegram-admin-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .telegram-admin-actions button,
    .telegram-admin-actions a {
        width: 100%;
    }
}