.form-select .leftFilterPanel {
font-size: 9px !important;
  font-weight: 600;
  color: #ff0000 !important;
  margin-bottom: 4px;
}

aside.col-lg-2 {
  flex: 0 0 180px !important; /* increases width of the left panel */
  max-width: 200px !important;
}



/* Adjust spacing and visual consistency */
#leftFilterPanel .card {
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

#leftFilterPanel .card {
    border: 1px solid #dee2e6;
    max-height: 70vh;
    overflow-y: auto;
  min-width: 150px !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .reset-text {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .form-control, .form-select {
        padding-right: 45px !important;
    }
}

/* left collapse panel styles */
#leftFilterPanel .card {
  border-radius: 5px;
  font-size: 12px !important;
  color: rgb(253, 11, 11) !important;
}




#left-search-box:focus {
  border-color: #007bff;      /* blue border on focus */
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
  outline: none;
}


.form-label.small {
font-size: 11px !important;
  font-weight: 600;
  color: #3d3d3d;
  margin-bottom: 4px;
}

#left-search-box::placeholder {
  color: #888;                /* placeholder text color */
  font-style: italic; 
font-size: 10px !important;        /* subtle style */
}


/* ------------------------- */

/* Force show all filter sections */
#leftFilterPanel .mb-3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure brand filter is visible */
#brand-filter {
    display: block !important;
    visibility: visible !important;
}



/* .reset-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 0.8rem;
    z-index: 10;
    background: white;
    padding: 0 5px;
} */


/* Reset buttons styling */
.reset-text {
    position: absolute;
    right: 8px;
    top: 5%;
    transform: translateY(-50%);
    background: #ff3015;
    color: white !important;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 9px !important;
    cursor: pointer;
    display: none;
    z-index: 5;
    line-height: 1;
}

.reset-text:hover {
    background: #ff0000;
    color: #ffffff;
}

.position-relative {
    position: relative
}

/* Reset button styling */
.filter-section .position-relative .btn {
  background: none;
  border: none;
  color: #6c757d;
  padding: 0 8px;
  z-index: 10;
}

.filter-section .position-relative .btn:hover {
  color: #dc3545;
}


/* Ensure form controls with reset buttons have proper padding */
.form-control, .form-select {
    padding-right: 50px !important;
}

/* Specific styling for price range inputs */
.d-flex.gap-2 .form-control {
    padding-right: 12px !important;
}

.d-flex.gap-2 .position-relative {
    flex: 1;
}

.d-flex.gap-2 .reset-text {
    right: 4px;
}

/* Loading states */
#loading-indicator {
    display: none;
}

/* Results count */
#results-count {
    font-size: 0.9rem;
    color: #6b6c6d;
}

/* Filter panel improvements */
.filter-toggle-box {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
}





/* ********************************** */

/* Add padding to inputs with reset buttons */
.filter-section .position-relative input,
.filter-section .position-relative select {
  padding-right: 35px !important;
}

/* Filter Styles */
.chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ff2600 !important;
  border-radius: 20px;
  font-size: 10px;
  margin: 4px 6px 0 0;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}

.chip:hover {
  background-color: #f8f9fa;
}

.chip.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Form controls */
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 8px 8px;
  font-size: 11px;
  color: black;
}


.form-control, .form-select .left-category-filter{
color: black !important;
}

.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
font-size: 14px;
}

.btn-primary:hover {
  background-color: #0249b3;
  border-color: #0a58ca;
  color: #ddd;
}

.btn-light {
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.btn-light:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

#category-filter {
  min-width: 160px;
  border-radius: 6px;
}

#filter-panel .card {
  border-radius: 12px;
  border: 1px solid #ddd;
}
