/* CallCenter layout overrides */

.dt-column-filter-heading {
    align-items: center;
    display: flex;
    gap: .35rem;
    justify-content: space-between;
    min-width: 0;
}

.dt-column-filter-heading-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dt-column-filter-button {
    align-items: center;
    color: var(--bs-secondary-color);
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.45rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: relative;
    text-decoration: none;
    width: 1.45rem;
}

.dt-column-filter-button:hover,
.dt-column-filter-button:focus,
.dt-column-filter-heading.is-filtered .dt-column-filter-button {
    color: var(--bs-primary);
    text-decoration: none;
}

.dt-column-filter-badge {
    align-items: center;
    background-color: var(--bs-primary);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .58rem;
    font-weight: 700;
    height: .9rem;
    justify-content: center;
    line-height: 1;
    min-width: .9rem;
    padding: 0 .2rem;
    position: absolute;
    right: -.28rem;
    top: -.28rem;
}

.dt-column-filter-menu {
    border-color: var(--bs-border-color);
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .18);
    min-width: 17rem;
    padding: .65rem;
}

.dt-column-filter-menu[data-dt-fixed-position="true"] {
    inset: auto !important;
    position: fixed !important;
    transform: none !important;
    z-index: 1090;
}

.dt-column-filter-value-search {
    margin-bottom: .55rem;
}

.dt-column-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .55rem;
}

.dt-column-filter-actions .btn {
    flex: 1 1 0;
}

.dt-column-filter-values {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    max-height: 15rem;
    overflow: hidden auto;
    padding-right: .2rem;
}

.dt-column-filter-value {
    align-items: center;
    border-radius: .35rem;
    cursor: pointer;
    display: flex;
    gap: .45rem;
    margin: 0;
    padding: .28rem .35rem;
}

.dt-column-filter-value:hover {
    background-color: rgba(var(--bs-primary-rgb), .08);
}

.dt-column-filter-value .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}

.dt-column-filter-value .form-check-label {
    color: var(--bs-body-color);
    font-size: .78rem;
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: anywhere;
}

.dt-column-filter-empty {
    padding: .35rem .15rem 0;
}

.dt-column-filter-row th {
    background-color: var(--bs-body-bg) !important;
    padding: .35rem .5rem !important;
    vertical-align: middle;
}

.page-scroll-shortcuts {
    bottom: 5.25rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    position: fixed;
    right: clamp(.75rem, 1.6vw, 1.35rem);
    z-index: 1040;
}

.page-scroll-shortcuts.is-hidden {
    display: none;
}

.page-scroll-shortcut {
    align-items: center;
    background: var(--bs-body-bg);
    border: 1px solid rgba(var(--bs-primary-rgb), .24);
    border-radius: .5rem;
    box-shadow: 0 .7rem 1.65rem rgba(18, 38, 63, .16);
    color: var(--bs-primary);
    display: inline-flex;
    font-size: 1.15rem;
    height: 2.2rem;
    justify-content: center;
    line-height: 1;
    opacity: .88;
    padding: 0;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, opacity .16s ease, transform .16s ease;
    width: 2.2rem;
}

.page-scroll-shortcut:hover,
.page-scroll-shortcut:focus {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 .85rem 1.9rem rgba(var(--bs-primary-rgb), .24);
    color: #fff;
    opacity: 1;
    outline: none;
    transform: translateY(-1px);
}

.page-scroll-shortcut:focus-visible {
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .2), 0 .85rem 1.9rem rgba(var(--bs-primary-rgb), .24);
}

.page-scroll-shortcut:disabled {
    background: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    box-shadow: 0 .45rem 1.15rem rgba(18, 38, 63, .1);
    color: var(--bs-secondary-color);
    cursor: default;
    opacity: .42;
    transform: none;
}

.page-scroll-shortcut .mdi {
    line-height: 1;
}

.page-scroll-shortcuts-low,
.showcase-page-scroll-shortcuts {
    bottom: 1.35rem;
}

.dt-column-filter-input {
    font-size: .78rem;
    min-width: 7rem;
}

.showcase-filter-table-wrapper {
    position: relative;
    overflow-x: visible;
}

.showcase-datatables-preloader {
    align-items: center;
    background-color: rgba(255, 255, 255, .72);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 1090;
}

.showcase-datatables-preloader.d-none {
    display: none;
}

.showcase-datatables-preloader-inner {
    align-items: center;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .16);
    color: var(--bs-body-color);
    display: inline-flex;
    font-size: .84rem;
    gap: .55rem;
    padding: .75rem 1rem;
}

.showcase-filter-table {
    table-layout: fixed;
    width: 100% !important;
}

.showcase-filter-table col.showcase-filter-col-index {
    width: 3%;
}

.showcase-filter-table col.showcase-filter-col-store {
    width: 16%;
}

.showcase-filter-table col.showcase-filter-col-location {
    width: 8%;
}

.showcase-filter-table col.showcase-filter-col-module {
    width: 21%;
}

.showcase-filter-table col.showcase-filter-col-product {
    width: 10%;
}

.showcase-filter-table col.showcase-filter-col-category {
    width: 8%;
}

.showcase-filter-table col.showcase-filter-col-start {
    width: 8%;
}

.showcase-filter-table col.showcase-filter-col-period {
    width: 10%;
}

.showcase-filter-table col.showcase-filter-col-status,
.showcase-filter-table col.showcase-filter-col-showcase {
    width: 8%;
}

.showcase-filter-table col.showcase-filter-col-action {
    width: 8%;
}

.showcase-filter-table td {
    overflow-wrap: anywhere;
    padding-left: .45rem;
    padding-right: .45rem;
    white-space: normal;
}

.showcase-filter-table thead tr:first-child th {
    height: 2.35rem;
    line-height: 1.15;
    overflow-wrap: normal;
    padding-left: .45rem;
    padding-bottom: .3rem !important;
    padding-top: .3rem !important;
    position: relative;
    vertical-align: middle;
    white-space: nowrap;
}

.showcase-filter-table thead tr:first-child th.sorting,
.showcase-filter-table thead tr:first-child th.sorting_asc,
.showcase-filter-table thead tr:first-child th.sorting_desc {
    padding-right: .45rem !important;
}

.showcase-filter-table thead tr:first-child th.sorting::before,
.showcase-filter-table thead tr:first-child th.sorting_asc::before,
.showcase-filter-table thead tr:first-child th.sorting_desc::before,
.showcase-filter-table thead tr:first-child th.sorting::after,
.showcase-filter-table thead tr:first-child th.sorting_asc::after,
.showcase-filter-table thead tr:first-child th.sorting_desc::after {
    pointer-events: none;
    right: .25rem;
}

.showcase-filter-table .dt-column-filter-row th {
    padding-left: .35rem !important;
    padding-right: .35rem !important;
    padding-bottom: .25rem !important;
    padding-top: .25rem !important;
}

.showcase-filter-table .dt-column-filter-heading {
    align-items: center;
    display: flex;
    gap: .25rem;
    justify-content: flex-start;
    max-width: 100%;
    min-height: 1.35rem;
    padding-right: 2.15rem;
    position: static;
    vertical-align: middle;
}

.showcase-filter-table .dt-column-filter-heading-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.showcase-filter-table .dt-column-filter-dropdown {
    flex: 0 0 auto;
    margin-left: 0;
    position: absolute;
    right: .95rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.showcase-filter-table .dt-column-filter-button {
    height: 1.3rem;
    width: 1.3rem;
}

.showcase-filter-table .dt-column-filter-menu {
    margin-top: 0 !important;
}

.showcase-filter-table .dt-column-filter-input {
    font-size: .76rem;
    height: 1.72rem;
    min-width: 0;
    padding: .2rem .45rem;
    width: 100%;
}

.showcase-filter-table .avatar-sm {
    flex: 0 0 3rem;
}

.showcase-filter-table .showcase-filter-store-cell .d-flex,
.showcase-filter-table .showcase-filter-module-cell .d-flex {
    align-items: flex-start !important;
    min-width: 0;
}

.showcase-filter-table .showcase-filter-store-cell .d-flex > div:last-child,
.showcase-filter-table .showcase-filter-module-cell .d-flex > div:last-child {
    min-width: 0;
}

.showcase-filter-table .showcase-filter-module-title,
.showcase-filter-table td:nth-child(4) .text-muted,
.showcase-filter-table td:nth-child(5) {
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.showcase-filter-table .showcase-period-cell {
    gap: .45rem;
    min-width: 0;
}

.showcase-filter-table .showcase-period-ring {
    flex-basis: 2.65rem;
    height: 2.65rem;
    width: 2.65rem;
}

.showcase-filter-table .showcase-period-end {
    font-size: .84rem;
}

.showcase-filter-table .showcase-period-remaining {
    font-size: .72rem;
}

.product-module-detail-avatar {
    height: 3.5rem;
    object-fit: cover;
    width: 3.5rem;
}

.product-module-detail-gallery-image {
    border-radius: .75rem .75rem 0 0;
    display: block;
    height: 12rem;
    object-fit: cover;
    width: 100%;
}

#preloader.app-page-loader {
        display: block;
        opacity: 1;
        visibility: visible;
        transition: opacity .18s ease, visibility .18s ease;
    }

    #preloader.app-page-loader.page-loader-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    #preloader.app-page-loader.page-loader-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.global-search-panel {
                background-color: var(--bs-body-bg);
                border: 1px solid rgba(var(--bs-primary-rgb), .16);
                border-radius: .75rem;
                box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, .28);
                color: var(--bs-body-color);
                display: none;
                max-height: 22rem;
                min-width: 100%;
                overflow: hidden auto;
                padding: .75rem;
                width: 25rem;
            }

                .global-search-panel.show {
                    display: block;
                }

            .app-search .global-search-panel {
                left: 0;
                position: absolute;
                right: auto;
                top: calc(100% + .35rem);
                z-index: 1090;
            }

            .global-search-group {
                padding: .35rem 0;
            }

                .global-search-group + .global-search-group {
                    border-top: 1px solid var(--bs-border-color);
                }

            .global-search-group-title {
                align-items: center;
                color: var(--bs-secondary-color);
                display: flex;
                font-size: .68rem;
                font-weight: 700;
                gap: .45rem;
                letter-spacing: .04em;
                padding: .25rem .55rem .4rem;
                text-transform: uppercase;
            }

                .global-search-group-title::before {
                    background-color: var(--bs-primary);
                    border-radius: 999px;
                    content: "";
                    display: inline-block;
                    height: .45rem;
                    width: .45rem;
                }

            .global-search-empty {
                color: var(--bs-secondary-color);
                font-size: .78rem;
                padding: .35rem .55rem .55rem 1.45rem;
            }

            .global-search-item {
                align-items: center;
                background-color: transparent;
                border-radius: .55rem;
                color: var(--bs-body-color);
                display: flex;
                gap: .65rem;
                min-height: 2.75rem;
                padding: .34rem .55rem;
                text-decoration: none;
                width: 100%;
            }

            .app-search .global-search-panel span {
                color: inherit;
                font-size: inherit;
                line-height: inherit;
                position: static;
                right: auto;
                top: auto;
                z-index: auto;
            }

                .global-search-item:hover,
                .global-search-item:focus {
                    background-color: rgba(var(--bs-primary-rgb), .1);
                    color: var(--bs-body-color);
                    outline: none;
                }

            .global-search-item-avatar {
                align-items: center;
                background-color: rgba(var(--bs-primary-rgb), .12);
                color: var(--bs-primary);
                display: inline-flex;
                flex: 0 0 2rem;
                font-size: .72rem;
                font-weight: 700;
                height: 2rem;
                justify-content: center;
                line-height: 1;
                overflow: hidden;
                text-transform: uppercase;
                width: 2rem;
            }

                .global-search-item-avatar img {
                    height: 100%;
                    object-fit: cover;
                    width: 100%;
                }

            .global-search-item-body {
                display: flex;
                flex: 1 1 auto;
                flex-direction: column;
                justify-content: center;
                min-width: 0;
            }

            .global-search-item-title {
                display: block;
                font-weight: 600;
                line-height: 1.15;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .global-search-item-subtitle {
                color: var(--bs-secondary-color);
                display: block;
                font-size: .75rem;
                line-height: 1.15;
                margin-top: .08rem;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            @@media (max-width: 575.98px) {
                .global-search-panel {
                    width: 100%;
                }
            }

            .global-search-button {
                align-items: center;
                background: transparent;
                border: 0;
                color: var(--bs-secondary-color);
                display: grid;
                height: 100%;
                justify-content: center;
                padding: 0;
                place-items: center;
                position: absolute;
                right: 0;
                top: 0;
                width: 3rem;
                z-index: 2;
            }

                .global-search-button:hover,
                .global-search-button:focus {
                    color: var(--bs-primary);
                    outline: none;
                }

            .app-search input[name="Query"] {
                padding-left: 1.05rem;
                padding-right: 3rem;
            }

            .global-search-button .global-search-spinner {
                display: none;
            }

            .global-search-button .mdi {
                line-height: 1;
            }

            .global-search-button.is-loading .mdi {
                display: none;
            }

            .global-search-button.is-loading .global-search-spinner {
                animation: global-search-spin .7s linear infinite;
                border: 2px solid rgba(var(--bs-primary-rgb), .2);
                border-radius: 50%;
                border-top-color: var(--bs-primary);
                display: block;
                height: 1rem;
                left: 50%;
                margin-left: -.5rem;
                margin-top: -.5rem;
                position: absolute;
                top: 50%;
                width: 1rem;
            }

            @@keyframes global-search-spin {
                to {
                    transform: rotate(360deg);
                }
            }

            .header-profile-initials {
                align-items: center;
                display: inline-flex;
                height: 36px;
                justify-content: center;
                width: 36px;
            }

            .header-acting-user-initials {
                align-items: center;
                display: inline-flex;
                height: 36px;
                justify-content: center;
                width: 36px;
            }

            .badge.bg-primary-subtle,
            .badge.text-bg-primary-subtle {
                background-color: rgba(85, 110, 230, .18) !important;
                border-color: transparent !important;
                color: #556ee6 !important;
            }

            .badge.bg-info-subtle,
            .badge.text-bg-info-subtle {
                background-color: rgba(80, 165, 241, .18) !important;
                border-color: transparent !important;
                color: #50a5f1 !important;
            }

.badge.bg-warning-subtle,
.badge.text-bg-warning-subtle {
    background-color: rgba(241, 180, 76, .18) !important;
    border-color: transparent !important;
    color: #f1b44c !important;
}

.profile-avatar-preview {
    align-items: center;
    display: inline-flex;
    height: 7rem;
    justify-content: center;
    object-fit: cover;
    width: 7rem;
}

.profile-avatar-shell {
    height: 7rem;
    position: relative;
    width: 7rem;
}

.profile-crop-image,
.user-management-crop-image,
.store-crop-image,
.product-crop-image,
.product-module-crop-image {
    display: block;
    margin: 0 auto;
    max-height: 62vh;
    max-width: 100%;
    width: auto;
}

.profile-information-table th {
    width: 15rem;
}

.profile-avatar-action,
.profile-avatar-select,
.store-avatar-action,
.product-avatar-action,
.product-module-avatar-action,
.user-management-avatar-select,
.user-management-avatar-remove {
    bottom: .15rem;
    position: absolute;
    right: .15rem;
}

.profile-avatar-card-description {
    font-size: .875rem;
}

.profile-avatar-button-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

#profile-avatar-crop-modal .modal-dialog,
#store-avatar-crop-modal .modal-dialog,
#store-image-crop-modal .modal-dialog,
#product-avatar-crop-modal .modal-dialog,
#product-image-crop-modal .modal-dialog,
#product-module-avatar-crop-modal .modal-dialog,
#product-module-image-crop-modal .modal-dialog {
    max-width: min(1140px, calc(100vw - 2rem));
}

#profile-avatar-crop-modal .modal-body,
#store-avatar-crop-modal .modal-body,
#store-image-crop-modal .modal-body,
#product-avatar-crop-modal .modal-body,
#product-image-crop-modal .modal-body,
#product-module-avatar-crop-modal .modal-body,
#product-module-image-crop-modal .modal-body,
#user-management-avatar-crop-modal .modal-body {
    overflow: hidden;
    padding: 1rem;
}

#profile-avatar-crop-modal .modal-content {
    overflow: hidden;
}

.was-validated .position-relative:has(.form-control:invalid) > .invalid-tooltip {
    display: block;
}

.store-form-field,
.product-form-field,
.product-module-form-field {
    margin-bottom: 1.25rem;
}

.store-form-field .invalid-tooltip,
.product-form-field .invalid-tooltip,
.product-module-form-field .invalid-tooltip,
.user-management-field .invalid-tooltip {
    margin-top: .25rem;
    position: static;
    width: fit-content;
}

.store-form-toolbar,
.product-form-toolbar {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.store-location-picker {
    background-color: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    padding: .875rem;
}

.store-location-map-shell {
    background-color: #eef2f7;
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    min-height: 22rem;
    overflow: hidden;
    position: relative;
}

.store-location-map {
    height: 22rem;
    min-height: 22rem;
    width: 100%;
}

.store-location-map-state {
    align-items: center;
    background-color: rgba(255, 255, 255, .9);
    bottom: 0;
    color: var(--bs-secondary-color);
    display: flex;
    flex-direction: column;
    font-size: .875rem;
    gap: .5rem;
    justify-content: center;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 1;
}

.store-location-map-state i {
    color: var(--bs-primary);
    font-size: 1.5rem;
    line-height: 1;
}

.store-location-map-state.is-hidden {
    display: none;
}

.store-detail-map-frame {
    border: 0;
    border-radius: .5rem;
    height: 22rem;
    width: 100%;
}

@media (max-width: 575.98px) {
    .store-location-map-shell,
    .store-location-map,
    .store-detail-map-frame {
        height: 17rem;
        min-height: 17rem;
    }
}

.store-cover-preview,
.product-cover-preview {
    background-position: center;
    background-size: cover;
    border-radius: 1rem;
    min-height: 13rem;
    overflow: hidden;
}

.store-avatar-preview,
.product-avatar-preview,
.product-module-avatar-preview {
    align-items: center;
    display: inline-flex;
    height: 7rem;
    justify-content: center;
    object-fit: cover;
    width: 7rem;
}

.store-avatar-shell,
.product-avatar-shell,
.product-module-avatar-shell {
    height: 7rem;
    width: 7rem;
}

.store-crop-frame,
.product-crop-frame,
.product-module-crop-frame {
    align-items: center;
    display: flex;
    justify-content: center;
    max-height: 62vh;
    overflow: hidden;
    width: 100%;
}

.store-dropzone,
.product-dropzone,
.product-module-dropzone {
    background-color: transparent;
    border: 1px dashed var(--bs-border-color);
    min-height: 10rem;
}

.product-dropzone .dz-preview,
.product-dropzone .dz-preview .dz-image,
.product-module-dropzone .dz-preview,
.product-module-dropzone .dz-preview .dz-image {
    background: transparent !important;
}

.product-dropzone .dz-preview .dz-image,
.product-module-dropzone .dz-image {
    border-radius: .85rem;
}

.product-dropzone .dz-remove,
.product-module-dropzone .dz-remove {
    color: var(--bs-danger) !important;
    font-weight: 600;
    margin-top: .35rem;
}

.product-dropzone .dz-error-message {
    background: var(--bs-danger);
}

#store-gallery-list > [data-media-ref],
#product-gallery-list > [data-media-ref],
.product-module-gallery-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.store-gallery-card,
.product-gallery-card,
.product-module-gallery-card {
    cursor: grab;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.store-gallery-card .store-gallery-image,
.product-gallery-card .product-gallery-image,
.product-module-gallery-card .product-module-gallery-image {
    background-position: center;
    background-size: cover;
    border-radius: .75rem;
    height: 11rem;
    width: 100%;
}

.store-gallery-card .card-body,
.product-gallery-card .card-body,
.product-module-gallery-card .card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.store-gallery-card .store-gallery-heading,
.store-gallery-card .store-gallery-description,
.product-gallery-card .product-gallery-heading,
.product-gallery-card .product-gallery-description,
.product-module-gallery-card .product-module-gallery-heading,
.product-module-gallery-card .product-module-gallery-description {
    min-height: 2.4rem;
}

.store-gallery-card.gu-mirror,
.product-gallery-card.gu-mirror,
.product-module-gallery-card.gu-mirror {
    cursor: grabbing;
}

.store-gallery-actions,
.product-gallery-actions,
.product-module-gallery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: auto;
}

#product-module-gallery-list {
    align-items: stretch;
}

.user-management-avatar {
    align-items: center;
    background: rgba(var(--bs-primary-rgb), .1);
    color: var(--bs-primary);
    display: inline-flex;
    font-weight: 700;
    height: 2.5rem;
    justify-content: center;
    object-fit: cover;
    width: 2.5rem;
}

.user-management-role-badge {
    margin-bottom: .25rem;
    margin-right: .25rem;
}

.user-management-table-wrap {
    overflow: visible !important;
}

.user-management-actions-menu {
    min-width: 10rem;
    z-index: 1080;
}

.user-management-avatar-preview {
    align-items: center;
    display: inline-flex;
    height: 5.5rem;
    justify-content: center;
    object-fit: cover;
    width: 5.5rem;
}

.user-management-avatar-shell {
    height: 5.5rem;
    width: 5.5rem;
}

.user-management-avatar-remove {
    left: .15rem;
    right: auto;
}

.user-management-field {
    margin-bottom: 1.35rem;
}

.user-management-role-feedback[hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    .store-form-toolbar,
    .product-form-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
}

.showcase-date-group .input-group-text {
    background-color: var(--bs-tertiary-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-secondary-color);
}

.showcase-date-group .showcase-clear-schedule-button {
    min-width: 2.5rem;
    padding-inline: .65rem;
}

#showcase-table tbody tr:hover,
#showcase-edit-table tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), .05);
}

.showcase-invalid-tooltip {
    left: 0;
    margin-top: .2rem;
    min-width: 11rem;
    right: auto;
}

.showcase-period-cell {
    align-items: center;
    display: flex;
    gap: .75rem;
    min-width: 9.25rem;
}

.showcase-period-ring {
    --showcase-progress: 0deg;
    align-items: center;
    background:
        radial-gradient(circle closest-side, var(--bs-card-bg) 68%, transparent 69% 100%),
        conic-gradient(var(--showcase-ring-color, #34c38f) var(--showcase-progress), rgba(148, 163, 184, .22) 0deg);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 3rem;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.showcase-period-ring[data-state="success"] {
    --showcase-ring-color: #34c38f;
}

.showcase-period-ring[data-state="warning"] {
    --showcase-ring-color: #f1b44c;
}

.showcase-period-ring[data-state="danger"] {
    --showcase-ring-color: #f46a6a;
}

.showcase-period-ring[data-state="none"] {
    --showcase-ring-color: #94a3b8;
}

.showcase-period-ring-value {
    color: var(--bs-body-color);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
}

.showcase-period-details {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

#marketer-showcase-table td,
#marketer-showcase-table th {
    padding-left: .65rem;
    padding-right: .65rem;
}

#marketer-showcase-table .showcase-period-cell {
    gap: .5rem;
    min-width: 8.25rem;
}

#marketer-showcase-table .showcase-period-ring {
    flex-basis: 2.75rem;
    height: 2.75rem;
    width: 2.75rem;
}

#marketer-showcase-table .showcase-period-end {
    font-size: .92rem;
}

#marketer-showcase-table .showcase-period-remaining {
    font-size: .74rem;
}

.notification-item {
    overflow: hidden;
}

.notification-item .avatar-xs {
    align-items: flex-start;
    display: flex;
    flex: 0 0 2rem;
    justify-content: center;
    width: 2rem;
}

.notification-item .avatar-title {
    align-items: center;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 2rem;
}

.notification-item .avatar-title i {
    font-size: 1rem;
    line-height: 1;
}

.notification-item .flex-grow-1 {
    min-width: 0;
}

#showcase-request-table td,
#showcase-request-table th {
    padding-left: .55rem;
    padding-right: .55rem;
    vertical-align: top;
}

#showcase-request-table .showcase-period-cell {
    gap: .4rem;
    min-width: 7.5rem;
}

#showcase-request-table .showcase-period-ring {
    flex-basis: 2.5rem;
    height: 2.5rem;
    width: 2.5rem;
}

#showcase-request-table .showcase-period-end {
    font-size: .9rem;
}

#showcase-request-table .showcase-period-remaining {
    font-size: .72rem;
}

.showcase-request-note-cell,
.showcase-request-review-cell {
    max-width: 13rem;
    white-space: normal;
    word-break: break-word;
}

.showcase-request-review-cell .min-w-0 {
    min-width: 0;
}

.showcase-period-end {
    color: var(--bs-body-color);
    font-weight: 600;
    line-height: 1.15;
}

.showcase-period-remaining {
    color: var(--bs-secondary-color);
    font-size: .78rem;
    line-height: 1.15;
    margin-top: .2rem;
}

            .badge.bg-secondary-subtle,
            .badge.text-bg-secondary-subtle {
                background-color: rgba(116, 120, 141, .18) !important;
                border-color: transparent !important;
                color: #74788d !important;
            }

            .badge.bg-success-subtle,
            .badge.text-bg-success-subtle {
                background-color: rgba(52, 195, 143, .18) !important;
                border-color: transparent !important;
                color: #34c38f !important;
            }

            .badge.bg-danger-subtle,
            .badge.text-bg-danger-subtle {
                background-color: rgba(244, 106, 106, .18) !important;
                border-color: transparent !important;
                color: #f46a6a !important;
            }

            .badge.text-primary,
            .badge .text-primary {
                color: #556ee6 !important;
            }

            .badge.text-info {
                color: #50a5f1 !important;
            }

            .badge.text-warning {
                color: #f1b44c !important;
            }

            .badge.text-secondary {
                color: #74788d !important;
            }

            .badge.text-success {
                color: #34c38f !important;
            }

            .badge.text-danger {
                color: #f46a6a !important;
            }

            .nav-tabs-custom .nav-link {
                color: var(--bs-body-color);
            }

            .nav-tabs-custom .nav-link:hover,
            .nav-tabs-custom .nav-link:focus {
                background-color: transparent;
                color: #556ee6;
            }

            .nav-tabs-custom .nav-link.active {
                background-color: transparent;
                border-color: transparent;
                color: #556ee6;
            }

            .btn-outline-primary {
                background-color: rgba(85, 110, 230, .1);
                border-color: transparent;
                color: #556ee6;
            }

            .btn-outline-primary:hover,
            .btn-outline-primary:focus,
            .btn-outline-primary:active,
            .btn-check:checked + .btn-outline-primary {
                background-color: #556ee6;
                border-color: transparent;
                color: #ffffff;
            }

            .btn-outline-success {
                background-color: rgba(52, 195, 143, .1);
                border-color: transparent;
                color: #34c38f;
            }

            .btn-outline-success:hover,
            .btn-outline-success:focus,
            .btn-outline-success:active,
            .btn-check:checked + .btn-outline-success {
                background-color: #34c38f;
                border-color: transparent;
                color: #ffffff;
            }

            .btn-outline-danger {
                background-color: rgba(244, 106, 106, .1);
                border-color: transparent;
                color: #f46a6a;
            }

            .btn-outline-danger:hover,
            .btn-outline-danger:focus,
            .btn-outline-danger:active,
            .btn-check:checked + .btn-outline-danger {
                background-color: #f46a6a;
                border-color: transparent;
                color: #ffffff;
            }

            [data-bs-theme="dark"] .badge.bg-primary-subtle,
            [data-bs-theme="dark"] .badge.text-bg-primary-subtle {
                background-color: rgba(85, 110, 230, .18) !important;
                border-color: transparent !important;
                color: #aab8ff !important;
            }

            [data-bs-theme="dark"] .badge.bg-info-subtle,
            [data-bs-theme="dark"] .badge.text-bg-info-subtle {
                background-color: rgba(80, 165, 241, .18) !important;
                border-color: transparent !important;
                color: #9fd2ff !important;
            }

            [data-bs-theme="dark"] .badge.bg-warning-subtle,
            [data-bs-theme="dark"] .badge.text-bg-warning-subtle {
                background-color: rgba(241, 180, 76, .18) !important;
                border-color: transparent !important;
                color: #ffd58c !important;
            }

            [data-bs-theme="dark"] .badge.bg-secondary-subtle,
            [data-bs-theme="dark"] .badge.text-bg-secondary-subtle {
                background-color: rgba(116, 120, 141, .18) !important;
                border-color: transparent !important;
                color: #c2c7d6 !important;
            }

            [data-bs-theme="dark"] .badge.bg-success-subtle,
            [data-bs-theme="dark"] .badge.text-bg-success-subtle {
                background-color: rgba(52, 195, 143, .18) !important;
                border-color: transparent !important;
                color: #8be3c0 !important;
            }

            [data-bs-theme="dark"] .badge.bg-danger-subtle,
            [data-bs-theme="dark"] .badge.text-bg-danger-subtle {
                background-color: rgba(244, 106, 106, .18) !important;
                border-color: transparent !important;
                color: #ffb0b0 !important;
            }

            [data-bs-theme="dark"] .badge.text-primary,
            [data-bs-theme="dark"] .badge .text-primary {
                color: #aab8ff !important;
            }

            [data-bs-theme="dark"] .badge.text-info {
                color: #9fd2ff !important;
            }

            [data-bs-theme="dark"] .badge.text-warning {
                color: #ffd58c !important;
            }

            [data-bs-theme="dark"] .badge.text-secondary {
                color: #c2c7d6 !important;
            }

            [data-bs-theme="dark"] .badge.text-success {
                color: #8be3c0 !important;
            }

            [data-bs-theme="dark"] .badge.text-danger {
                color: #ffb0b0 !important;
            }

            [data-bs-theme="dark"] .nav-tabs-custom {
                border-bottom-color: rgba(196, 207, 236, .16);
            }

            [data-bs-theme="dark"] .nav-tabs-custom .nav-link {
                border: none;
                color: #a6b0cf;
            }

            [data-bs-theme="dark"] .nav-tabs-custom .nav-link:hover,
            [data-bs-theme="dark"] .nav-tabs-custom .nav-link:focus {
                background-color: transparent;
                color: #ffffff;
            }

            [data-bs-theme="dark"] .nav-tabs-custom .nav-link.active {
                background-color: transparent;
                border-color: transparent;
                color: #556ee6;
            }

            [data-bs-theme="dark"] .btn-outline-primary {
                background-color: rgba(85, 110, 230, .16);
                border-color: transparent;
                color: #9eaeff;
            }

            [data-bs-theme="dark"] .btn-outline-primary:hover,
            [data-bs-theme="dark"] .btn-outline-primary:focus,
            [data-bs-theme="dark"] .btn-outline-primary:active,
            [data-bs-theme="dark"] .btn-check:checked + .btn-outline-primary {
                background-color: #556ee6;
                border-color: transparent;
                color: #ffffff;
            }

            [data-bs-theme="dark"] .btn-outline-success {
                background-color: rgba(52, 195, 143, .16);
                border-color: transparent;
                color: #8be3c0;
            }

            [data-bs-theme="dark"] .btn-outline-success:hover,
            [data-bs-theme="dark"] .btn-outline-success:focus,
            [data-bs-theme="dark"] .btn-outline-success:active,
            [data-bs-theme="dark"] .btn-check:checked + .btn-outline-success {
                background-color: #34c38f;
                border-color: transparent;
                color: #ffffff;
            }

            [data-bs-theme="dark"] .btn-outline-danger {
                background-color: rgba(244, 106, 106, .16);
                border-color: transparent;
                color: #ffb0b0;
            }

            [data-bs-theme="dark"] .btn-outline-danger:hover,
            [data-bs-theme="dark"] .btn-outline-danger:focus,
            [data-bs-theme="dark"] .btn-outline-danger:active,
            [data-bs-theme="dark"] .btn-check:checked + .btn-outline-danger {
                background-color: #f46a6a;
                border-color: transparent;
                color: #ffffff;
            }

            [data-bs-theme="dark"] .select2-container--default .select2-selection__choice,
            [data-bs-theme="dark"] .tagify__tag > div {
                background-color: rgba(85, 110, 230, .18) !important;
                border-color: transparent !important;
                color: #aab8ff !important;
            }

            [data-bs-theme="dark"] .select2-container--default .select2-selection__choice__remove,
            [data-bs-theme="dark"] .tagify__tag__removeBtn {
                color: #ffffff !important;
            }

.inspection-template-table-wrap {
    overflow: visible !important;
}

#inspection-template-table_wrapper,
#inspection-template-detail-table_wrapper,
#inspection-template-table,
#inspection-template-detail-table,
#inspection-template-table tbody,
#inspection-template-detail-table tbody,
#inspection-template-table tr,
#inspection-template-detail-table tr,
#inspection-template-table td,
#inspection-template-detail-table td {
    overflow: visible !important;
}

.inspection-template-actions-menu {
    min-width: 10rem;
    z-index: 1080;
}

.inspection-management-table-wrap,
.inspection-management-table-wrap table,
.inspection-management-table-wrap tbody,
.inspection-management-table-wrap tr,
.inspection-management-table-wrap td {
    overflow: visible !important;
}

.inspection-management-index-col {
    width: 44px;
}

.inspection-management-action-col {
    width: 120px;
}

.inspection-management-actions-menu {
    min-width: 10rem;
    z-index: 1080;
}

.inspection-create-field {
    margin-bottom: 1.25rem;
}

.inspection-create-field .invalid-tooltip {
    margin-top: .25rem;
    position: static;
    width: fit-content;
}

.inspection-detail-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
}

.inspection-approval-select,
.inspection-approval-select option {
    font-family: var(--bs-body-font-family);
    font-size: .8125rem;
}

.inspection-progress-ring {
    align-items: center;
    color: #343a40;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .6875rem;
    font-weight: 700;
    height: 2.5rem;
    justify-content: center;
    position: relative;
    width: 2.5rem;
}

.inspection-progress-ring svg {
    height: 2.5rem;
    inset: 0;
    position: absolute;
    transform: rotate(-90deg);
    width: 2.5rem;
}

.inspection-progress-ring-track,
.inspection-progress-ring-value {
    fill: none;
    stroke-width: 4;
}

.inspection-progress-ring-track {
    stroke: #eff2f7;
}

.inspection-progress-ring-value {
    stroke: #34c38f;
}

.inspection-progress-ring-value.inspection-progress-low {
    stroke: #f46a6a;
}

.inspection-progress-ring-value.inspection-progress-medium {
    stroke: #f1b44c;
}

.inspection-progress-ring-value.inspection-progress-high {
    stroke: #34c38f;
}

.inspection-progress-ring-label {
    line-height: 1;
    position: relative;
}

[data-bs-theme="dark"] .inspection-progress-ring {
    color: #ffffff;
}

.user-assignment-index-col {
    width: 48px;
}

.user-assignment-badge {
    margin: 0 0.25rem 0.25rem 0;
}

.user-assignment-tabs .nav-link {
    border: 0;
}

.user-assignment-toolbar {
    margin-bottom: 1.5rem;
}

.user-assignment-matrix-card {
    min-height: 100%;
}

.user-assignment-check-list {
    display: grid;
    gap: .5rem;
    max-height: 28rem;
    overflow-y: auto;
    padding-right: .25rem;
}

.user-assignment-check-row {
    align-items: center;
    border: 1px solid #eff2f7;
    border-radius: .75rem;
    cursor: pointer;
    display: flex;
    min-height: 3.75rem;
    padding: .75rem .875rem;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.user-assignment-check-row:hover {
    background-color: #f8f9fa;
    border-color: #dfe3ea;
}

.user-assignment-check-row .form-check-input {
    flex: 0 0 auto;
    margin: 0 .875rem 0 0;
}

.user-assignment-check-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-assignment-info-table {
    width: 100% !important;
}

.user-assignment-info-table-wrap {
    overflow-x: visible;
}

.user-assignment-info-table td,
.user-assignment-info-table th {
    white-space: normal;
}

#user-assignment-info-table_wrapper {
    overflow-x: visible;
}

#user-assignment-info-table_wrapper .dataTables_info {
    padding-top: 0;
}

#user-assignment-info-table_wrapper .dataTables_paginate {
    display: flex;
    justify-content: flex-end;
}

#user-assignment-info-table_wrapper .dataTables_paginate .pagination {
    justify-content: flex-end;
    margin: 0;
}

#user-assignment-info-table_wrapper .dataTables_paginate .page-link {
    align-items: center;
    background-color: #fff;
    border: 1px solid #eff2f7;
    border-radius: 0 !important;
    color: #74788d;
    display: flex;
    justify-content: center;
    min-height: 2.375rem;
    min-width: 2.375rem;
    padding: .47rem .75rem;
}

#user-assignment-info-table_wrapper .dataTables_paginate .page-item:first-child .page-link {
    border-bottom-left-radius: .25rem !important;
    border-top-left-radius: .25rem !important;
}

#user-assignment-info-table_wrapper .dataTables_paginate .page-item:last-child .page-link {
    border-bottom-right-radius: .25rem !important;
    border-top-right-radius: .25rem !important;
}

#user-assignment-info-table_wrapper .dataTables_paginate .page-item.active .page-link {
    background-color: #556ee6;
    border-color: #556ee6;
    color: #fff;
}

.inspection-progress-ring > *,
.inspection-progress-ring {
    isolation: isolate;
}

.inspection-progress-ring {
    text-shadow: 0 0 0 #343a40;
}

.inspection-template-form-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
}

.inspection-template-index-col,
.inspection-template-drag-col {
    width: 60px;
}

.inspection-template-action-col {
    width: 120px;
}

.inspection-template-items-table-wrap {
    overflow-y: visible;
}

.inspection-template-item-field .invalid-tooltip {
    margin-top: .25rem;
    position: static;
    width: fit-content;
}

.inspection-template-detail-status {
    line-height: 1.45;
    padding: .45rem .65rem;
}

.inspection-template-drag-handle {
    align-items: center;
    color: #74788d;
    cursor: grab;
    display: inline-flex;
    font-size: 1.25rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.inspection-template-drag-handle:active {
    cursor: grabbing;
}

.inspection-template-row-dragging {
    opacity: .55;
}

.inspection-template-drop-before > td {
    background-color: rgba(85, 110, 230, .06);
    border-top: 3px solid #556ee6 !important;
}

.inspection-template-drop-after > td {
    background-color: rgba(85, 110, 230, .06);
    border-bottom: 3px solid #556ee6 !important;
}

.swal-unsaved-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.swal-unsaved-cancel {
    order: 3 !important;
}

.swal-unsaved-save {
    order: 1 !important;
}

.swal-unsaved-discard {
    order: 2 !important;
}

.settings-hero {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .16), rgba(var(--bs-info-rgb), .08));
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
}

.settings-tool-icon {
    align-items: center;
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.settings-tool-card {
    transition: transform .18s ease, box-shadow .18s ease;
}

.settings-tool-card:hover {
    box-shadow: 0 1rem 2.25rem rgba(18, 38, 63, .12);
}

.settings-audit-table td,
.settings-audit-table th {
    vertical-align: middle;
}

.settings-audit-trigger-name {
    font-family: var(--bs-font-monospace);
    font-size: .78rem;
}

.settings-audit-sync-badge {
    white-space: nowrap;
}

.store-management-toolbar {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    justify-content: space-between;
}

.store-management-filters {
    display: grid;
    flex: 1 1 720px;
    gap: .75rem;
    grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(180px, 1fr));
}

.store-management-search,
.store-management-filter {
    margin-bottom: .5rem;
}

.store-management-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.store-management-index-col {
    width: 60px;
}

.store-management-action-col {
    width: 120px;
}

.store-management-table-wrap {
    overflow: visible !important;
}

#store-management-table_wrapper,
#store-management-table,
#store-management-table tbody,
#store-management-table tr,
#store-management-table td {
    overflow: visible !important;
}

.store-actions-menu {
    min-width: 10rem;
    z-index: 1080;
}

.product-management-toolbar {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    justify-content: space-between;
}

.product-management-filters {
    display: grid;
    flex: 1 1 560px;
    gap: .75rem;
    grid-template-columns: minmax(240px, 1.35fr) minmax(180px, 1fr);
}

.product-management-search,
.product-management-filter {
    margin-bottom: .5rem;
}

.product-management-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

@media (max-width: 1199.98px) {
    .store-management-filters {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .page-scroll-shortcuts {
        bottom: 4.5rem;
        right: .65rem;
    }

    .page-scroll-shortcuts-low,
    .showcase-page-scroll-shortcuts {
        bottom: 1rem;
    }

    .page-scroll-shortcut {
        border-radius: .45rem;
        font-size: 1.05rem;
        height: 2rem;
        width: 2rem;
    }

    .store-management-filters {
        flex-basis: 100%;
        grid-template-columns: 1fr;
    }

    .store-management-actions {
        justify-content: flex-start;
    }

    .product-management-filters {
        flex-basis: 100%;
        grid-template-columns: 1fr;
    }

    .product-management-actions {
        justify-content: flex-start;
    }
}

.audit-timeline-event {
    border: 1px solid #eff2f7;
    border-radius: 6px;
    padding: 14px 16px;
    background-color: #fff;
}

.audit-change-summary {
    display: grid;
    gap: 8px;
}

.audit-change-row {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #eff2f7;
}

.audit-change-row:first-child {
    border-top: 0;
}

.audit-change-field {
    font-weight: 600;
    color: #343a40;
}

.audit-change-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #495057;
}

.audit-change-values span {
    word-break: break-word;
}

.audit-timeline-table code {
    color: inherit;
    white-space: normal;
    word-break: break-word;
}

.audit-event-ref-link {
    font-family: var(--bs-font-monospace);
    font-size: .78rem;
    text-decoration: none;
}

.audit-event-ref-link:hover,
.audit-event-ref-link:focus {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .audit-change-row {
        grid-template-columns: 1fr;
    }
}
