/* ========== СТИЛИ ТОЛЬКО ДЛЯ РЕЕСТРА СУБАРЕНДЫ ========== */

/* Статусные строки - полоска слева */
tr.expired td:first-child {
    border-left: 5px solid #dc3545 !important;
}
tr.expiring td:first-child {
    border-left: 5px solid #ffc107 !important;
}

/* Бейджи статусов */
.badge.bg-danger {
    background-color: #dc3545 !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;
}
.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Ширина колонок (только для субаренды, если нужно переопределить) */
.column-cadastral { min-width: 180px; max-width: 180px; }
.column-kn { min-width: 120px; max-width: 120px; }
.column-cadastral-area { min-width: 90px; max-width: 90px; text-align: right; }
.column-owner { min-width: 150px; max-width: 150px; }
.column-counterparty { min-width: 150px; max-width: 150px; }
.column-contract { min-width: 120px; max-width: 120px; }
.column-start { min-width: 90px; max-width: 90px; }
.column-end { min-width: 90px; max-width: 90px; }
.column-status { min-width: 80px; max-width: 80px; }
.column-document { min-width: 80px; max-width: 80px; text-align: center; }
.column-actions { min-width: 100px; max-width: 100px; text-align: center; }

/* Кнопки и элементы */
.btn-group-sm .btn {
    padding: 0.2rem 0.3rem;
    font-size: 0.7rem;
    line-height: 1.2;
}

.badge {
    padding: 0.3rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.dropdown-menu {
    font-size: 0.8rem;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.25rem 1rem;
    white-space: nowrap;
}