/* Utilities */
.position-relative {
  position: relative;
}
.round-10 {
  border-radius: 10px;
}
.cursor-pointer {
  cursor: pointer;
}
.tag-muted {
  color: #a1a1aa !important;
  margin-left: 2px;
}
.icon-muted {
  color: rgb(108, 117, 125) !important;
}

.amenity-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

    .amenity-svg svg {
        width: 20px;
        height: 20px;
        display: block;
    }

/* Specific Font Sizes matching design */
.fs-11 { font-size: 11px; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-24 { font-size: 24px; }

/* Text color */
.text-black {
  color: #11223e !important;
}

/* --- Filter Sidebar --- */

.filter-sidebar h5,
.filter-sidebar h6,
.filter-sidebar label {
  font-family: Arial, sans-serif;
}

.filter-sidebar label.form-label {
  margin-bottom: 0.25rem;
}

.form-select {
  background-color: #F1F3F5;
  border: none;
}

.form-check-input {
  border-color: #d4d4d4;
  background-color: #fbfbfb;
  height: 20px;
  width: 20px;
}
.check-sl {
  height: 15px;
  width: 20px;
}

.form-check-input:checked {
  background-color: #0f1c35;
  border-color: #0f1c35;
}

.rental-type-list .list-group-item,
.amenity-list-1 .list-group-item,
.amenity-list .list-group-item {
  padding-left: 0;
  padding-right: 0;
  border-bottom-color: #f1f1f1;
}

.rental-type-list .form-check-label {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Custom Dual Range Price Slider (layered inputs) */
.price-range-container {
  max-width: 100%;
}

.w-45 {
  width: 45%;
}

.price-box {
  color: grey;
  font-size: 12px;
  padding: 10px 0;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}

.slider-track {
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: #e5e7eb;
  border-radius: 5px;
  z-index: 1;
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background-color: #ffff;
  border-radius: 20px;
  cursor: pointer;
  pointer-events: auto;
  border: 2px solid black;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background-color: #11223e;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  border: 3px solid #fff;
}


/* Number input (Rooms & Beds) counter buttons */
.number-input-group .btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: #f1f1f1;
  color: #111;
  border: none;
}

.icon-box {
  background-color: #e8ebf0;
  border-radius: 10px;
}

.decrement-btn,
.increment-btn {
  border: 1px solid rgb(212, 212, 212) !important;
  background-color: transparent !important;
}

.number-input-group .btn:hover {
  background-color: #e5e5e5;
}

/* Amenities collapse list */
.amenity-list.collapsed .list-group-item {
  display: none !important;
}

/* Confirm button styling */
.confirm-btn {
  background-color: #0f1c35;
  border-color: #0f1c35;
}

.confirm-btn:hover {
  background-color: #1a345e;
  border-color: #1a345e;
}

/* --- Main Content --- */

.property-grid h3 {
  font-family: Arial, sans-serif;
}

/* Image container & overlays */
.image-card-container {
  background-image: url("/assets/images/downloads.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.property-card .heart-icon {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  color: rgb(180, 180, 180); 
}

.price-tag {
  background-color: #11223e;
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 12px;
}

@media (max-width: 620px) {
  .price-tag span,
  .price-tag sup {
    font-size: 9px !important;
  }
  .price-tag {
    padding: 3px 6px;
  }
}

.rating-box {
  background-color: #FFFFFF;
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.location-line i {
  font-size: 14px;
}

/* --- Pagination styling --- */
.custom-pagination .page-link {
  border: none;
  background: transparent;
  color: #111;
  font-weight: bold;
  border-radius: 10px;
  margin: 0 2px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.custom-pagination .page-link:hover {
  background-color: #f1f1f1;
}

.custom-pagination .page-item.active .page-link {
  background-color: #111;
  color: white;
  border-color: #111;
}

.custom-pagination .prev-btn .page-link,
.custom-pagination .next-btn .page-link {
  background-color: #f1f1f1;
}

.custom-pagination .prev-btn .page-link:hover,
.custom-pagination .next-btn .page-link:hover {
  background-color: #e5e5e5;
}