/* Popup Overlay */
.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* Popup Box */
.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background: var(--color_new_2); /* Beige color */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}
.custom-popup .property_short_id{
    position: absolute;
    top: 0;
    left: 0;
    padding:6px 10px;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 14px;
    z-index: 1;
    text-transform: uppercase;
}
/* Webkit Scrollbar for the specific div */
.custom-popup::-webkit-scrollbar {
  height: 5px;
  width: 8px;
}

.custom-popup::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-popup::-webkit-scrollbar-thumb {
  background: var(--color_1);
  border-radius: 10px;
}

.custom-popup::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.popup-slide-item{
    margin-top: 20px;
    border-bottom: 2px solid var(--color_3);
    /*border-top: 2px solid var(--color_3);*/
    padding-bottom: 20px;
    border-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom:50px;
}
/* Close Button */
.custom-close-btn {
    position: absolute;
    top: -4px;
    right: 5px;
    background: none;
    border: none;
    font-size: 31px;
    color: var(--color_4);
    cursor: pointer;
}

/* Image */
.popup_image_div{
    width:100%;
    height: 100%;
    aspect-ratio: 16/9;
    position: relative;
    margin-bottom: 15px;
    border:1px solid #000;
    /*border-radius: 5px;*/
    overflow: hidden;
}
.custom-popup-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    position: relative;
}
.custom-more-images-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

/* Hover Effect */
.custom-more-images-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.popup_main_image_div .slick-dots{
    bottom: -12px;
}
/* Responsive for small screens */
@media (max-width: 768px) {
    .custom-more-images-btn {
        font-size: 12px;
        padding: 5px 10px;
        bottom: 5px;
        right: 5px;
    }
}



/* Title */
.custom-popup-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--color_1); /* Dark brown */
    margin-bottom: 10px;
}

/* Info Text */
.custom-popup-info {
    font-size: 16px;
    color: var(--color_4); /* Lighter brown */
    margin: 5px 0;
}

/* Description */
.custom-popup-desc {
    font-size: 14px;
    color: var(--color_1); /* Darker brown */
    margin-top: 10px;
}

/* Apply Button */
.custom-apply-btn {
    display: inline-block;
    background: var(--color_5); /* Warm brown */
    color: #FFF;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    border: none;
}

.custom-apply-btn:hover {
    background: var(--color_1); /* Dark brown */
}
