@import url("css/bootstrap-5.1.3-dist/css/bootstrap.css");
@import url("css/bootstrap-5.1.3-dist/css/bootstrap-grid.css");
@import url("css/styles/logInPage.css");
@import url("css/style.css?v=20261012-14");
@import url("css/styles/actions.css");

@import url("css/pageParts/basic-settings.css");
@import url("css/pageParts/buttons.css");
@import url("css/pageParts/nav.css");
@import url("css/pageParts/pageContent.css?v=20261013-18");
@import url("css/pageParts/billingAppModal.css");
@import url("css/pageParts/table.css");
@import url("css/pageParts/topBar.css");
@import url("css/pageParts/newDesign.css?v=20261022-5");
@import url("css/pageParts/imageUploadGrid.css");


@import url("css/costum.css?v=20261013-21");

@import url("css/fonts/fontawesome-free-6.5.1/css/fontawesome.css");
@import url("css/fonts/fontawesome-free-6.5.1/css/brands.css");
@import url("css/fonts/fontawesome-free-6.5.1/css/solid.css");
@import url("css/fonts/fontawesome-free-6.5.1/css/all.css");

@import url("css/styles/blackTheme.css?v=20261020-3");
@import url("css/styles/blackThemeHighlights.css");
@import url("css/styles/darkTheme.css?v=20261020-3");
@import url("css/styles/darkThemeHighlights.css");
@import url("css/styles/lightTheme.css?v=20261020-3");
@import url("css/styles/lightThemeHighlights.css");
@import url("css/styles/lightThemeDarkSidebar.css");
@import url("css/styles/appColours.css?v=20261020-1");

@import url("css/fonts/style.css");

/* Material Icons Override - Ensure proper font-family */
.material-icons,
.material-icons-outlined,
.material-icons-round,
.material-icons-sharp,
.material-icons-two-tone {
    font-family: 'Material Icons', 'Material Icons Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* ── Image Slider ─────────────────────────────────────────────────────────── */
.card-layout-slider {
    display: block !important;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.card-layout-slider>.spm-card {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-layout-slider>.spm-card.active {
    position: relative;
    height: 100% !important;
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

/* slideRight transition */
.card-layout-slider>.spm-card.transition-slideRight {
    animation: sliderSlideRight 0.6s ease forwards;
}

/* Gallery slider: slide element-list groups instead of spm-cards */
.card-layout-slider[data-slider-slide-unit="element-list"]>.spm-card {
    position: relative;
    opacity: 1;
    transform: none;
}

.card-layout-slider[data-slider-slide-unit="element-list"] [data-elements-layout="true"] {
    position: relative;
}

.card-layout-slider[data-slider-slide-unit="element-list"] .element-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-layout-slider[data-slider-slide-unit="element-list"] .element-list.active {
    position: relative;
    height: 100% !important;
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.card-layout-slider[data-slider-slide-unit="element-list"] .element-list.transition-slideRight {
    animation: sliderSlideRight 0.6s ease forwards;
}

/* Card-level slider: elementLayouts slide inside spm-card.card-slider */
.spm-card.card-slider {
    position: relative;
    overflow: hidden;
}

.spm-card.card-slider>[data-elements-layout="true"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.spm-card.card-slider>[data-elements-layout="true"].active {
    position: relative;
    height: 100% !important;
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.spm-card.card-slider>[data-elements-layout="true"].transition-slideRight {
    animation: sliderSlideRight 0.6s ease forwards;
}

@keyframes sliderSlideRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* Dots */
.image-dots-container {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s;
}

.image-dot.active {
    background: #fff;
}

/* Slider arrow buttons (injected by imageSlider.js) */
.card-layout-slider .slider-prev,
.card-layout-slider .slider-next,
.spm-card.card-slider .slider-prev,
.spm-card.card-slider .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    user-select: none;
    -webkit-user-select: none;
}

.card-layout-slider .slider-prev:hover,
.card-layout-slider .slider-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.card-layout-slider .slider-prev {
    left: 10px;
}

.card-layout-slider .slider-next {
    right: 10px;
}

.spm-card.card-slider .slider-prev {
    left: 10px;
}

.spm-card.card-slider .slider-next {
    right: 10px;
}

.spm-card.card-slider .slider-prev:hover,
.spm-card.card-slider .slider-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* ─────────────────────────────────────────────────────────────────────────── */

/* ── Thumbnail host wrapper — left / right only (flex sibling of slider) ──── */
.slider-thumbs-host {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.slider-thumbs-host>.card-layout-slider {
    flex: 1;
    min-width: 0;
    min-height: 0;
}

/* Thumbnail strip shared base */
.slider-thumbnails {
    display: flex;
    gap: 6px;
    padding: 8px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Left / right: vertical column inside the host wrapper */
.slider-thumbs-host.thumbs-left .slider-thumbnails,
.slider-thumbs-host.thumbs-right .slider-thumbnails {
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.08);
}

/* Top / bottom: horizontal strip in the host wrapper (flex column) */
.slider-thumbs-host.thumbs-top,
.slider-thumbs-host.thumbs-bottom {
    flex-direction: column;
}

.slider-thumbs-host.thumbs-top .slider-thumbnails,
.slider-thumbs-host.thumbs-bottom .slider-thumbnails {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    background: rgba(0, 0, 0, 0.08);
}

.slider-thumb {
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.slider-thumb:hover {}

.slider-thumb.active {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px #6366f1, 0 2px 8px rgba(99, 102, 241, 0.45);
}

.light table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) thead th:first-child,
.dark table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) thead th:first-child,
.black table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) thead th:first-child,
.light table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) tbody td:first-child,
.dark table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) tbody td:first-child,
.black table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) tbody td:first-child,
.light table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) tfoot th:first-child,
.dark table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) tfoot th:first-child,
.black table.custom-data-table.sticky-edge-columns:not(.sticky-second-column) tfoot th:first-child,
.light table.custom-data-table.sticky-second-column thead th:nth-child(2),
.dark table.custom-data-table.sticky-second-column thead th:nth-child(2),
.black table.custom-data-table.sticky-second-column thead th:nth-child(2),
.light table.custom-data-table.sticky-second-column tbody tr td:nth-child(2),
.dark table.custom-data-table.sticky-second-column tbody tr td:nth-child(2),
.black table.custom-data-table.sticky-second-column tbody tr td:nth-child(2),
.light table.custom-data-table.sticky-second-column tfoot th:nth-child(2),
.dark table.custom-data-table.sticky-second-column tfoot th:nth-child(2),
.black table.custom-data-table.sticky-second-column tfoot th:nth-child(2) {
    box-shadow: 8px 0 8px -8px rgba(0, 0, 0, 0.55) !important;
}

.light table.custom-data-table.sticky-second-column thead th:first-child,
.dark table.custom-data-table.sticky-second-column thead th:first-child,
.black table.custom-data-table.sticky-second-column thead th:first-child,
.light table.custom-data-table.sticky-second-column tbody tr td:first-child,
.dark table.custom-data-table.sticky-second-column tbody tr td:first-child,
.black table.custom-data-table.sticky-second-column tbody tr td:first-child,
.light table.custom-data-table.sticky-second-column tfoot th:first-child,
.dark table.custom-data-table.sticky-second-column tfoot th:first-child,
.black table.custom-data-table.sticky-second-column tfoot th:first-child {
    box-shadow: none !important;
}

.light table.custom-data-table.sticky-edge-columns thead th:last-child,
.dark table.custom-data-table.sticky-edge-columns thead th:last-child,
.black table.custom-data-table.sticky-edge-columns thead th:last-child,
.light table.custom-data-table.sticky-edge-columns tbody td:last-child,
.dark table.custom-data-table.sticky-edge-columns tbody td:last-child,
.black table.custom-data-table.sticky-edge-columns tbody td:last-child,
.light table.custom-data-table.sticky-edge-columns tfoot th:last-child,
.dark table.custom-data-table.sticky-edge-columns tfoot th:last-child,
.black table.custom-data-table.sticky-edge-columns tfoot th:last-child,
.light table.custom-data-table.sticky-edge-columns.sticky-last-data-column tbody tr:nth-child(n) td:last-child,
.dark table.custom-data-table.sticky-edge-columns.sticky-last-data-column tbody tr:nth-child(n) td:last-child,
.black table.custom-data-table.sticky-edge-columns.sticky-last-data-column tbody tr:nth-child(n) td:last-child {
    box-shadow: -8px 0 8px -8px rgba(0, 0, 0, 0.55) !important;
}

[id^="columnsButton_"] .card-action-btn:hover,
[id^="columnsButton_"] .appbuttonhover:hover,
[id^="columnsButton_"] .appbuttonhover:active {
    transform: none !important;
}

.black .ams [id^="columnsButton_"] .appbuttonhover:hover,
.light .ams [id^="columnsButton_"] .appbuttonhover:hover {
    background: linear-gradient(135deg, #CE5E29 0%, #D4723D 100%) !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(206, 94, 41, 0.3) !important;
}

.black .ims [id^="columnsButton_"] .appbuttonhover:hover,
.light .ims [id^="columnsButton_"] .appbuttonhover:hover,
.dark .ims [id^="columnsButton_"] .appbuttonhover:hover,
.black .ims [id^="columnsButton_"] .card-action-btn:hover,
.light .ims [id^="columnsButton_"] .card-action-btn:hover,
.dark .ims [id^="columnsButton_"] .card-action-btn:hover {
    background: linear-gradient(135deg, #5f9440, #457534) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(95, 148, 64, 0.35) !important;
    border-color: transparent !important;
    filter: none !important;
}

.ims [id^="columnsButton_"] .card-action-btn:hover .material-icons-outlined,
.ims [id^="columnsButton_"] .appbuttonhover:hover .material-icons-outlined {
    color: #fff !important;
}

td.actions button.table-action-buttons.table-action-buttons-normal,
td.actions button.table-action-buttons.table-action-buttons-normal:hover,
td.actions button.table-action-buttons.table-action-buttons-normal:focus,
td.actions button.table-action-buttons.table-action-buttons-normal:is(.table-action-button-edit, .table-action-button-view, .table-action-button-delete),
td.actions button.table-action-buttons.table-action-buttons-normal:is(.table-action-button-edit, .table-action-button-view, .table-action-button-delete):is(:hover, :focus) {
    background: none !important;
    border: none !important;
}

td.actions button.table-action-buttons.table-action-buttons-normal:not(:last-child),
td.actions button.table-action-buttons.table-action-buttons-normal:not(:last-child):hover,
td.actions button.table-action-buttons.table-action-buttons-normal:not(:last-child):focus,
td.actions button.table-action-buttons.table-action-buttons-normal:is(.table-action-button-edit, .table-action-button-view, .table-action-button-delete):not(:last-child),
td.actions button.table-action-buttons.table-action-buttons-normal:is(.table-action-button-edit, .table-action-button-view, .table-action-button-delete):not(:last-child):is(:hover, :focus) {
    border-right: 1px solid rgba(222, 228, 236, .1) !important;
}

.light td.actions button.table-action-buttons.table-action-buttons-normal:not(:last-child),
.light td.actions button.table-action-buttons.table-action-buttons-normal:not(:last-child):hover,
.light td.actions button.table-action-buttons.table-action-buttons-normal:not(:last-child):focus,
.light td.actions button.table-action-buttons.table-action-buttons-normal:is(.table-action-button-edit, .table-action-button-view, .table-action-button-delete):not(:last-child),
.light td.actions button.table-action-buttons.table-action-buttons-normal:is(.table-action-button-edit, .table-action-button-view, .table-action-button-delete):not(:last-child):is(:hover, :focus) {
    border-right: 1px solid var(--light-main-border-color) !important;
}

table.custom-data-table tbody td > div.d-flex.justify-content-center > * {
    border-left: none !important;
    border-right: none !important;
}

table.custom-data-table tbody td > div.d-flex.justify-content-center > :not(:last-child) {
    border-right: 1px solid rgba(222, 228, 236, .1) !important;
}

.light table.custom-data-table tbody td > div.d-flex.justify-content-center > :not(:last-child) {
    border-right: 1px solid var(--light-main-border-color) !important;
}

.dark table.custom-data-table tbody tr,
.black table.custom-data-table tbody tr,
.light table.custom-data-table tbody tr,
table.custom-data-table tbody tr {
    border-bottom: none !important;
}

.dark table.custom-data-table tbody tr td,
.black table.custom-data-table tbody tr td,
table.custom-data-table tbody tr td {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

.light table.custom-data-table tbody tr td {
    border-right: 1px solid var(--light-main-border-color) !important;
    border-bottom: 1px solid var(--light-main-border-color) !important;
    box-shadow: none !important;
}

.header .top-menu-action-items .margin-left-10 {
    margin-left: 0;
}

:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(odd):hover,
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(odd):hover td:not([hidden]),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns.sticky-second-column tbody tr.table-line-background:nth-child(odd):hover td:not([hidden]),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(odd):hover td:first-child,
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-second-column tbody tr.table-line-background:nth-child(odd):hover td:nth-child(2),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(odd):hover td:last-child.actions {
    background: color-mix(in srgb, var(--app-accent-color) 16%, var(--dark-page-bg-color)) !important;
}

:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(even):hover,
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(even):hover td:not([hidden]),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns.sticky-second-column tbody tr.table-line-background:nth-child(even):hover td:not([hidden]),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(even):hover td:first-child,
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-second-column tbody tr.table-line-background:nth-child(even):hover td:nth-child(2),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(even):hover td:last-child.actions {
    background: color-mix(in srgb, var(--app-accent-color) 16%, var(--dark-main-bg-color)) !important;
}

.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(odd):hover,
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(odd):hover td:not([hidden]),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns.sticky-second-column tbody tr.table-line-background:nth-child(odd):hover td:not([hidden]),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(odd):hover td:first-child,
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-second-column tbody tr.table-line-background:nth-child(odd):hover td:nth-child(2),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(odd):hover td:last-child.actions {
    background: color-mix(in srgb, var(--app-accent-color) 16%, var(--light-main-bg-color)) !important;
}

.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(even):hover,
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr.table-line-background:nth-child(even):hover td:not([hidden]),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns.sticky-second-column tbody tr.table-line-background:nth-child(even):hover td:not([hidden]),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(even):hover td:first-child,
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-second-column tbody tr.table-line-background:nth-child(even):hover td:nth-child(2),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table.sticky-edge-columns tbody tr.table-line-background:nth-child(even):hover td:last-child.actions {
    background: color-mix(in srgb, var(--app-accent-color) 16%, var(--light-muted-bg-color)) !important;
}

:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(odd):hover:not(.table-line-background),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(odd):hover:not(.table-line-background) td {
    background: color-mix(in srgb, var(--app-accent-color) 10%, var(--dark-page-bg-color)) !important;
}

:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(even):hover:not(.table-line-background),
:is(.dark, .black) :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(even):hover:not(.table-line-background) td {
    background: color-mix(in srgb, var(--app-accent-color) 10%, var(--dark-main-bg-color)) !important;
}

.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(odd):hover:not(.table-line-background),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(odd):hover:not(.table-line-background) td {
    background: color-mix(in srgb, var(--app-accent-color) 10%, var(--light-main-bg-color)) !important;
}

.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(even):hover:not(.table-line-background),
.light :is(.spm, .form, .ams, .tms, .ai, .cab, .wcs, .call, .ims) table.custom-data-table tbody tr:nth-child(even):hover:not(.table-line-background) td {
    background: color-mix(in srgb, var(--app-accent-color) 10%, var(--light-muted-bg-color)) !important;
}

/* Highlighted sidebar item keeps the normal title and subtitle colour. */
.dark :is(.ams, .ims, .tms, .spm) .menu-item.active .menu-text,
.dark :is(.ams, .ims, .tms, .spm) .menu-item.active:hover .menu-text {
    color: var(--dark-body-text-color) !important;
}

.light :is(.ams, .ims, .tms, .spm) .menu-item.active .menu-text,
.light :is(.ams, .ims, .tms, .spm) .menu-item.active:hover .menu-text {
    color: var(--light-body-text-color) !important;
}

.black :is(.ams, .ims, .tms, .spm) .menu-item.active .menu-text,
.black :is(.ams, .ims, .tms, .spm) .menu-item.active:hover .menu-text {
    color: var(--black-body-text-color) !important;
}

/* ─────────────────────────────────────────────────────────────────────────── */