/* Дополнительные стили поверх Bootstrap (шаг 20 — расширение) */
.bpm-page-title {
    font-size: 1.35rem;
}

.pay-filter {
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
}

[data-bs-theme="dark"] .pay-filter {
    background-color: var(--bs-tertiary-bg);
}

tr.row-recv {
    --bs-table-bg: rgba(25, 135, 84, 0.12);
}

tr.row-wait.past {
    --bs-table-bg: rgba(220, 53, 69, 0.1);
}

/* Сортировка таблицы облигаций */
th.bpm-sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

th.bpm-sortable:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.08);
}

th.bpm-sort-asc::after {
    content: " \2191";
    font-size: 0.75em;
    opacity: 0.7;
}

th.bpm-sort-desc::after {
    content: " \2193";
    font-size: 0.75em;
    opacity: 0.7;
}

/* Карточка облигации: сетка терминов */
.bpm-dl-grid dt {
    font-weight: 500;
}

@media (min-width: 576px) {
    .bpm-dl-grid dt {
        margin-bottom: 0 !important;
    }
}

/* КЭО: оранжевый уровень (между «выше» и «слабо») */
.text-keo-orange {
    color: #e8590c !important;
}

.bg-keo-orange {
    background-color: #e8590c !important;
}
