/* Property Page Styles */

:root {
    --highlight-color: var(--cyan)
}

@keyframes blink-highlight {
    0% {
        border-color: var(--highlight-color);
        box-shadow: 0 0 30px var(--highlight-color);
    }

    50% {
        border-color: transparent;
        box-shadow: none;
    }

    100% {
        border-color: var(--highlight-color);
        box-shadow: 0 0 30px var(--highlight-color);
    }
}

.blink-highlight {
    animation: blink-highlight 1s infinite;
    padding: 20px;
}

.accordion-button:not(.collapsed)::after {
    background-image: none;
}

#gallery-item-tabs .splide__slide {
    max-height: 430px !important
}

.nearby-locality-text {
    font-size: 14px !important;
}

.left-side-btn-style {
    height: 40px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.right-side-btn-style {
    height: 40px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

@media screen and (max-width: 767px) {
    #gallery-item-tabs .splide__slide {
        min-width: 60px !important;
        min-height: 60px !important;
    }

    .splide__arrow {
        display: none !important;
    }

    .table-box-tab-table table td,
    .propert-detail-box-4 #nearby-nav-tabs li a {
        font-size: 10px !important;
    }

    .button-mak-price .make,
    .button-mak-price .price-drop {
        border-radius: 10px;
    }

    .nearby-locality-text {
        font-size: 10px !important;
    }

    .font-ten {
        font-size: 10px !important;
    }

    .table-box-accd td {
        font-size: 10px;
    }

    .propert-detail-box-6 span {
        display: inline-block;
        font-size: 15px;
    }

    .propert-detail-box-3 p {
        font-size: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
        line-height: 1.5em;

    }

    .contact-owner-sticked-buttons-div {
        position: fixed;
        bottom: 0;
        z-index: 99999;
        padding: 15px;
        width: 100%;
        box-shadow: var(--bs-shadow);

    }

    .contact-owner-sticked-button {
        font-size: 10px;
        border-radius: 10px;
        padding: 10px 0 10px 0;
        background-color: #09d0ef;
        border: 1px solid #09d0ef;
    }

    .table-box-accd tr td:last-child {
        text-align: left !important;
        width: 200px !important;
    }
}

#gallery-item-tabs .splide__list {
    width: 100% !important;
}

.percentage__input {
    width: 25% !important;
    height: 30px !important;
    text-align: center !important;
    margin: 0 !important;
    border: 0px solid #a9a9a9 !important;
    background: transparent !important;
    color: #8184a1 !important;
}

.downpayment__input {
    width: 55% !important;
    height: 30px !important;
    margin: 0 !important;
    text-align: center !important;
    border: 0px solid #a9a9a9 !important;
    background: #fff !important;
    color: #8184a1 !important;
}

.quantity-for-downpayment {
    display: flex !important;
    padding: 0 !important;
    width: 100% !important;
    border: 0.1px solid #a9a9a9 !important;
    border-radius: 20px
}

.btn-light {
    box-shadow: none !important;
    border: 0px !important;
}


.description-text li {
    list-style-type: none;
    margin-bottom: 5px;
    list-style-position: inside;

}

.description-text ul li::before {
    content: '\27A4';
    /* You can use Unicode like "\2022" for a bullet */
    color: var(--gray);
    /* Change color */
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
}

ul.amenities-ul li {
    /* display: inline-block;
        margin-right: 10px; */
    list-style-type: none;
}

#gallery-ul {
    position: relative;
    list-style-type: none;
}

#gallery-ul .primary-image {
    padding: 0px;
}

#gallery-ul .primary-image img {
    width: 100%;
    height: 432px;
    border-radius: 20px;
    object-fit: cover;
    margin-top: 10px
}

#gallery-ul #gallery-ul-otherimage {
    padding: 0px !important;

    justify-content: center;
    align-items: center;
    /* gap: 10px; */
    margin-top: 10px;
    /* position: absolute;
                                        right: 0;
                                        top: 0; */
    /* list-style-type: none; */
    padding: 15px;
    height: 450px;
    overflow-y: hidden;
}

#gallery-ul #gallery-ul-otherimage .gallery-otherimage-container {
    display: flex;
    position: relative;
    justify-content: center;

}

#gallery-ul #gallery-ul-otherimage img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0px 0px 2px 2px rgba(255, 255, 255, 0.756);


}

#gallery-ul #gallery-ul-otherimage li {
    position: relative;

}

#gallery-ul #gallery-ul-otherimage .overlay {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    font-size: 1rem;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    +cursor: pointer;

}

#gallery-ul img {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #gallery-ul .primary-image img {
        width: 100%;
        height: 373px;
    }

    #gallery-ul #gallery-ul-otherimage {
        padding: 0px !important;
        height: 100px;
        overflow-y: auto;
        overflow-x: hidden;

    }

    #gallery-ul #gallery-ul-otherimage img {
        width: 80px;
        height: 80px;
    }


    #gallery-ul #gallery-ul-otherimage .overlay {
        width: 80px;
        height: 80px;

    }
}


.description-box ul{
    padding: 0px 7px 0px 7px;
    margin-bottom: 10px;
}

/* AI Questions Box Styles */
.ai-questions-box {
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    color: white;
    background: linear-gradient(45deg,
        #41c5c9 0%,
        #37b8bc 20%,
        #2d8f93 40%,
        #3a4550 60%,
        #434e60 80%,
        #41c5c9 100%);
    background-size: 300% 300%;
    animation: dualWaveFlow 12s ease-in-out infinite;
}

@keyframes dualWaveFlow {
    0% {
        background-position: 0% 50%;
    }
    33% {
        background-position: 100% 50%;
    }
    66% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-item {
    /* background: white; */
    border: 2px solid #dee2e6;
    border-radius: 20px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
}

.question-item:hover {
    background: #41c5c9;

    border-color: #41c5c9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(65, 197, 201, 0.2);
}

.question-item:active {
    transform: translateY(0);
}

/* Mobile Responsive Styles for AI Questions */
@media (max-width: 767px) {
    .ai-questions-box {
        padding: 15px;
        margin-bottom: 15px;
    }

    .ai-questions-box h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .question-item {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 15px;
        line-height: 1.5;
    }

    .questions-list {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .ai-questions-box {
        padding: 12px;
        border-radius: 15px;
    }

    .ai-questions-box h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .question-item {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 12px;
    }

    .questions-list {
        gap: 6px;
    }
}

/* Chatbox Styles */
.ai-chatbox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbox-header {
    background: linear-gradient(135deg, #41c5c9, #2d8f93);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chatbox-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.chatbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbox-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    align-self: flex-end;
}

.ai-message {
    align-self: flex-start;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.4;
}

.user-message .message-content {
    background: #41c5c9;
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-message .message-content {
    background: #f1f3f4;
    color: #333;
    border-bottom-left-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #41c5c9;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ai-chatbox {
        width: calc(100vw - 40px);
        height: calc(100vh - 100px);
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .chatbox-header {
        padding: 12px 15px;
        font-size: 14px;
    }

    .chatbox-close {
        font-size: 16px;
        padding: 3px;
    }

    .chat-messages {
        padding: 15px;
        gap: 12px;
    }

    .message {
        max-width: 85%;
    }

    .message-content {
        padding: 10px 14px;
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .ai-chatbox {
        width: calc(100vw - 20px);
        height: calc(100vh - 80px);
        bottom: 5px;
        right: 5px;
        left: 5px;
    }

    .chatbox-header {
        padding: 10px 12px;
        font-size: 13px;
    }

    .chat-messages {
        padding: 10px;
        gap: 10px;
    }

    .message-content {
        padding: 8px 12px;
        font-size: 13px;
    }

    .typing-indicator span {
        width: 6px;
        height: 6px;
    }
}