/* Old app.css styling */

h1:focus {
    outline: none;
}


.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: var(--v1-dark-border-subtle);
}


/* Container for validation summary */
.validation-summary {
    border-bottom: 1px solid var(--v1-danger-border-subtle);
    background-color: var(--v1-danger-bg-subtle);
    color: var(--v1-danger-text-emphasis);
    padding: 0.5rem 1rem;
    border-radius: 0.1875rem;
    margin-bottom: 1rem;
    font-size: var(--v1-body-font-size);
}

    /* Remove default list styling */
    .validation-summary ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
    }

    /* Individual error messages */
    .validation-summary li {
        margin-bottom: 5px;
    }

.validation-message {
    color: var(--v1-danger-text-emphasis);
    font-size: var(--v1-body-font-size);
}

#components-reconnect-modal,
#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: none;
}

/* Original common.css styling */

.clsImg {
    height: 80px;
}

.cursor-pointer {
    cursor: pointer;
}

#sessionModal {
    z-index: 1100 !important;
}

.rz-multiselect-items li, .rz-dropdown-item, .rz-dropdown {
    font-size: inherit !important;
}

.rz-dropdown.rz-state-disabled {
    background-color: var(--v1-input-disabled-bg) !important;
    border-color: var(--v1-input-disabled-bg) !important;
    color: var(--v1-secondary-color) !important;
}

.rz-dropdown.rz-state-disabled .rz-dropdown-label {
    background-color: var(--v1-input-disabled-bg) !important;
    color: var(--v1-secondary-color) !important;
}


.checkall-label {
    min-height: 33px;
    min-width: 100px;
}

.h400 {
    height: 400px;
}
.mh300 {
    min-height: 300px;
}
.mh150 {
    min-height: 150px;
}

canvas.chartjs-render-monitor[id$=sliderChart] {
    height: 56px !important;
    z-index: 0 !important;
}

/* ==== Container & Chart Overlay ==== */
.chart-nav-container {
    width: 100%;
    height: 70px;
    position: relative;
    margin-top: 2rem;
}

.irs .irs-grid {
    top: 60px;
}

#range-slider {
    visibility: hidden;
}

.error-message {
    min-height: 30px;
}

.header-search-component {
    position: relative;
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

/* Removed duplicate .header-search-component and .suggestions-box */

.usage_data_select {
    min-width: 140px;
}

.heat_map_container {
    height: 80vh !important;
    position: relative;
}

.usage_data_container {
    height: 55vh;
    position: relative;
}

.label-bold {
    font-weight: bold;
}

.error-container {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.heat_map_echart {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.hidden-account-tiles {
    display: none !important;
}

.card-index {
    z-index: 1;
}
.hideRadzenDialogContainer {
    background-color: transparent;
    box-shadow: none;
}

.rotate-collapse-icon {
    transform: rotate(-180deg);
}

.pl-7 {
    padding-left:7px;
}


.blurred-bg > *:not(.modal-blur-overlay) {
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}

.text-ellipsis-one-line {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clear-icon-button {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.clear-icon-button .v1-icon {
    width: 10px;
    height: 10px;
}

.wrap-text {
    white-space: normal;
    word-break: break-word;
    max-width: 400px;
    max-height: 100px;
    overflow-y: auto;
}


.highlighted-suggestion {
    background-color: #e6f2ff;
    color: #000;
    border-radius: 4px;
}

.sidebarTopNav{
    top: 53px;
}


.input-datepicker-range .form-control-width-md {
    max-width: 100% !important;
}

/* Removed .visually-hidden - already in main.css (Bootstrap) */

.disable-payment-date input {
    pointer-events: none;
    background-color: #eee;
    color: #888;
}


#chartjs-tooltip {
    position: absolute;
    background: white;
    color: black;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 9999;
}

.chart-tooltip strong {
    font-weight: bold;
}

.chart-tooltip br {
    content: "";
    display: block;
    margin: 4px 0;
}

.page-footer-container {
    z-index: 1 !important;
}

.activity-note-text {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.form-control_max_width {
    max-width: 400px !important;
}

.h-50vh {
    height: 50vh !important;
}
.h-100 .rz-map {
    height: 100% !important;
    min-height: 40vh !important;
}

.report-map .chart-container {
    height: 100% !important;
    margin: 0 !important;
}

.is-active {
    font-weight: 700;
    color: #03a1f9 !important;
}

.account-details-top {
    top: 65.2px;
}

.card-tiles-top {
    top: 264px !important;
}

.card-tiles-margin-top {
    scroll-margin-top: 264px !important;
}
.mh-50vh {
    max-height: 50vh !important;
}

div#components-reconnect-modal{
    z-index: 9999 !important;
}
.is-invalid:not(#send-message *, #PayArrangeAmount1, #PayArrangeAmount2, #PaymentSchedule1, #PaymentSchedule2, #termsConditionsLabel) {
    border: 1px solid #dc3545 !important;
    border-radius: 0.25rem;
}
li.selectedList {
    background-color: var(--v1-secondary-bg);
}
li.selectedList button {
    font-weight: bold;
}
.modal.alert-dialog {
    --v1-modal-zindex : 2000;
}
.mh-40vh {
    min-height: 40vh;
}

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


.pac-input-text {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 350px;
    left: 0px !important;
    top: 80px !important;
    z-index: 9999 !important;
    position: absolute !important;
}

.pac-container {
    z-index: 10000 !important;
    position: absolute !important;
    background-color: #fff;
    border: 1px solid #ccc;
}

.disabled-custom {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.wide-column {
    width: 350px;
    min-width: 200px;
    max-width: 400px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.search-input {
    min-width: 200px;
    max-width: 400px;
}
.minh500px{
    min-height: 500px;
}

.unread-row {
    font-weight: bold;
}

.w150px{
    width:150px;
}

.col-subject {
    min-width: 300px;
    width: 40%;
    max-width: 600px;
}

.col-date {
    width: 120px;
    min-width: 100px;
    max-width: 150px;
    text-align: right;
}

.col-icons {
    width: 100px;
    min-width: 80px;
    max-width: 120px;
    text-align: right;
}

/*CSS for external tooltip arrow on chart (Custom tooltip)*/
.tooltip-arrow-custom {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.8);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
}

.signature-canvas {
     border: 1px solid #ccc;
     background-color: #fff;
     touch-action: none;
}
.v1-header-hidden {
    display: none !important;
}
.actionButtonsClass {
    width: 100%;
    position: absolute;
    top: 1.4rem;
}

.no-data-message {
    line-height: 300px;
    text-align: center;
}

.pinherit {
    padding: inherit;
}

.meter-reading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--v1-card-login-section-bg);
    padding: min(5dvh, 5rem) min(1dvw, 1rem);
    border-bottom: var(--border-default);
}

.meter-reading-form-control-container {
    display: flex;
    justify-content: center;
    gap: min(1dvw, 0.5rem);
    width: min(100%, 800px);
}

.meter-reading-form-control-container > .form-control {
    width: min(100%, 5rem);
    padding: min(1dvw, 1rem);
    text-align: center;
    font-weight: 600;
    font-feature-settings: "tnum";
    font-size: min(5dvw, 2rem);
    line-height: 1;
}

.meter-reading-form-control-container > .form-control.disabled,
.meter-reading-form-control-container > .form-control[disabled] {
    border-color: var(--v1-border-color);
    color: var(--v1-gray-600);
}

.meter-reading-form-control-container > .form-control.is-invalid {
    background-image: none;
}

/* Removed .w-100 - already in main.css (Bootstrap) */

.max-w-100{
    max-width:100% !important;
}

/*Start Radzen FileUpload Css*/
.rz-fileupload-content {
    display: none !important;
}

#uploadWithDragAndDrop {
    left: 0;
    --rz-upload-button-bar-background-color: transparent;
    --rz-upload-button-bar-padding: 0;
}

    #uploadWithDragAndDrop .rz-fileupload-buttonbar .rz-fileupload-choose {
        width: 100%;
        text-align: center;
        font-size: 16px;
        padding: 100px 0;
    }

.progress-container {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.rz-card.rz-variant-outlined {
    border: none !important;
}

.form-drop__container {
    position: relative;
    width: 100%;
    height: 150px;
    border: 2px dashed var(--v1-border-color);
    border-radius: var(--v1-theme-rounded-no, 0.3125rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}

.rz-fileupload-absolute {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/*End Radzen FileUpload Css*/

/* Start Scrollable Large Dropdown Css */
.scrollable-dropdown {
    overflow: hidden;
    padding: 0;
}

.dropdown-scroll-container {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.dropdown-scroll-area.list-unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-scroll-area .nav-link.nav-sub-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

    .scrollable-dropdown .dropdown-scroll-area {
        max-height: 70vh;
        overflow-y: auto;
        padding: .25rem 0 .5rem;
        scrollbar-width: thin;
    }

        .scrollable-dropdown .dropdown-scroll-area::-webkit-scrollbar {
            width: 6px;
        }

        .scrollable-dropdown .dropdown-scroll-area::-webkit-scrollbar-thumb {
            background: rgba(0,0,0,.25);
            border-radius: 3px;
        }

    .scrollable-dropdown .dropdown-cap-header {
        background: var(--bs-card-subheader-bg, var(--v1-gray-200));
        z-index: 2;
    }

.mw-425 {
    max-width: 425px !important;
}

/* End Scrollable Large Dropdown Css */
.comp-loading {
    background: var(--v1-card-bg) url('/images/bootstrap-spinner.svg') no-repeat center;
    * {  visibility : hidden !important}
}

.comp-loading.nav-account {
    min-height: 160px;
    background: var(--v1-nav-account-background) url('/images/bootstrap-spinner.svg') no-repeat center !important;
    *{ display: none !important}
}
.comp-loading.body-background {
    background: var(--v1-body-bg) url('/images/bootstrap-spinner.svg') no-repeat center !important;
    * { visibility: hidden !important}
}

.nav.comp-loading .nav-link-icon-container {
    min-height : 28px !important;
}
.nav.comp-loading li {
    min-height: 44px !important;
}


.comp-loading-transition {
    transition: opacity 0.5s ease-in;
}
.comp-loading-transition.hidden {
    opacity: 0;
    transition: none;
}
.rz-notification{
    z-index:9999 !important;
}
.nested-class {
    margin-left: 15px;
    border: 1px dotted;
}

.checkmark-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    fill: white;
    background: transparent;
    pointer-events: none;
}

.heatmap-container {
    transition: height 0.4s ease-in-out; /* Smooth height animation */
    overflow: hidden; /* Prevent scroll jump during resize */
}
#chatbot:has(.fui-Spinner) {
    display: none;
}

.ledgerHistoryDateRangeDeleteIcon {
    margin-left: -22px;
}

.premises-info-list-border {
    border-top: 1px solid #DADFE7;
}.ami-usage-legend {
    display: inline-block;
    width: 18px;
    height: 4px;
    background: #666666;
}
.ami-water-budget-legend {
    display: inline-block;
    width: 18px;
    height: 4px;
    background: #4da3ff;
}
.tooltip-class {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.text-wrap-break {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.min-w-0 {
    min-width: 0 !important;
}

.filter-break-word {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal !important;
}

.filter-row {
 white-space: nowrap;
}

.filter-col {
 min-width:0;
}

.filter-date {
 min-width:0;
 max-width:320px;
}

.filter-dropdown-sm {
 min-width:0;
 width:200px;
}

.filter-dropdown-alert {
 min-width:0;
 width:220px;
}

.filter-col .form-label {
 white-space: normal;
}

.cardsubheaderbg {
    background: var(--v1-card-subheader-bg);
}
.theme-preview-container {
    margin-top: 1rem;
}

.template-preview-wrapper {
    padding: 20px;
    background-color: var(--v1-theme-page-preview, #F8F9FB);
    min-height: 400px;
}

    .template-preview-wrapper img {
        max-width: 100%;
        height: auto;
    }

    .template-preview-wrapper table {
        max-width: 100%;
    }

.resolved-row {
    opacity: 0.45;
}

.action-slot {
    width: 36px; /* reserve fixed space */
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.modal-top-spacing {
    margin-top: 5rem;
}

.primaryData {
    position: relative;
    z-index: 0;
}

/* Payment Method Toggle Alignment Fix */
.payment-method-toggle {
    padding-left: 3.5rem !important;
}


.vx-mobile-banner {
    border-radius: 12px;
    padding: 12px 12px;
    margin: 12px;
    font-size: 0.95rem;
}

    .vx-mobile-banner .btn.btn-icon {
        min-width: 40px;
        min-height: 40px;
    }

.overflow-x-hidden {
    overflow-x: hidden;
}

.date-picker-gap {
    margin-right: 20px;
}

.delete-modal-backdrop {
    background-color: rgba(0, 0, 0, 0.3); /* lighter black */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* /Utility/Common.css */ 

.notification-container {
    position: fixed;
    top: 3rem;
    right: calc(var(--layout-gap-width) - .5rem);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    z-index: 1031
}

@media(max-width: 576px) {
    .notification-container {
        width: calc(100dvw - var(--layout-gap-width)*2)
    }
}

.notification-container .notification-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.notification-container:not(.expanded) .notification-list .notification:nth-of-type(1) {
    z-index: 2;
    box-shadow: var(--v1-theme-shadows-no, 1px 1px 1px 1px rgba(20, 20, 21, 0.03), 10px 10px 10px rgba(20, 20, 21, 0.04), 0 0 0 1px rgba(20, 20, 21, 0.05))
}

.notification-container:not(.expanded) .notification-list .notification:nth-of-type(2) {
    position: absolute;
    bottom: -0.8rem;
    z-index: 1;
    transform: scale(0.93)
}

.notification-container:not(.expanded) .notification-list .notification:nth-of-type(3) {
    position: absolute;
    bottom: -1.5rem;
    transform: scale(0.85)
}

.notification-container:not(.expanded) .notification-list .notification:nth-of-type(n + 4) {
    opacity: 0;
    max-height: 0;
    display: none
}

.notification-container:not(.expanded) .notification-list .notification:nth-of-type(n + 2) {
    height: 5rem;
    max-height: 5rem;
    min-height: 5rem;
    overflow: hidden;
    align-items: baseline
}

    .notification-container:not(.expanded) .notification-list .notification:nth-of-type(n + 2) .btn-close {
        display: none
    }

    .notification-container:not(.expanded) .notification-list .notification:nth-of-type(n + 2) .notification-content {
        max-height: 3rem
    }

.notification-container.expanded {
    overflow-y: auto;
    height: calc(100dvh - 8rem);
    pointer-events: none;
    overscroll-behavior: contain
}

    .notification-container.expanded .notification-btn-container {
        pointer-events: initial
    }

    .notification-container.expanded .notification-list {
        -webkit-backdrop-filter: blur(0.5rem);
        backdrop-filter: blur(0.5rem)
    }

    .notification-container.expanded .notification {
        transform: scale(1);
        opacity: 1;
        pointer-events: initial
    }

        .notification-container.expanded .notification .btn-close {
            z-index: 2
        }

.notification-container .notification-btn-container button {
    position: fixed;
    right: calc(var(--layout-gap-width) - .5rem);
    top: 1rem;
    border-radius: 50rem;
    background-color: var(--v1-notification-background-color)
}

.notification {
    display: flex;
    align-items: center;
    gap: .75rem;
    position: relative;
    animation: notification-slide-in .3s ease-out;
    padding: 1rem 1rem;
    width: 400px;
    min-height: 5rem;
    min-width: 0;
    background-color: var(--v1-notification-background-color);
    border-radius: .75rem;
    border: 1px solid var(--v1-notification-border-color);
    border-radius: var(--v1-theme-rounded-no, 0.75rem);
    transition: transform .3s ease-in,bottom .3s ease-in
}

@media(max - width: 576px) {
    .notification {
        max-width: 100%
    }
}

.notification .notification-icon {
    margin-top: .25rem
}

    .notification .notification-icon svg {
        display: block
    }

.notification p:last-of-type {
    margin: 0
}

.notification .notification-content {
    display: flex;
    flex: 1;
    gap: .75rem
}

.notification .notification-text {
    flex: 1;
    overflow: hidden;
    font-size: .92857143em;
    line-height: 1.71428571
}

.notification .notification-title {
    font-size: 1rem;
    font-weight: 600
}

.notification .notification-subtitle {
    color: var(--v1-secondary-color);
    line-height: 1.5
}

.notification .btn-close {
    align-self: flex-start
}

@keyframes notification-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

/*Start: CSS for module dropdown on Utility profile search page*/
.module-dropdown-overlay {
    background: transparent;
    cursor: default;
}

.module-dropdown-panel {
    /* Prevent flickering */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

    /* Remove the fade-in animation since we're controlling visibility with JS */
.module-dropdown-panel[style*="opacity: 1"] {
    animation: none;
}

.module-dropdown-panel::-webkit-scrollbar {
    width: 8px;
}

.module-dropdown-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.module-dropdown-panel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.module-dropdown-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.module-dropdown-overlay,
.module-dropdown-panel {
    pointer-events: auto;
}

.module-dropdown-panel label,
.module-dropdown-panel span {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.module-filter-container {
    position: relative;
    width: 100%;
}

.module-dropdown-button {
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.module-dropdown-text {
    color: #495057;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.module-dropdown-icon {
    font-size: 0.8em;
    flex-shrink: 0;
    margin-left: 8px;
}

.module-dropdown-overlay {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.module-dropdown-panel {
    position: fixed;
    z-index: 10001;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.module-dropdown-content {
    padding: 8px;
}

.module-dropdown-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.module-parent {
    display: flex;
    align-items: center;
    padding: 4px 0;
    cursor: pointer;
}

.module-checkbox {
    margin-right: 8px;
    cursor: pointer;
}

.module-checkbox.indeterminate {
    opacity: 0.5;
}

.module-parent-label {
    font-weight: 600;
    color: #212529;
}

.module-children {
    margin-left: 24px;
}

.module-child {
    display: flex;
    align-items: center;
    padding: 4px 0;
    cursor: pointer;
}

.module-child-label {
    color: #495057;
}
/*End: CSS for module dropdown on Utility profile search page*/

/*Start: Footer Links - Drag and Drop */
.list-group-item.drag-origin {
    visibility: hidden;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.list-group-item.sortable-ghost {
    border: 2px dashed var(--v1-primary, #0d6efd);
    border-radius: var(--v1-theme-rounded-no, 0.375rem);
    background: transparent;
    min-height: 80px;
}
/*End: Footer Links - Drag and Drop */
.message-body-container {
    flex: 1 1 0;
}

.content-modal {
    width: 16px;
    height: 16px;
}

.shipment-preview-modal {
    z-index: 1101 !important;
    position: absolute !important;
}
