.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0;
  width: 100%; height: 100%; 
  background: rgba(0,0,0,0.6);
  overflow: auto;
}

.modal-content {
  position: relative;
  background: #fff;
  margin: 5% auto;
  /* padding: 1.5rem; */
  padding: 6px;
  border-radius: 8px;
  max-width: 800px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.close-btn {
  height: 2rem;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.3);
  width: 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 8;
  position: absolute;
  top: 1rem;
  right: 2rem;  
  background-color: white;  
}

.property-gallery {
  position: relative;
  text-align: center;
  margin-bottom: 1rem;
}

#modal-details-spacer{
  min-width: 100%;
  border: 1px solid black;
}

.property-gallery img {
  max-width: 100%;
  border-radius: 4px;
}

.property-gallery button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  color:white;
}

#prev-img { left: 0; font-size: xx-large;}
#next-img { right: 0; font-size: xx-large; }

#image-counter {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}


#property-price{
  color: rgb(89, 130, 202);
  font-weight: bold;
  font-size: 1.2rem;
}

#property-location{
  color: rgb(39, 39, 39);
  font-size: 1.1rem;
}

#property-description{
  line-height: 1.5;
  font-size: 13pt;
  color: #333;
}


/* 
Thumbnail film strip css for property details modal 
*/

.thumbnail-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}


.thumbnail-strip img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 4px;
  flex-shrink: 0;
  transition: 0.2s ease;
}

.thumbnail-strip img.active {
  opacity: 1;
  border: 2px solid #007bff;
}