/*----- Left Checkbox Filters -----*/

#left-checkbox-filter-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.left-checkbox-filter-group {
    border: 1px solid #d9d9d9;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.left-checkbox-filter-group fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.left-checkbox-filter-group legend {
    display: block;
    width: 100%;
    margin: 0;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    background: #eef2f6;
    border-bottom: 1px solid #d9d9d9;
}

.left-checkbox-filter-items {
    display: flex;
    flex-direction: column;
}

.left-checkbox-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #ececec;
    background: #fff;
    transition: background-color 0.15s ease;
}

.left-checkbox-filter-item:last-child {
    border-bottom: none;
}

.left-checkbox-filter-item:hover {
    background: #f7f9fb;
}

.left-checkbox-filter-item input[type="checkbox"] {
    margin: 0;
    transform: scale(1.1);
}

.left-checkbox-filter-item span:last-child {
    margin-left: auto !important;
    opacity: .6;
    font-weight: 400;
}

/* Lease status layout */
.nvadmin-lease-status-layout {
    display: flex;
    gap: 16px;
}

.nvadmin-lease-status-panel {
    flex: 1;
    min-width: 0;
}

/* Sidebar toggle */
#left-checkbox-filter-sidebar.sidebar-hidden {
    display: none;
}

.nvadmin-lease-status-layout.sidebar-collapsed .nvadmin-lease-status-panel {
    width: 100%;
}

/* Active filter pills */
.nv-filter-bar {
    margin-bottom: 10px;
}

.nv-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 18px;
    margin: 0 8px 10px 0;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    border: 1px solid #f97316;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.nv-filter-pill.active {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
}

.nv-filter-pill .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
}

.nv-filter-pill .close:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.nv-filter-pill:hover {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
}

.nv-filter-pill .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 10px;
    font-size: 12px;
}


/* Row changed highlight */
.row-changed {
    background-color: #fff3cd !important;
    transition: background-color 0.3s ease;
}