.error {
    color: #eb1212;
    font-size: 11px;
}

#uploaded-background-image-section {
    position: relative;
}

#uploaded-real-estate-image-section {
    position: relative;
}

.add_background_drop li img,
.add_real_estate_drop li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uploaded-logo-section {
    position: relative;
}

#uploaded-profile-image-section {
    position: relative;
}

#uploaded-profile-image-section {
    position: relative;
}

.video_list .video_box a.active {
    background-color: var(--accent-color);
}

.video_list .video_box a.active p {
    color: #fff;
}

.add_link_drop .img_link_box .delete-icon-image,
.add_logo_drop .delete-logo-image,
.add_profile_drop .delete-profile-image,
.add_background_drop .delete-background-image,
.add_real_estate_drop .delete-real-estate-image {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 5555;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 0 0 0;
}

.marker-style {
    border: 3px solid #1396e2;
    text-align: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.marker-style .marker-img {
    position: absolute !important;
    top: 9px !important;
    bottom: 0 !important;
    right: 0;
    left: -3px;
    margin: auto !important;
    z-index: -1;
}

.infobox-wrapper .infobox-inner {
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px rgb(0 0 0 / 20%);
    box-shadow: 0 2px 2px rgb(0 0 0 / 20%);
    background: #fff;
    border-top: 6px solid #073855;
    font-size: 12px;
    position: relative;
    margin-bottom: 50px;
    min-width: 200px;
}

.infobox-wrapper .infobox-inner .infobox-description {
    padding: 8px;
}

.infobox-wrapper .infobox-inner .infobox-title {
    font-size: 14px;
    font-weight: 700;
}

.infobox-wrapper .infobox-inner .infobox-location {
    opacity: 0.5;
    font-size: 12px;
}

.infobox-wrapper .infobox-inner:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    left: 95px;
    content: "";
    bottom: -6px;
}

.infobox-wrapper > img {
    opacity: 0.5;
    -moz-transition: 0.4s;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    position: absolute !important;
    right: 8px;
    top: 13px;
    width: auto !important;
    z-index: 2;
}

.infobox-wrapper .infobox-inner .infobox-image .infobox-price {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 30%);
    box-shadow: 0 1px 2px rgb(0 0 0 / 30%);
    background-color: #1396e2;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 3px 7px;
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
}

.infobox-wrapper .infobox-inner .infobox-title a {
    color: #073855;
}

.infobox-wrapper .infobox-inner .infobox-location {
    opacity: 0.5;
    font-size: 12px;
}

.infobox-wrapper .infobox-inner {
    max-width: 297px;
}

.wish_list.loading {
    opacity: 0.6;
    pointer-events: none;
}

.wish_list.loading .heart-icon {
    animation: pulse 1s infinite;
}

.wish_list .heart-icon.loved .HeartIcon__fill {
    fill: #fe1528;
}

.wish_list .heart-icon.loved .HeartIcon__outline {
    fill: #fe1528;
}

#polygonBtn,
#circleBtn {
    position: absolute;
    top: 71px;
    left: 180px;
    z-index: 1001;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.3s all;
}

#polygonBtn:hover,
#circleBtn:hover {
    background-color: #dc3545;
    color: #fff;
}

#circleBtn {
    left: 240px ;
}

#clearShapes {
    color: #2a2a33;
    position: absolute;
    top: 71px;
    right: 60px;
    z-index: 1001;
    display: none;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s all;
}

#clearShapes:hover {
    background-color: #dc3545;
    color: #fff;
}

#loadingIndicator {
    display: none;
    text-align: center;
    padding: 10px;
}

#no-results-message {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#no-results-message svg {
    opacity: 0.5;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ====== Chat Box Css Start ====== */

.support_chat_container .chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #224b7d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 0px 12px rgb(175 175 175 / 30%);
    z-index: 1000;
}

.support_chat_container .chat-btn svg {
    width: 40px;
    height: 40px;
}

.support_chat_container .chat-btn svg path {
    stroke: #fff;
    fill: #fff;
}

.support_chat_container .chat-box {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 40px;
    width: 100%;
    max-width: 500px;
    height: 580px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgb(175 175 175 / 30%);
    overflow: hidden;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.support_chat_container .chat-header {
    background: #224b7d;
    color: white;
    padding: 12px;
    font-size: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support_chat_container .chat-header .user_box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support_chat_container .chat-header .user_box img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.support_chat_container .chat-header .user_box h5 {
    font-size: 18px;
    margin-bottom: 0;
    color: #fff;
}

.support_chat_container .chat-header .btn_close {
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}

.support_chat_container .chat-header .btn_close svg {
    height: 25px;
    width: 25px;
}

.support_chat_container .chat-header .btn_close svg path {
    stroke: #ccc;
}

.support_chat_container .chat-form {
    padding: 15px;
}

.support_chat_container .chat-form,
.support_chat_container .chat-screen {
    flex: 1;
    background-color: #fff;
}

.support_chat_container .chat-form input,
.support_chat_container .chat-form textarea {
    width: 100%;
    margin: 0px 0px 10px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    box-shadow: none;
}

.support_chat_container .chat-form textarea {
    min-height: 100px;
}

.support_chat_container .chat-form button {
    width: 100%;
    padding: 10px;
    background: #224b7d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.support_chat_container .chat-screen {
    display: none;
}

.support_chat_container .chat-messages {
    max-height: 450px;
    min-height: 450px;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    overflow-y: auto;
    height: 100%;
}

.support_chat_container .chat-messages::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #ececec;
    border-radius: 20px;
    background-color: #f5f5f5;
}

.support_chat_container .chat-messages::-webkit-scrollbar {
    width: 5px;
    background-color: #f5f5f5;
}

.support_chat_container .chat-messages::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 6px #ececec;
    background-color: #425874;
}

.support_chat_container .chat-messages .left_msg,
.support_chat_container .chat-messages .right_msg {
    margin-bottom: 5px;
}

.support_chat_container .chat-messages .left_msg p,
.support_chat_container .chat-messages .right_msg p {
    font-size: 16px;
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 5px;
}

.support_chat_container .chat-messages .left_msg span,
.support_chat_container .chat-messages .right_msg span {
    display: block;
    font-size: 13px;
}

.support_chat_container .chat-messages .left_msg p {
    background-color: #e9ecef;
    color: #2d3748;
    border-radius: 6px 6px 6px 0px;
}

.support_chat_container .chat-messages .right_msg p {
    background-color: #b72837;
    color: #ffffff;
    border-radius: 6px 6px 0px 6px;
}

/* .support_chat_container .chat-messages .right_msg {
    text-align: end;
} */

.support_chat_container .chat-input {
    display: flex;
    padding: 10px;
}

.support_chat_container .chat-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: none;
    outline: none;
}

.support_chat_container .chat-input button {
    margin-left: 8px;
    padding: 8px 12px;
    background: #224b7d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.support_chat_container .chat-form .error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* ====== Chat Box Css End ====== */

/* ====== Google Autocomplete Styles ====== */
.pac-container {
    z-index: 9999 !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    font-family: inherit;
}

.pac-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: var(--accent-color, #c41929) !important;
    color: white !important;
}

.pac-item-query {
    font-weight: 600;
    color: var(--primary-color, #001685);
}

.pac-item-selected .pac-item-query {
    color: white !important;
}

.pac-matched {
    font-weight: 700;
}

.pac-icon {
    margin-right: 10px;
}

/* Ensure autocomplete works well with existing search styling */
.fixed_search input.pac-target-input {
    background-color: white;
}
/* ====== Google Autocomplete Styles End ====== */

.byerBtn,
.sellerBtn,
.start-new-conversation {
    width: 100%;
    padding: 10px !important;
    background: #224b7d !important;
    color: #ffff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.byerBtn:hover,
.sellerBtn:hover,
.start-new-conversation:hover {
    background: #b72837 !important;
    color: #ffffff !important;
}

.support_chat_container .chat-form button:hover {
    background: #b72837 !important;
}

.typing {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e9ecef;
    padding: 8px 12px;
    border-radius: 18px;
    width: fit-content;
}

.typing span {
    animation: blink 1.5s infinite;
    animation-fill-mode: both;
    height: 10px;
    width: 10px;
    background: #2d3748;
    border-radius: 50%;
}

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

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

@keyframes blink {
    0% {
        opacity: 0.1;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.1;
    }
}
