/* Filters Toggle Button */
.btn-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-filters-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.btn-filters-toggle i {
    font-size: 16px;
}.filters-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

/* Offcanvas Drawer */
.filters-offcanvas {
    max-width: 380px;
}
.filters-offcanvas .offcanvas-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}
.filters-offcanvas .offcanvas-header .btn-close {
    order: -1;
    margin-right: 16px;
    margin-left: 0;
}
.filters-offcanvas .offcanvas-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.filters-clear-link {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
}
.filters-clear-link:hover {
    color: #dc3545;
}
.filters-offcanvas .offcanvas-body {
    padding: 24px;
    overflow-y: auto;
}
.filters-offcanvas .offcanvas-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
}
.btn-show-offers {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}
.btn-show-offers:hover {
    background: #a71d2a;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.pagination-wrapper .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}
.pagination-wrapper .pagination li a,
.pagination-wrapper .pagination li span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}
.pagination-wrapper .pagination li a:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}
.pagination-wrapper .pagination li.active span {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}
.pagination-wrapper .pagination li.disabled span {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

/* Price Range Slider */
.fleets-price-range {
    padding: 5px 0 10px;
}
.price-range-slider {
    position: relative;
    height: 30px;
    margin-bottom: 10px;
}
.price-range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    outline: none;
    z-index: 1;
}
.price-range-slider input[type="range"]:last-child {
    z-index: 2;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #dc3545;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 3;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #dc3545;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 3;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* Override: ensure filters stack vertically inside the offcanvas */
.filters-offcanvas .fleets-sidebar-list-box {
    display: block;
}
.filters-offcanvas .fleets-sidebar-list {
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.filters-offcanvas .fleets-sidebar-list:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Empty state — dark background */
.page-fleets--dark .text-center h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
}
.page-fleets--dark .text-center p {
    color: rgba(255, 255, 255, 0.5);
}
.page-fleets--dark .text-center p a {
    color: var(--accent-color);
    text-decoration: underline;
}
.page-fleets--dark .text-center p a:hover {
    color: #fff;
}

/* Filters Bar */
.filters-button-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

