﻿.body-content {
    background: #FFF;
    max-width: 1000px !important;
    padding: 0px 0 20px 0 !important;
}

.carousel-container {
    padding: 20px;
}

.bottom-nav {
    position: static !important;
}

.display-none {
    display: none !important;
}

.side-sheet-footer {
    padding: 10px;
    border-top: 1px solid #ddd; /* ✅ footer top border */
}

.rating-icons {
    display: flex;
    justify-content: space-evenly; /* ✅ evenly spaced */
    align-items: center;           /* ✅ vertical center */
    width: 100%;
}

.rating-icons a {
    flex: 1;                       /* ✅ each <a> takes equal space */
    display: flex;                 
    justify-content: center;       /* center the icon inside the link */
    align-items: center;
    font-size: 24px;
    text-align: center;
}

.price-section {
    background: #188c4c;
    border-radius: 4px;
    padding: 6px 8px;
    color: #fff;
    margin: 4px auto !important;
    max-width: 300px;
    width: 80%;
    text-align: center;
}

.price-section-title {
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.price-section-amount {
    font-weight: 600;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-family: 'NotoSans-Medium', sans-serif;
    margin: 2px 0;
}

/* ****************** IMAGES BELOW TEXTBOX PORTION STARTS ********************** */
#uploadedImagesPreview {
    display: flex;
    flex-wrap: wrap;
}

.preview-wrapper {
    position: relative;
    display: inline-block;
    margin: 6px;
}

    .preview-wrapper img {
        max-height: 70px;
        border-radius: 8px;
        display: block;
    }

/* X button styling */
.preview-remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

    .preview-remove-btn:hover {
        background: red;
    }

/* Mobile layout: exactly 3 images per row */
@media (max-width: 479px) {
    #uploadedImagesPreview {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* always 3 equal columns */
        gap: 6px; /* spacing between images */
    }

    .side-sheet-preview-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* always 3 equal columns */
        gap: 6px; /* spacing between images */
    }

    .preview-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1; /* make each cell square */
        border: 2px solid #0061bc; /* blue-lined border */
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden; /* keep image inside */
        box-sizing: border-box;
    }

        .preview-wrapper img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* no stretching, keep aspect ratio */
            border-radius: 6px; /* optional: softer inside */
        }
    .preview-remove-btn {
        position: absolute;
        top: 2px;
        right: 4px;
    }
}
/* ****************** IMAGES BELOW TEXTBOX PORTION ENDS ********************** */

#sideSheet_text + .mdc-notched-outline .mdc-floating-label {
    font-size: clamp(0.75rem, 2vw, 0.9rem) !important;
}

.mr-20-30 {
    margin-right: 30px !important;
}

.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}

.price-guide-header-title {
    /* background: #e0f5f5; */
    padding: 10px 20px;
    text-align: center;
}

    .price-guide-header-title h1 {
        margin-bottom: 0px;
    }

.price-guide-header-H3 {
    padding: 20px;
    text-align: center;
}

.bglightgrey, .bglightgrey textarea {
    background-color: #f5f5f5 !important;
}


.search-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10px;
}

.body-container {
    padding: 0 20px;
}

.categoryimg-container {
    padding: 20px 0 0 0;
    /* padding: 5px 30px; */
}

    .categoryimg-container img {
        width: 50%;
    }

h2.category-h3 {
    font-size: 2em;
}

.buttonbar-panel {
    text-align: right;
}

.categoryChk .mdc-checkbox {
    height: 18px !important;
}

.clear-icon {
    right: 18px;
}

.oval-blue-outline-btn.oval-sm-btn {
    font-size: 16px !important;
    width: 80% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.linkbtn {
    color: #0044FE !important;
    cursor: pointer;
}

.bottom-sheet .row {
    display: flex;
}

.bottom-sheet h2 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: bolder;
}

.mt-10 {
    margin-top: 10px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

#newAppraisalImages_bottomsheet {
    height: 95vh !important; /* 95% of viewport height */
    max-width: 450px !important;
}

    #newAppraisalImages_bottomsheet .header-image {
        width: 100% !important; /* 95% of viewport height */
    }

.newAppraisalImages-content {
    height: calc(90vh - 100px) !important; /* adjust based on header/footer */
    overflow-x: hidden;
    overflow-y: auto;
}

    .newAppraisalImages-content p {
        margin-top: -10px;
    }

#sortable ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

#sortable li {
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    margin: 5px;
    padding: 5px;
    width: 30%;
    height: 125px;
    cursor: pointer;
    list-style: none;
    float: left;
    position: relative;
    border: 1px solid #0061bc;
    border-radius: 5px;
}

#sortable::after {
    content: "";
    display: table;
    clear: both;
}


#sortable li img {
    max-width: 100%;
    max-height: 100%;
}

#sortable li button.m-mdc-dislog-close {
    background-color: white !important;
    top: -10px;
    right: -10px;
    left: auto;
    width: 20px !important;
    height: 20px !important;
    font-size: 12px !important;
    position: absolute;
}

    #sortable li button.m-mdc-dislog-close i.mdc-fab__icon {
        font-size: 20px;
    }

.mobile-only {
    display: none;
}

.appr-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 500px) {
    .bottom-nav__action span {
        display: block !important;
    }
    .mr-20-30 {
        margin-right: 20px !important;
    }
}

@media (max-width: 479px) {
    .search-row {
        flex-direction: column;
    }

    .detail-field-row .m-col-8 {
        margin-left: 0px !important;
    }

    .carousel-item .carousel_wrap h5, .carousel_item_price {
        font-size: 17px !important;
    }

    .search-panel {
        margin-top: 10px;
    }

    .buttonbar-panel {
        text-align: left;
    }

    /* new appraisal bt 1 start */
    #newAppraisalImages_bottomsheet {
        height: 90vh !important;
    }

    .newAppraisalImages-content {
        height: calc(85vh - 100px) !important;
    }

    #sortable li {
        width: 45%
    }

    .mobile-only {
        display: unset;
    }
}

/*sideSheet portion starts*/
.side-sheet-scrim {
    position: fixed;
    inset: 0; /* shorthand for top/right/bottom/left:0 */
    background: rgba(0,0,0,0.5); /* grey overlay */
    z-index: 1000;
}

.side-sheet {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: white;
    box-shadow: -3px 0 8px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    z-index: 1000; /*as bottomsheet z-index is 1001*/
}

    .side-sheet.open {
        right: 0;
    }

/* Desktop: 75% width */
@media (min-width: 601px) {
    .side-sheet {
        width: 75%;
        max-width: none; /* remove the 400px restriction */
    }
}

.side-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.side-sheet-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.icon-link-side-sheet {
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.7rem, 2vw, 0.9rem); /* responsive text size */
    padding: clamp(2px, 0.5vw, 4px) clamp(4px, 1vw, 8px); /* responsive padding */
    margin-right: 8px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .icon-link-side-sheet i {
        font-size: clamp(0.7rem, 2vw, 0.9rem); /* responsive icon */
        margin-right: 4px;
    }

    .icon-link-side-sheet:hover {
        background-color: #f0f0f0;
        cursor: pointer;
    }

    .icon-link-side-sheet:last-child {
        margin-right: 0;
    }

    .mt-05 {
        margin-top: 5px !important;
    }

    .qa-pair {
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }

/* Blue question bubble */
.question-bubble {
    border: 1px solid #66b0ff;
    border-radius: 20px;
    padding: 10px 15px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Loading spinner */
.loading-answer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
}

    .loading-answer .spinner {
        width: 20px;
        height: 20px;
        animation: spin 1s linear infinite;
    }

#sideSheet_text {
    height: 1.5em !important;
    line-height: 1.3em !important;
    padding: 5px 10px 5px 5px !important;
    margin: 13px !important;
    box-sizing: border-box !important;
    /* overflow: hidden !important; */
    /* resize: none !important; */
    font-family: inherit !important;
    min-height: 0 !important;
}

/* Optional spinning animation if using a static GIF instead of animated one */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*sideSheet portion ends*/

/*similar items portion starts*/
#similarItemsContainer {
    padding: 10px 5px;
}

.similar-items-heading {
    font-size: clamp(18px, 5vw, 24px) !important;
    font-weight: 700 !important;
    color: #2a7ae2 !important;
    margin-bottom: 1rem !important;
    border-bottom: 2px solid #2a7ae2 !important;
    padding-bottom: 0.25rem !important;
}

.no-similar-items {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    padding: 1rem 0;
    text-align: center;
}

#clone_template_listview {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*list-view start*/
.agentsmanager_tab_content .mdc-list .mdc-list-item__graphic {
    width: auto;
    height: 100%;
}

.agentsmanager_tab_content .mdc-list span.mdc-list-item__graphic {
    width: 110px;
}

.mdc-list {
    max-height: 100% !important;
    /*margin-bottom: 80px;*/ /*making room for the + fab icon*/
}

    .mdc-list .mdc-list-item {
        font-size: .75rem;
    }

    .mdc-list .mdc-list-item__graphic .hide {
        display: block !important;
        height: 100%;
        width: 85px;
        visibility: hidden;
    }

.mdc-list-item__secondary-text {
    max-width: 660px;
}

.list-item-hr {
    display: inline-flex;
    justify-content: flex-end;
    padding: 0 16px;
    width: 100%;
}

    .list-item-hr hr {
        max-width: 100%;
        width: 100%;
    }

/*new*/
.agent-list-item {
    display: flex;
    padding: 0 6px;
}

/* COMPARABLE ITEM IMAGES STARTS */
/* Image wrapper to enforce exact dimensions */
.inline-item-image-wrapper {
    width: 120px; /* fixed desktop width */
    height: 90px; /* fixed desktop height */
    overflow: hidden; /* crop any extra image */
    flex-shrink: 0; /* prevent shrinking in flex containers */
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    display: inline-block;
    vertical-align: middle;
}

/* Actual image inside wrapper */
.inline-item-image {
    width: 100%; /* fills wrapper width */
    height: 100%; /* fills wrapper height */
    object-fit: contain;
    display: block;
}

.inline-item-image-wrapper.no-image {
    display: flex;
    align-items: center; /* vertically center */
    justify-content: center; /* horizontally center */
    background-color: #f0f0f0; /* placeholder background */
    color: #333; /* text color */
    font-weight: bold; /* bold text */
    font-size: 12px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .inline-item-image-wrapper {
        width: 80px; /* smaller width on mobile */
        height: 60px; /* maintain 4:3 aspect ratio */
    }
}
/* COMPARABLE ITEM IMAGES ENDS */

    .agent-list-item .agent-list-item__graphic {
        display: flex;
        justify-content: center;
        width: 90px;
        height: 90px;
        margin-right: 10px;
    }

        .agent-list-item .agent-list-item__graphic img {
            max-height: 90px;
            max-width: 90px;
        }

    .agent-list-item .agent-list-item__text {
        display: flex;
        font-size: 14px !important;
        flex-direction: column;
        width: 100%;
    }

.agent-list-item__text .agent-list-item__titleline {
    display: flex;
    justify-content: flex-start; /* Align all items to start */
    position: relative;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    gap: 10px;
}

.agent-list-item__text .agent-list-item__secondary-text {
    color: rgba(0, 0, 0, 0.54);
    font-size: 0.75rem;
    min-height: 24px;
    word-break: break-word;
}

.agent-list-item__text .agent-list-item__last-text {
    display: flex;
    font-size: 0.75rem;
    justify-content: space-between; /* space items evenly */
    align-items: center; /* vertically center align */
}

.agent-list-item__last-text .item-price {
    flex: 0 0 33%; /* roughly 1/3 width */
    text-align: start; /* left align */
    font-weight: bold;
    font-size: 0.9rem;
}

.agent-list-item__last-text .item-source {
    flex: 0 0 34%; /* roughly 1/3 width */
    text-align: center; /* center align */
    font-weight: bold;
    font-size: 0.9rem;
}

.agent-list-item__last-text .item-date {
    flex: 0 0 33%; /* roughly 1/3 width */
    text-align: end; /* right align */
    font-weight: bold;
    font-size: 0.9rem;
}

.item-instructions {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(14px, 2vw, 14px) !important; /* Adjust font size as needed */
    line-height: 1.3em; /* Adjust line height for better spacing */
    max-height: calc(1.3em * 2); /* Limit height to 2 lines */
}


.agent-list-item__titleline .mdc-fab {
    align-items: flex-start;
    display: flex;
    height: 25px;
    justify-content: flex-end;
}
.similarItemsList li {
    list-style: none !important;
}
/*similar items portion ends*/

/* ZOOM PORTION STARTS */
.cloud-zoom-big {
    z-index: 9999 !important; /* ensure it's on top of everything */
}
.thumb_wrapper {
    margin: auto !important; /* it makes image in center on mobile */
}
/* ZOOM PORTION ENDS */

/*Images bottomsheet image buttons start*/
.upload-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #326df1; /* Primary blue outline */
    border-radius: 8px;
    padding: 20px;
    width: 140px;
    height: 120px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

    .upload-box:hover {
        background: #f5faff;
    }

.upload-icon {
    font-size: 56px !important;
    margin-bottom: 12px;
}

/* Upload Photos icon colors */
.upload-photos-icon {
    --fa-primary-color: #326df1 !important; /* blue */
    --fa-secondary-color: #9fe2bf !important; /* seafoam */
}

/* Camera icon colors */
.camera-icon {
    --fa-primary-color: #326df1 !important; /* blue */
    --fa-secondary-color: #9fe2bf !important; /* seafoam */
}

.upload-text {
    font-weight: bold;
    color: #326df1;
    font-size: 14px;
}
/*Images bottomsheet image buttons end*/

/* Share Link Begin*/
.sharelinks a.sharelink {
    gap: 48px;
    font-size: 16px;
    color: #333;
}

#sharelink_twitter, #sharelink_mail, #sharelink_ln, #sharelink_message {
    text-decoration: none;
}

.sharelink-i {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

    .sharelink-i > svg {
        margin: 0 auto;
        width: 24px;
        height: auto;
    }

    .sharelink-i.fb > svg {
        fill: #1877F2;
    }

    .sharelink-i.tw > svg {
        fill: #1DA1F2;
    }

    .sharelink-i.pn > svg {
        fill: #DC0000;
    }

    .sharelink-i.ln > svg {
        fill: #0067B1;
    }

    .sharelink-i.mail > svg {
        fill: #3b3b3b;
    }

.sharelinks {
    padding: 15px 20px;
}

    .sharelinks .sharelink-label {
        margin-right: 60px;
    }

    .sharelinks .row {
        margin-bottom: 15px !important;
    }

    .sharelinks .mdc-button {
        color: #FFF;
        min-width: 36px;
        width: 36px;
    }

        .sharelinks .mdc-button.fb {
            background: #1877F2;
        }

        .sharelinks .mdc-button.tw {
            background: #1DA1F2;
        }

        .sharelinks .mdc-button.pn {
            background: #DC0000;
        }

        .sharelinks .mdc-button.ln {
            background: #0067B1;
        }

        .sharelinks .mdc-button.mail {
            background: #3b3b3b;
        }
#sl-hidden-label {
    display: none;
}
.sharelinks hr {
    border: none; /* remove default border */
    border-top: 1px solid #ddd; /* light gray line */
    margin: 10px 0; /* optional spacing */
}
.sharelinks a.sharelink i {
    color: #2a7ae2 !important;
}
.tooltip {
    background-color: #333 !important;
    color: #fff !important;
    padding: 4px 8px !important; /* slightly bigger padding */
    border-radius: 4px !important; /* slightly rounder */
    font-size: 0.75rem !important; /* readable text */
    position: absolute !important;
    z-index: 1000 !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    max-width: 200px;
    text-align: center;
}

    .tooltip.show {
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
    }
/* Share Link End*/

/* Disclaimer Portion Begin */
.disclaimer-div {
    margin: auto;
    max-width: 800px;
    /*width: 80%;*/
}
.upper-custom-hr {
    border: none; /* Remove default border */
    border-top: 3px solid #1558d6; /* Bold line */
    margin: 10px auto 10px auto; /* Center horizontally */
    /*max-width: 40%;*/ /* Set max width */
}
.bottom-custom-hr {
    border: none; /* Remove default border */
    border-top: 3px solid #1558d6; /* Bold line */
    margin: -20px auto 0 auto; /* Center horizontally */
    max-width: 40%; /* Set max width */
}
.introduction {
    margin: auto;
}
.h2bg {
    overflow: hidden !important;
}

    .h2bg h2 {
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 20px !important;
        margin: 0px !important;
        margin-left: 10px !important;
        margin-bottom: 0px !important;
    }

    .h2bg + p {
        font-family: 'Roboto';
        font-size: 10px !important;
        padding: 0 10px !important;
        line-height: 1.25;
    }

.footer-box {
    padding-top: 1rem;
    font-size: 12px;
}

.footer-box p {
    font-size: 8px !important;
    line-height: 1.25;
}
@media (max-width: 768px) {
    .upper-custom-hr {
        max-width: 95%; /* Set max width */
    }

    .bottom-custom-hr {
        max-width: 90%; /* Set max width */
    }
    .h2bg h2 {
        font-size: 10pt !important;
        font-weight: 600 !important;
    }
    .footer-box {
        padding-top: 1rem;
        padding-right: 10px;
        width: auto;
    }
}
/* Disclaimer Portion End */

/* X icon on similar rows start */
.agent-list-item {
    position: relative; /* parent for absolute X */
    padding-right: 25px; /* give room for X on the right */
}

.remove-item-x {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    z-index: 10;
    background: white;
    padding: 2px 5px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

    .remove-item-x:hover {
        color: red;
    }

.no-items-msg {
    text-align: center; /* Center the message */
    font-style: italic; /* Italic to differentiate from regular items */
    color: #777; /* Light gray text */
    padding: 10px 0; /* Some vertical spacing */
    font-size: 14px; /* Match your item text size */
}
/* X icon on similar rows end */