.ms-sel-ctn .ms-sel-item .ms-close-btn {
    background-position: 0 0px !important;
}

.ms-ctn .ms-sel-item {
    background: #d3d3d3 !important;
    color: #000 !important;
    padding: 2px 5px !important;
    border: 0px !important;

    font-size: 13px !important;
}

.ms-res-ctn .ms-res-item em {
    background: #ffffff !important;
    color: #000 !important;
}

.ms-res-ctn .ms-res-item {
    padding: 7px 5px !important;
}

.ms-res-ctn .ms-res-item-active {
    background-color: #2563eb !important;
    color: #fff !important;
}

.ms-ctn input {

    font-size: 15px !important;
}

.ms-ctn .ms-sel-ctn {
    margin-left: 0px !important;
}

.ms-ctn {
    padding: 10px 12px !important;
    border-radius: 10px !important;
}

.ms-ctn .ms-trigger .ms-trigger-ico {

    margin-top: 19px !important;
}

.ms-ctn .ms-trigger {

    border-left: 0px !important;

}

.ms-ctn .ms-trigger:hover {
    background-color: unset !important;
}

.ms-ctn-focus {
    outline: 2px solid transparent !important;
    outline-offset: 2px !important;
    --tw-ring-inset: var(--tw-empty,
            /*!*/
            /*!*/
        ) !important;
    --tw-ring-offset-width: 0px !important;
    --tw-ring-offset-color: #fff !important;
    --tw-ring-color: #2563eb !important;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
    border-color: #2563eb !important;
}

#omniOut {
    white-space: pre-wrap;
    background-color: #ecf0f5 !important;
    color: #999;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
    width: 100%;
}

.IDX-carouselContainer,
.IDX-showcaseContainer,
.IDX-slideshowCaption .IDX-slideshowContent {
    font-weight: normal;
}

.IDX-carouselPrice,
.IDX-showcasePrice,
.IDX-slideshowPrice {
    font-weight: bold;
}

.IDX-showcasePhoto,
.IDX-carouselPhoto {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
}

.IDX-showcaseLink,
.IDX-carouselPhoto {
    margin-bottom: 10px;
}

.IDX-showcaseTable div:empty,
div[id*="IDX-carouselGallery"] div:empty {
    display: none !important;
}

#quick-stats-container div:empty {
    display: block !important;
    min-height: 1px; /* Ensures they have dimension */
}

.IDX-showcaseTable,
div[id*="IDX-carouselGallery"] {
    font-size: var(--body-font-size) !important;
}

.IDX-showcaseContainer,
.IDX-carouselContainer,
.IDX-carouselCell {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.IDX-showcaseCell {
    padding: 3px !important;
}

/* View more */
.IDX-showcaseTable+a,
div[id*="IDX-carouselGallery"]+a {
    padding: 10px;
    display: block;
    width: auto;
    margin: 20px auto 40px auto;
    text-align: center;
    max-width: 200px;
    background-color: var(--idx_btn_color);
    color: var(--idx_btn_txt_color);
    text-decoration: none;
    outline: none;
}

.IDX-showcaseTable+a:hover,
div[id*="IDX-carouselGallery"]+a:hover {
    background-color: var(--idx_btn_hover_color);
    color: var(--idx_btn_txt_hover_color);
    text-decoration: none;
    outline: none;
}

.IDX-showcaseRow {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: max-content;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: calc(100% - 40px) !important;
    margin-left: 20px !important;
}

.IDX-showcaseRow .IDX-showcaseCell {
    width: 100% !important;
    height: 100%;
    min-width: 100% !important;
}

.IDX-showcaseTable+a {
    max-width: 232px !important;
    color: var(--idx_widget_button_color);
    text-align: center;
    letter-spacing: .25px;
    text-transform: capitalize;
    background-color: var(--idx_widget_button_background_color);
    border-radius: var(--idx_widget_button_radius);
    padding: 0.625rem 1.5625rem !important;
    font-size: 1rem;
    font-weight: var(--idx_widget_button_font_weight);
    transition: all .2s cubic-bezier(.165, .84, .44, 1);
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, .16), 0 2px 4px -2px rgba(0, 0, 0, .09);
    font-family: var(--idx_widget_button_font_family);
    grid-column-gap: 1.125rem;
    grid-row-gap: 0.75rem;
    justify-content: center;
    align-items: center;
    display: flex;
}

.IDX-showcaseTable+a:hover,
div[id*="IDX-carouselGallery"]+a:hover {
    transform: translate(0, -7px);
    box-shadow: 0 20px 24px -4px rgba(0, 0, 0, .12), 0 8px 8px -4px rgba(0, 0, 0, .1);
}

@media (min-width: 640px) and (max-width: 1023px) {
    .IDX-showcaseRow {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .IDX-showcaseRow {
        grid-template-columns: repeat(3, minmax(300px, 1fr));
    }
}

@media (min-width: 1200px) {
    .IDX-showcaseRow {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

div[class*="Cell"] div[class*="Container"] {
    height: auto !important;
    border: none !important;
    position: relative;

    display: grid;

    border-radius: 10px !important;
    overflow: hidden;
    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 6rem;
    padding-left: 20px !important;

    transition: all .2s cubic-bezier(.165, .84, .44, 1) !important;
}

div[class*="Cell"] {

    background-color: #fff;
    transition: all .2s cubic-bezier(.165, .84, .44, 1) !important;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, .16), 0 2px 4px -2px rgba(0, 0, 0, .09) !important;
    border-radius: 10px !important;
    position: relative !important;
}

div[class*="Cell"]:hover {
    transform: translate(0, -7px);
    box-shadow: 0 20px 24px -4px rgba(0, 0, 0, .12), 0 8px 8px -4px rgba(0, 0, 0, .1);
}

.IDX-showcaseContainer a {
    height: auto !important;
}

#IDX-showcaseGallery-45954 .IDX-showcaseLink {
    height: 100%;
    width: 100%;
    font-size: 0;
    text-align: center;
    display: inline-block;
}

div[class*="Cell"] a[class*="Link"] {
    width: calc(100% + 40px) !important;
    position: relative !important;
    z-index: 1;
    display: block !important;
    margin: -60px -20px 25px -20px;
}

div[class*="Cell"] div[class*="Link"] {
    width: calc(100% + 40px) !important;
    position: relative !important;
    z-index: 1;
    display: block !important;
    margin: -34px -23px 0px -20px;
}

.stats:hover {
    background-color: #e4e4e7;
    transition: all 1s cubic-bezier(.165, .84, .44, 1) !important;
}

.stats-active {
    background-color: #e4e4e7;
}

.ghl-action-email:hover {
    background-color: #fbfbfb;
    transition: all 1s cubic-bezier(.165, .84, .44, 1) !important;
    border-bottom-left-radius: 10px !important;
}

.ghl-action-call:hover {
    background-color: #fbfbfb;
    transition: all 1s cubic-bezier(.165, .84, .44, 1) !important;
}

.ghl-action-sms:hover {
    background-color: #fbfbfb;
    transition: all 1s cubic-bezier(.165, .84, .44, 1) !important;
    border-bottom-right-radius: 10px !important;
}

.ghl-action2-email:hover {
    background-color: #fbfbfb;
    transition: all 1s cubic-bezier(.165, .84, .44, 1) !important;
    border-top-right-radius: 10px !important;
}

.ghl-action2-call:hover {
    background-color: #fbfbfb;
    transition: all 1s cubic-bezier(.165, .84, .44, 1) !important;
}

.ghl-action2-sms:hover {
    background-color: #fbfbfb;
    transition: all 1s cubic-bezier(.165, .84, .44, 1) !important;
    border-bottom-right-radius: 10px !important;
}

.btn,
.create {
    font-family: Inter, Muli;
    border-radius: 4px;
    border: none;
    background-color: #2b3f6b;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    transition: all .2s cubic-bezier(.165, .84, .44, 1) !important;
}

.btn.create:hover {
    transform: translate(0, -5px);
    background-color: #2b3f6b;
    color: white;
}

a .IDX-showcasePhoto {
    color: initial !important;
}

@media only screen and (max-width: 1024px) {
    #popover-platinum {
        display: none;
    }
}

/* new modal  */
.custom-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 1000;
    line-height: normal !important;
    letter-spacing: normal !important;
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
    position: absolute;
    color: var(--neutral-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    width: 100%;
    max-width: 100vw;
    max-height: 100vh;
    overflow-y: auto;
    transition: max-height 0.15s ease-out;
}

@media (min-width: 480px) {
    .modal-content {
        max-width: 540px;
    }
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

/* Styles for the Glassmorphism Tooltip */
#chartjs-tooltip {
    position: absolute;
    transform: translate(-50%, -120%); /* Centers X, moves up Y to sit above point */
    transition: all 0.1s ease;
    pointer-events: none; /* Important: lets mouse events pass through to the chart */
    z-index: 50;
    
    /* Glassmorphism styles */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 10px 14px;
    color: #1e293b;
    min-width: 120px;
}

/* Tooltip Title Style */
#chartjs-tooltip .tooltip-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #334155; /* slate-700 */
}

/* Tooltip Body Item Style (Indicator + Value) */
#chartjs-tooltip .tooltip-body-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Colored Dot Indicator */
#chartjs-tooltip .tooltip-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    display: inline-block;
}