/* ─── Общие ─────────────────────────────────────────────── */

body {
    font-size: 0.875rem;
}

/* Навигация */
.navbar .nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

/* ─── Реестр ─────────────────────────────────────────────── */

.table th {
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
}

.registry-row:hover td {
    background-color: #f0f4ff;
}

/* Строка, требующая заполнения */
.row-needs-data td:first-child {
    border-left: 3px solid #fd7e14;
}

/* Липкий заголовок таблицы */
.table thead.sticky-top th {
    top: 0;
    z-index: 1;
    background: #f8f9fa;
}

/* Пагинация */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ─── Карточка обращения ──────────────────────────────────── */

.card-header strong {
    font-size: 0.9rem;
}

/* Форма — лейблы */
.form-label {
    font-size: 0.8rem;
    color: #495057;
    margin-bottom: 0.2rem;
}

/* ─── Статусы (badge) ─────────────────────────────────────── */

.badge.bg-secondary   { background-color: #6c757d !important; }
.badge.bg-warning     { background-color: #ffc107 !important; color: #212529 !important; }
.badge.bg-success     { background-color: #198754 !important; }
.badge.bg-info        { background-color: #0dcaf0 !important; color: #212529 !important; }
.badge.bg-primary     { background-color: #0d6efd !important; }
.badge.bg-dark        { background-color: #212529 !important; }

/* ─── Журнал изменений ────────────────────────────────────── */

.list-group-item.py-1 {
    font-size: 0.8rem;
}

/* ─── Утилиты ────────────────────────────────────────────── */

.font-monospace { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
