:root {
  --black: #020202;
  --gray-bg: #f8f9fa;
  --border-color: #e9ecef;
}

.main-container {
  background: var(--gray-bg);
  min-height: 100vh;
  padding: 2rem 0;
}

.property-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.img-box {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  height: 100%;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.big-img {
  min-height: 350px;
  height: 100%;
}

.small-img {
  height: 100%;
  /* min-height: 170px; */
}

.badge-available {
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.property-title {
  color: var(--black);
  font-weight: 700;
  font-size: 1.75rem;
  margin: 1rem 0 0.5rem 0;
}

.property-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.info-box {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--secondary-color);
}

.info-box .value {
  color: var(--black);
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
}

.info-box .label {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.price-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}

.price-period {
  color: #6c757d;
  font-size: 0.9rem;
}

.booking-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  /* position: sticky; */
  /* top: 2rem; */
}

.btn-primary-custom {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.875rem;
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  background: #6a9a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(130, 180, 57, 0.3);
}

.btn-outline-custom {
  background: white;
  color: var(--black);
  border: 2px solid var(--border-color);
  padding: 0.875rem;
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
  margin-top: 0.75rem;
  transition: all 0.3s;
}

.btn-outline-custom:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.section-title {
  color: var(--black);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.pricing-table {
  width: 100%;
}

.pricing-table tr td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table .label {
  color: #6c757d;
}

.pricing-table .amount {
  color: var(--black);
  font-weight: 600;
  text-align: right;
}

.pricing-table .total {
  font-weight: 700;
  color: var(--black);
  font-size: 1.1rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--gray-bg);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.amenity-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.amenity-text {
  color: var(--black);
  font-weight: 500;
}

.rule-item {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

.rule-item:hover {
  background: var(--gray-bg);
}

.rule-icon {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.rule-text {
  color: var(--black);
  font-weight: 500;
  flex: 1;
}

.map-container {
  height: 300px;
  width: 660px;
  background: var(--gray-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.review-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  height: 100%;
}

.review-stars {
  color: #ffc107;
  margin-bottom: 0.75rem;
}

.review-text {
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.reviewer-name {
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
}

.reviewer-role {
  color: #6c757d;
  font-size: 0.8rem;
}

.thumbnail-gallery {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.thumbnail {
  width: 32%;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.thumbnail:hover {
  border-color: var(--secondary-color);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-badge {
  background: var(--gray-bg);
  color: var(--black);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag-badge i {
  color: var(--secondary-color);
}

.distance-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.distance-item:last-child {
  border-bottom: none;
}

.distance-label {
  color: var(--black);
  font-weight: 500;
}

.distance-value {
  color: var(--secondary-color);
  font-weight: 600;
}

@media (max-width: 991px) {
  .small-img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .big-img {
    min-height: 250px;
  }

  .small-img {
    height: 150px;
  }
}

/*********** SCHEDULE POPUP CSS START **********/
/*********** SCHEDULE POPUP CSS START **********/

.schedule-modal .modal-content {
  border-radius: 18px;
  border: none;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.35s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-backdrop.show {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
}

.custom-close {
  position: absolute;
  right: 20px;
  top: 20px;
}

.form-group {
  position: relative;
}

.form-group i {
  position: absolute;
  left: 12px;
  top: 14px;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  padding-left: 38px;
  border-radius: 12px;
  border: 1px solid #ddd;
  height: 48px;
}

.form-group textarea {
  height: auto;
}

.form-group label {
  position: absolute;
  left: 38px;
  top: 12px;
  font-size: 14px;
  color: #888;
  transition: 0.3s;
  background: #fff;
  padding: 0 5px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(130, 180, 57, 0.3);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 12px;
  color: var(--secondary-color);
}

.time-slots {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slot-card {
  flex: 1;
  min-width: 120px;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
  background: #f5f5f5;
  cursor: pointer;
  transition: 0.3s;
}

.slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.slot-card.active {
  background: linear-gradient(135deg, var(--secondary-color), #6aa12d);
  color: #fff;
}

.submit-btn {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary-color), #6aa12d);
  color: #fff;
  padding: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/*********** SCHEDULE POPUP CSS END **********/
/*********** SCHEDULE POPUP CSS END **********/

/************ BOOKING POPUP CSS START ********/
/************ BOOKING POPUP CSS START ********/

.modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal.fade .modal-dialog {
  transform: scale(0.9);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

.property-preview {
  background: #fff;
  padding: 25px;
  height: 100%;
}

.property-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.property-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.4rem;
}

.location-text {
  color: #666;
  font-size: 0.9rem;
}

.rating-badge {
  color: var(--secondary-color);
  font-weight: 600;
}

.booking-section {
  background-color: var(--light-gray);
  padding: 30px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  margin-bottom: 5px;
}

.form-control,
.form-select {
  border: 1px solid #ddd;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(130, 180, 57, 0.2);
}

.summary-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  margin-top: 20px;
  border: 1px solid #eee;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.summary-total {
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
}

.btn-pay {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 20px;
  transition: opacity 0.3s ease;
}

.btn-pay:hover {
  background-color: #719d31;
  color: white;
}

.trust-box {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  font-size: 0.75rem;
  color: #777;
}

.trust-box i {
  color: var(--secondary-color);
  margin-right: 5px;
}

@media (max-width: 768px) {
  .property-preview {
    padding: 20px;
    text-align: center;
  }

  .booking-section {
    padding: 20px;
  }
}

/****************Amenities css ***********/

.amenities-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: auto;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 2, 2, 0.04);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #333;
  font-weight: 500;
}

.amenity-item i {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .amenities-grid {
    gap: 8px;
  }

  .amenity-item {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/************ BOOKING POPUP CSS END ********/
/************ BOOKING POPUP CSS END ********/

.custom-header-search-23 {
  /* Minimal CSS for a sleek gradient look */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 60px 0;
  border-bottom: 4px solid #160a44;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.header-title-search-23 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
}

.header-msg-search-23 {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 500;
}

.search-listing-card .propertyCard {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  transition: 0.4s;
  background: #fff;
}

.search-listing-card .propertyCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.search-listing-card .propertyImage {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.search-listing-card .propertyImage img {
  transition: 1s;
}

.search-listing-card .propertyCard:hover .propertyImage img {
  transform: scale(1.08);
}

.search-listing-card .propertyImage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.search-listing-card .imageTopBadges_28221 {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-listing-card .propertyBadge_66321 {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: "Montserrat", sans-serif;
}

.search-listing-card .distanceBadge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  background: #5746ee;
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.search-listing-card .propertyTitle {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 14px;
  font-family: "Montserrat", sans-serif;
}

.search-listing-card .propertyLocation {
  color: #64748b;
  font-size: 14px;
  display: flex;
  gap: 10px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.search-listing-card .propertyLocation i {
  color: #6d5dfc;
  margin-top: 4px;
}

.search-listing-card .priceArea {
  padding-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.search-listing-card .priceArea small {
  display: block;
  color: #94a3b8;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.search-listing-card .priceArea h3 {
  margin: 0;
  font-size: 20px;
  color: #111827;
  font-weight: 800;
}

.search-listing-card .viewBtn {
  padding: 10px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #6d5dfc, #5b4bf3);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.search-listing-card .viewBtn:hover {
  transform: translateY(-3px);
  color: #fff;
}

@media (max-width: 991px) {
  .search-listing-card .propertyImage {
    height: 280px;
  }

  .search-listing-card .propertyTitle {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .search-listing-card .propertyImage {
    height: 250px;
  }

  .search-listing-card .viewBtn {
    width: 100%;
    min-width: unset;
  }
}
