/* ===== ШОРТКОДЫ СТАТИСТИКИ ===== */

/* === ОБЩИЕ СТИЛИ === */
.stat-wrapper {
    background: var(--color-bg-widget);
    padding: 15px;
    margin: 0 0 20px 0;
    border: 1px solid var(--global-palette4, #1e2635);
    border-radius: 0;
    font-weight: 500;
    display: block;
}

.stat-header {
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 8px;
}

.stat-legend {
    font-size: 0.95em;
    margin-bottom: 10px;
     color: var(--color-text-success);
}

.stat-legend-published {
    color: var(--color-text-success);
    font-weight: 600;
}

.stat-legend-inprogress {
   color: var(--color-text-danger);
    font-weight: 600;
}

/* === СПИСОК === */
.stat-list {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}

.stat-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0!important;
    border-bottom: 1px dashed #111;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 400;
    flex: 1;
}

.stat-published {
    font-weight: 600;
    margin-left: 10px;
    color: var(--color-text-success);
}

.stat-inprogress {
    color: var(--color-text-danger);
    font-weight: 600;
    margin-left: 10px;
}

.stat-total {
    color: var(--global-palette1, #9B004E);
    font-size: 0.9rem;
    margin-left: 5px;
}

.stat-empty {
    color: #999;
    font-style: italic;
    padding: 8px 0;
}

 

.stat-divider {
    color: #999;
    font-weight: 300;
}


/* === ОТДЕЛЬНЫЕ ЦИФРЫ === */
.stat-number {
    font-weight: 700;
    font-size: 0.85em;
    padding: 2px 4px;
    border-radius: 6px;
    display: inline-block;
}

/* ОПУБЛИКОВАНО*/
.stat-events-published,
.stat-place-published,
.stat-library-published {
    background: var(--color-bg-success);
    color: var(--color-text-success);
    border: 1px solid var(--color-border-success);
}

/* ВСЕГО  */
.stat-events-all,
.stat-place-all,
.stat-library-all {
    background: var(--color-bg-info);
    color: var(--color-text-info);
    border: 1px solid var(--color-border-info);
}

/* В РАБОТЕ  */
.stat-events-pending,
.stat-place-pending,
.stat-library-pending {
    background: var(--color-bg-warning);
    color: var(--color-text-warning);
    border: 1px solid  var(--color-border-warning);
}

.stat-date {
    font-size: 0.8em;
    padding: 2px 4px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    background: var(--global-palette15, #f6f6f6);
    color: var(--global-palette3, #00030c);
    border: 1px solid var(--global-palette3, #00030c);
}