/*IMPORTS*/
/* ----- */
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&display=swap");
/* ----- */

/*GLOBAL*/
/* ----- */
html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: auto;
    overflow-x: hidden;
    min-height: 100vh;
    zoom: 100%;
    position: relative;
}

    body:has(.wms-authentication-wrapper) {
        background-image: url(../images/SuzukiWarehouse.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.97;
    }

    body:has(.ds-page-wrapper) {
        background-color: #d6e0e0;
        background-image: url(../images/Dune_16-9Ratio_6.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        /*opacity: 0.70;*/
    }

td {
    padding: 5px;
}

a,
.btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.k.grid, .k-table, .k.grid th {
    z-index: 30;
}

.wms-button-start {
    margin-right: auto;
}

.wms-text-italic {
    font-style: italic;
}

:root {
    --FontSmall: 12px;
    --FontMedium: 14px;
    --FontLarge: 16px;
    --ColorLight: #fff;
    --ColorPhaseLight: whitesmoke;
    --ColorDark: #000;
    --ColorPhaseDark: #333;
    /*Live*/
    --ColorBlue: #0059A9;
    /*Test*/
    /*--ColorBlue: limegreen;*/
    --ColorBlueOpacity: rgba(0,51,153,0.7);
    --ColorBlueGradient: linear-gradient(45deg, var(--ColorBlue), #e8e8e8);
    --ColorGrey: #ccc;
    --ColorGreyLight: #fafafa;
    --ColorSuzukiRed: #E20A17;
    --ColorRedOpacity: rgba(226, 10, 23, 0.9);
    --ShadowRegular: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    --PaddingMedium: 10px;
    --PaddingLarge: 15px;
    --BorderLight: rgba(0, 0, 0, 0.12);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;
}
/* ----- */

/*HEADER*/
/* ----- */
.wms-header-frame {
    display: flex;
    text-align: left;
    background-color: var(--ColorBlue);
    width: 100%;
}

    .wms-header-frame img {
        flex-wrap: wrap;
        width: 100px;
        height: 100px;
        background-color: var(--ColorLight);
    }

        .wms-header-frame img:hover {
            cursor: pointer;
        }

.wms-header-menu-frame {
    display: flex;
    max-width: 145px;
}

.wms-header-menu-qr {
    width: 100px;
    height: 100px;
    background-color: var(--ColorLight);
}

.wms-header-frame-div-selected {
    text-decoration: none;
    color: var(--ColorLight);
    background-color: var(--ColorSuzukiRed);
}

    .wms-header-menu-frame a, .wms-header-frame-div-selected a {
        height: 100px;
        width: 190px;
        line-height: 100px;
        color: var(--ColorLight);
        text-align: center;
        margin-left: 0px;
    }

.wms-header-frame a:hover {
    text-decoration: none;
    cursor: pointer;
    background-color: var(--ColorRedOpacity);
}

.wms-header-frame a:active {
    cursor: pointer;
    box-shadow: inset 0px 0px 10px 2px maroon;
}

.wms-header-frame-submenu-frame {
    float: right;
    position: relative;
    box-shadow: var(--ShadowRegular);
    box-shadow: inset 0px 0px 10px 2px #c0c0c0;
    z-index: 11;
}

    .wms-header-frame-submenu-frame div {
        width: 100%;
        float: right;
        display: flex;
        box-shadow: inset 0px 0px 10px 2px #c0c0c0;
        color: var(--ColorLight);
    }

    .wms-header-frame-submenu-frame a {
        margin-top: 0px;
        height: 40px;
        width: 200px;
        line-height: 40px;
        color: var(--ColorLight);
        text-align: center;
    }

.wms-header-frame-submenu-div-selected {
    text-decoration: underline;
}

.k-drawer-wrapper {
    color: var(--ColorDark);
    /*color: limegreen;*/
}
/* ----- */
/*BODY*/
/* ----- */

.k-list-content .k-list-ul .k-list-item {
    height: auto !important;
}

.k-tabstrip-items-wrapper {
    color: white;
    background: var(--ColorBlue);
}

    .k-tabstrip-items-wrapper .k-item.k-active::after {
        border-color: var(--ColorSuzukiRed);
        background: rgba(0, 0, 10, 0.05);
        z-index: 0;
    }

.k-tabstrip-items .k-link {
    color: white;
    width: 250px;
}

.k-tabstrip-items .k-item.k-active {
    background-color: var(--ColorSuzukiRed);
}

    .k-tabstrip-items .k-item.k-active:hover {
        background-color: var(--ColorRedOpacity);
    }

.k-tabstrip-items .k-item:active {
    cursor: pointer;
    box-shadow: inset 0px 0px 10px 2px maroon;
}

.k-tabstrip-items-wrapper .k-item:hover, .k-tabstrip-items-wrapper .k-item.k-hover {
    background-color: var(--ColorRedOpacity);
}

.wms-page-header-inline {
    display: flex;
}

    .wms-page-header-inline td:nth-child(2), td:nth-child(4) {
        width: 300px;
    }

.wms-page-padding {
    padding: var(--PaddingLarge)
}

.wms-header-box {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: auto;
    background-image: linear-gradient(45deg, var(--ColorBlue), #ccc);
    color: white;
    padding: 15px;
    border-radius: 5px 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.wms-checkbox {
    height: 47px;
}

.wms-checkbox-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wms-checkbox-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

.wms-td-width {
    width: 120px;
}

.wms-body-dark {
    background-color: var(--ColorDark);
}

    .wms-body-dark .k-drawer {
        background-color: var(--ColorDark);
    }

    .wms-body-dark .wms-page-title {
        color: var(--ColorPhaseLight);
    }

    .wms-body-dark .wms-page-descr {
        color: var(--ColorPhaseLight);
    }

    .wms-body-dark .wms-mobile {
        color: var(--ColorPhaseLight);
    }

    .wms-body-dark .k-drawer {
        color: #333;
    }

    .wms-body-dark .k-progress-status {
        color: var(--ColorDark);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .wms-body-dark hr {
        background: #495057;
    }

    .wms-body-dark .wms-page-title-frame {
        border-color: var(--ColorPhaseLight);
    }

    .wms-body-dark k-input-solid {
        border-color: white;
        border-top: 1px solid var(--ColorPhaseLight);
        border: 1px solid var(--ColorPhaseLight);
    }

    .wms-body-dark .wms-page-grid .k-grid-pager {
        background-color: var(--ColorDark);
        color: var(--ColorWhite);
        border-top: 1px solid lightgrey;
        padding: var(--PaddingMedium);
    }

    .wms-body-dark .wms-page-grid .k-table-th {
        background-color: var(--ColorDark);
        color: var(--ColorWhite);
        padding: var(--PaddingMedium);
    }

    .wms-body-dark .wms-page-border {
        color: white;
        border: 1px solid #606060;
    }

    .wms-body-dark .wms-box-shadow {
        border: 1px solid #606060;
    }

    .wms-body-dark .k-input-inner {
        background: var(--ColorPhaseLight);
        color: var(--ColorDark);
    }

body:has(.wms-body-dark) .wms-comp-table .k-input-inner {
    background: var(--ColorPhaseLight);
    color: var(--ColorDark);
}

body:has(.wms-body-dark) hr {
    background: #495057;
}

.wms-body-dark .wms-container-wrapper .k-switch-track {
    background-color: var(--ColorLight);
}

.wms-body-dark .k-tabstrip-items-wrapper .k-item.k-active::after {
    border-color: var(--ColorPhaseLight);
}

.wms-body-dark .k-tabstrip-items-wrapper .k-item.k-active::after {
    background-color: var(--ColorSuzukiRed);
}

.wms-body-dark .k-tabstrip-items .k-item.k-active:hover {
    background-color: var(--ColorRedOpacity);
}

.wms-body-dark .k-tabstrip-items-wrapper .k-item:hover, .k-tabstrip-items-wrapper .k-item.k-hover {
    background-color: var(--ColorRedOpacity);
}

.wms-body-dark .k-tabstrip-items .k-link {
    color: var(--ColorLight);
}

.wms-body-dark .wms-box-shadow-header {
    border: 1px solid #606060;
}

.wms-body-dark .wms-page-grid .k-table-td {
    text-align: left;
    padding: 5px 12px;
}

.wms-body-dark .wms-page-grid .k-table-th {
    text-align: left;
    padding: 5px 10px;
}

html:has(.wms-body-dark) .k-drawer-content {
    background-color: var(--ColorDark) !important;
}

.wms-page-title {
    font-weight: bold;
    font-size: 1.2rem
}

.wms-page-title-frame {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ColorDark);
}

.wms-page-frame {
    position: relative;
    z-index: 20;
    margin-bottom: 60px;
}

    .wms-page-frame .wms-page-frame {
        margin-top: auto;
    }

.wms-page-descr {
    margin-bottom: 10px;
}

.wms-page-content {
    font-size: var(--FontSmall);
}

    .wms-page-content table {
        width: 100%;
    }

.wms-login-header {
    display: flex;
}

.wms-page-header {
    display: flex;
    padding: 15px;
    color: black;
    flex-direction: column;
}

    .wms-page-header table {
        width: 100%
    }

    .wms-page-header td:nth-child(1) {
        width: 150px;
        text-align: center;
    }

    .wms-page-header td:nth-child(2) {
        width: 300px;
        margin-left: 20px;
    }

    .wms-page-header td:nth-child(3) {
        width: 200px;
        text-align: center;
    }

.wms-page-button-flex {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.wms-page-security-failure {
    padding: 50px;
    background-color: var(--ColorBlue);
    color: red;
    font-size: 24px;
    border-radius: 5px;
    box-shadow: var(--ShadowRegular);
}

.wms-edit-form-wrapper {
    padding: var(--PaddingMedium);
}

.wms-page-padding {
    padding: var(--PaddingMedium);
}

.wms-secure-container-edit-mode {
    border: 1px solid red;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(50, 0, 0, 0.19);
    position: relative;
}

.wms-secure-container-not-configured {
    padding: 5px;
    color: red;
    border-radius: 5px;
    background-color: var(--ColorBlue);
    font-size: var(--FontSmall);
    box-shadow: var(--ShadowRegular);
}

.wms-comp-content {
    flex-wrap: wrap;
    margin-left: 150px;
    width: 100%;
    border-left: solid 1px gray;
    background-color: var(--ColorLight);
    z-index: 10;
}

.wms-comp-content-full {
    flex-wrap: wrap;
    width: 100%;
}

.wms-dashboard-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: var(--ShadowRegular);
    min-width: 250px;
    min-height: 100px;
    flex-direction: column;
}

.wms-dashboard-title {
    font-size: large;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
}

.wms-dashboard-title-item {
    font-size: large;
    font-weight: bold;
    flex-wrap: wrap;
    vertical-align: middle;
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
}

.wms-dashboard-primaryvalue {
    font-size: x-large;
    text-align: center;
    vertical-align: middle;
    margin: auto;
}

.wms-admin-tabstrip {
    margin-bottom: 70px;
}

    .wms-admin-tabstrip .wms-page-grid {
        margin-bottom: 0px;
    }

    .wms-admin-tabstrip .k-tabstrip-items .k-link {
        justify-content: flex-start;
        width: 200px;
        padding: 20px 10px;
    }

    .wms-admin-tabstrip .k-tabstrip-items-wrapper {
        height: 100%;
    }

#wms-stocktakedetail-grids {
    display: inline;
}

.wms-page-buttons {
    display: flex;
    margin-left: 0;
    font-size: var(--FontSmall);
    justify-content: flex-end;
}

    .wms-page-buttons .wms-mobile-buttons {
        display: flex;
        gap: 5px;
    }


#wms-qr-card {
    float: left;
}

    #wms-qr-card tr:nth-child(4) {
        padding-top: 10px;
    }

        #wms-qr-card tr:nth-child(4) img {
            float: left;
        }

#wms-qr-card-heading {
    vertical-align: bottom;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 400;
}

#wms-stocktake-edit-table {
    width: 200%;
}

.wms-div-align-right {
    margin-left: auto;
}

#wms-qr-card-button {
    margin-left: auto;
    padding: 10px;
    vertical-align: top;
    font-size: var(--FontMedium);
}

.wms-text-area-size {
    height: 300px;
}

.wms-table-flex {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 150px;
    width: 100%;
}

.wms-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 25%;
    align-items: start;
    width: 100%;
    padding-right: 30px;
}

.wms-filter-grid > div table {
    width: 100%;
}

.k-button-solid-primary {
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12) !important;
    color: white;
    background-color: var(--ColorBlue);
    border-color: var(--ColorBlue);
}

.wms-loader-text {
    font-style: italic;
    font-weight: bold;
    font-size: 14px;
    vertical-align: middle;
}
/* ----- */

/*GROUP SECTION*/
/* ----- */
.wms-groupsection-content {
    padding: var(--PaddingLarge);
    margin-right: 15px;
    table-layout: fixed;
}

.wms-groupsection-wrapper {
    /* background: var(--ColorBlueGradient); */
    background: var(--ColorBlue);
    color: var(--ColorLight);
    text-align: center;
    padding: var(--PaddingLarge);
    font-weight: bold;
    display: flex;
    font-size: var(--FontMedium);
}

.wms-groupsection-accent {
    width: 25px;
    background-color: #003145;
    color: var(--ColorLight);
    padding: 6px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-right: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.wms-groupsection-accent-sub .wms-groupsection-accent {
    width: 36px;
    background-color: #003145;
    color: var(--ColorLight);
    padding: 6px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-right: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.wms-groupsection-accent-focus {
    width: 20px;
    background-color: #003145;
    color: #003145;
    padding: 6px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 0px;
    margin-right: 10px;
    flex-wrap: wrap;
    color: var(--ColorLight);
    text-align: center;
    animation: mymove 1s infinite;
}

.wms-page-flex {
    display: flex;
    flex-direction: column;
}

.wms-page-inline {
    display: inline;
}

.wms-numeric-textbox {
}
/* ----- */

/*GRID*/
/* ----- */
.wms-page-grid .wms-grid-overflow-off td {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wms-grid-active tr:active {
    box-shadow: inset 0 0 10px #c0c0c0;
}

.wms-grid-detail {
    width: 100% !important;
}

.wms-center-text {
    text-align: center !important;
}

    .wms-center-text .k-cell-inner .k-link {
        display: flex;
        justify-content: center;
    }

.wms-grid-inline {
    margin-top: 60px;
}

.wms-grid-search-list {
    width: 60%;
}

.wms-grid-checkbox {
    display: flex;
    align-items: center;
    margin-top: 2px;
    margin-right: 0px;
    margin-left: 10px;
}

.wms-Grid-SelectAll {
    min-width: 40px;
    min-height: 40px;
}

.wms-button-nomargin {
    margin-right: 0px;
}

.wms-grid-text {
    background-color: red;
}

.wms-grid-wrapper {
    display: flex;
}

.wms-grid-variancetoggle {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #32cd32;
    color: white;
    font-weight: 300;
    margin-left: 20px;
    border-radius: 4px;
    padding: 0px;
}

    .wms-grid-variancetoggle .wms-grid-checkbox {
        display: flex;
        align-items: flex-end;
        margin-top: 17px;
    }

.wms-grid-checkbox-wrapper {
    padding: 7px;
    border-radius: 4px;
    box-shadow: none;
    display: flex;
    background-color: #32cd32;
    color: white;
    max-width: 55%;
    margin-top: 10px;
}

    .wms-grid-checkbox-wrapper .wms-grid-toolbar-header {
        padding: 0px;
        padding-left: 0px;
        font-size: 16px;
        font-weight: 450;
    }

.wms-box-shadow-header {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-color: rgba(0, 0, 0, 0.12);
    border: 1px;
}

.wms-box-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-color: rgba(0, 0, 0, 0.12);
    border: 1px;
}

    .wms-box-shadow .k-grid {
        border: none;
    }

.wms-page-grid .k-table-th {
    background-color: var(--ColorGreyLight);
    border-color: var(--ColorGreyLight);
    text-align: left;
    padding: 12px 12px;
}

.wms-page-grid .k-table-td {
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    padding: 5px 12px;
}

.wms-page-grid .k-grid-sm th {
    text-align: left;
    padding: 12px 12px;
}

.wms-page-grid .k-grid-sm td {
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    padding: 5px 12px;
    height: 38px;
}

.wms-page-grid .k-grid-pager {
    background-color: var(--ColorGreyLight);
    border-top: 1px solid lightgrey;
    padding: var(--PaddingMedium);
}

.wms-page-grid .k-grid-header {
    border-bottom: 1px solid lightgrey;
}

.wms-grid-toolbar-header {
    padding: 15px;
    padding-left: 5px;
    font-size: 16px;
    font-weight: bold;
}

.wms-page-grid .k-grid-toolbar {
    background: var(--ColorBlue);
    color: white;
    border-color: #e8e8e8;
    padding: 5px 10px;
}

.wms-grid-toolbar-icon {
    padding-left: 10px;
}

.wms-grid-toolbar-button-blue {
    background-color: #ebebeb;
    border-color: #ebebeb;
    color: black;
}

.k-tabstrip-content:focus {
    outline: none !important;
}

.wms-page-grid .k-grid-sm .k-hierarchy-cell {
    height: 0px;
    padding: 5px 8px;
}

.k-grid .k-hierarchy-cell .k-icon {
    display: flex;
}

.wms-grid-filter {
    display: flex;
    align-items: end;
    gap: 2px;
}

.wms-grid-filter-buttons {
    padding-right: 10px;
}

.wms-page-grid .k-grid-toolbar .k-toolbar-items {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

    .wms-page-grid .k-grid-toolbar .k-toolbar-items .wms-grid-toolbar-header {
        margin-right: auto;
    }

/* ----- */
/*FOOTER*/
/* ----- */
.page-main-footer-frame {
    height: 60px;
    background: var(--ColorBlue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

    .page-main-footer-frame div {
        float: left;
    }

.wms-footer-copyright {
    font-size: var(--FontMedium);
    color: var(--ColorLight);
}

.wms-footer-tag {
    font-size: var(--FontMedium);
    color: var(--ColorLight);
    position: absolute;
}

.wms-footer-user {
    color: white;
    font-size: 14px;
    position: absolute;
    right: 110px;
}
/* ----- */

/*LOGIN*/
/* ----- */
.wms-authentication-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: flex;
    width: 700px;
    padding: 60px;
    border-radius: 5px;
    border: 1px solid var(--ColorDark);
    box-shadow: var(--ShadowRegular);
    z-index: 10;
    background: white;
}

    .wms-authentication-wrapper table {
        color: black;
        width: 100%;
        padding: var(--PaddingMedium);
    }

        .wms-authentication-wrapper table td:nth-child(1) {
            width: 50%;
            padding: var(--PaddingMedium);
            text-align: right;
        }

        .wms-authentication-wrapper table td:nth-child(2) {
            width: 50%;
            padding: var(--PaddingMedium);
            text-align: left;
        }


.wms-authentication-header-accent {
    padding: var(--PaddingMedium);
    color: var(--ColorLight);
    text-decoration: none;
    background-color: var(--ColorBlue);
    border-radius: 5px;
}

.wms-authentication-header {
    padding: var(--PaddingMedium);
    color: var(--ColorLight);
    background-color: var(--ColorBlue);
    text-decoration: none;
    border-radius: 5px;
}

.wms-qr-login-mobile {
    margin-left: auto;
    padding: var(--PaddingMedium);
}

.wms-qr-buttons {
    position: absolute;
    bottom: 0px;
    width: 100%;
    margin-left: -24px;
    text-align: right;
    padding: 12px;
    background-color: var(--ColorBlueOpacity);
    margin-top: 8px;
    border-radius: 0px 0px 4px 4px;
}

    .wms-qr-buttons .k-button-md {
        color: var(--ColorDark);
        background: var(--ColorLight);
    }

.wms-input-password input,
.wms-input-password .k-input-inner {
    font-family: 'text-security-disc', 'Arial';
    -webkit-text-security: disc;
    text-security: disc;
}
/* ----- */

/*TELERIK WINDOW*/
/* ----- */
.k-window-titlebar {
    color: var(--ColorLight);
    background: var(--ColorBlueOpacity);
}

.k-window-button {
    color: var(--ColorDark);
}

.k-dialog .k-window-content, .k-prompt-container {
    padding: 25px !important;
    font-size: var(--FontMedium);
}

.wms-window-wrapper {
    border-radius: 6px;
}

.wms-window-buttons .k-window-actions {
    color: var(--ColorDark);
    background-color: var(--ColorDark);
}

.wms-window-title-accent {
    background-color: var(--ColorBlue);
    padding: 6px;
    border-radius: 5px;
}

.wms-window-animation {
    animation: fadeIn 0.3s;
}

.wms-page-animation {
    animation: pageSlide 500ms;
}

.wms-security-table td {
    display: table-cell;
    padding: var(--PaddingMedium);
    font-size: var(--FontMedium);
}

.wms-window-animation-qr {
    animation: fadeIn 0.3s;
}

    .wms-window-animation-qr .k-window-content {
        overflow: hidden;
    }

.wms-comp-table {
    display: flex;
    justify-content: center;
    padding: var(--PaddingLarge);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.wms-secure-container-switch .k-switch-on .k-switch-track {
    background-color: rgba(63, 81, 181, 0.54) !important;
}

.wms-user-details-qr {
    text-align: center;
}

.wms-button-confirm {
    width: 100px;
}
/* ----- */

/*WINDOW EDIT*/
/* ----- */
.wms-wrapper {
    border-radius: 6px;
}

.wms-button-window-edit {
    margin-bottom: 15px;
    margin-right: 1%;
    margin-top: -5px;
    padding: 20px;
    color: var(--ColorDark);
    float: right;
}

.wms-edit-form-wrapper {
    padding: var(--PaddingMedium);
}

    .wms-edit-form-wrapper table {
        width: 100%
    }

        .wms-edit-form-wrapper table td {
            padding: var(--PaddingLarge);
            text-align: left;
            border: 1px solid rgba(0, 0, 0, 0.05);
            padding: 7px;
        }

            .wms-edit-form-wrapper table td:nth-child(1) {
                width: 15%;
                text-align: left;
                padding-left: 15px;
            }

            .wms-edit-form-wrapper table td:nth-child(2) {
                width: 35%;
                font-weight: bold;
                text-align: left;
            }

                .wms-edit-form-wrapper table td:nth-child(2) .k-checkbox {
                    margin-left: 10px;
                }

            .wms-edit-form-wrapper table td:nth-child(3) {
                padding-left: 15px;
                width: 15%;
            }

            .wms-edit-form-wrapper table td:nth-child(4) {
                width: 35%;
            }

.wms-container-wrapper {
    background-color: var(--ColorBlue);
    color: var(--ColorLight);
    text-align: center;
    padding: var(--PaddingLarge);
    font-weight: bold;
    display: flex;
    font-size: var(--FontMedium);
}

.wms-container-title {
    display: flex;
    align-items: center;
    width: 100%;
}

.wms-container-title-switch {
    background-color: transparent;
    text-align: right;
    vertical-align: top;
    margin-left: auto;
}

.k-switch-on .k-switch-track {
    background-color: var(--ColorLight);
}

.wms-secure-container-switch .k-switch-on {
    background-color: black !important;
}

body:has(.wms-detail-edit) .wms-wrapper {
    position: fixed;
    left: 10% !important;
    top: 10% !important;
    right: 10% !important;
}

.wms-groupsection-content table td {
    padding: 5px;
    height: 45px;
    text-align: center;
    vertical-align: middle;
}

    .wms-groupsection-content table td:nth-child(2) {
        width: 40%;
    }

.wms-center-items {
    display: grid;
    width: 100%;
    place-content: center;
}

.wms-wrapper .k-window-content {
    padding: 0px;
}

.wms-edit-form-buttons {
    text-align: right;
    margin-right: 10px;
}
/* ----- */

/*NAV*/
/* ----- */
.wms-logo-small {
    width: 70px;
    height: 70px;
    margin-left: auto;
    right: 0px;
    background-color: var(--ColorLight);
    padding-right: 0px;
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
}

.wms-logo-medium {
    width: 100px;
    height: 100px;
    margin-left: auto;
    right: 0px;
    background-color: var(--ColorLight);
    padding-right: 0px;
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
}

.wms-qr-small {
    margin-left: auto;
    margin-right: -8px;
}

.wms-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background-color: var(--ColorBlue);
    color: var(--ColorLight);
    height: 70px;
    width: 100%;
    gap: 1px;
    padding-left: 5px;
}

.wms-mobile-nav-items {
    border-bottom: 1px solid var(--ColorGrey);
    border-right: 1px solid var(--ColorGrey);
}

    .wms-mobile-nav-items .k-icon {
        color: var(--ColorBlue);
    }

    .wms-mobile-nav-items:hover, .wms-mobile-nav-items:focus {
        box-shadow: inset 0 0 10px lightgrey;
    }

    .wms-mobile-nav-items:active {
        box-shadow: inset 0 0 10px #c0c0c0;
        color: darkgray;
    }

.wms-mobile-buttons {
    display: flex;
    flex-direction: row;
}

.wms-std .k-button {
    margin: 20px;
}
/* ----- */
/*TELERIK DRAWER*/
/* ----- */
.drawer-sm.k-drawer-expanded .k-drawer.telerik-blazor {
    width: 100%;
}

.drawer-sm.k-drawer-expanded .k-drawer-wrapper,
.drawer-sm.k-drawer-expanded .k-drawer-items {
    width: 100% !important;
}

.drawer-sm.k-drawer-expanded .k-drawer {
    max-width: 100vh;
}

.drawer-sm.k-drawer-expanded .k-overlay {
    display: none;
}

.k-drawer-container {
    position: absolute;
    width: 100%;
    min-height: 343px;
}

    .k-drawer-container .k-drawer-content {
        font-size: 16px;
        line-height: 20px;
    }

    .k-drawer-container.k-drawer-overlay .k-drawer {
        position: absolute;
    }

.k-drawer-content {
    padding: 25px;
    font-size: 18px;
    z-index: -1 !important;
}

    .k-drawer-content a {
        color: #3D57D8;
        text-decoration: inherit;
    }

        .k-drawer-content a:hover {
            text-decoration: underline;
        }

    .k-drawer-content h2 {
        font-weight: 300;
    }

.tk-logo,
.tk-logo svg {
    height: 19px;
    width: 18px;
}

.tk-logo {
    margin: 5px;
}

.tk-title {
    font-size: 22px;
    text-align: center;
    white-space: nowrap;
    margin-top: 7px;
    padding-right: 5px;
}

.separator {
    box-sizing: border-box;
    width: 1px;
    height: 20px;
    background: #E5E5E5;
    border-radius: 0px;
    display: none;
}

.k-drawer-item.k-level-1 {
    padding-inline-start: 60px;
}

.k-overlay {
    position: absolute;
}

.k-drawer-item li:hover {
    background-color: #f8f8f8;
}

.drawer-sm.k-drawer-expanded .k-drawer-wrapper, .drawer-sm.k-drawer-expanded .k-drawer-items {
    box-shadow: 4px 8px 6px -6px var(--ColorGrey);
    border-radius: 0px 0px 4px 4px;
}
/* ----- */

/*PROGRESS BAR*/
/* ----- */
.k-progressbar-horizontal {
    height: 35px !important;
}

.k-progress-status {
    margin-top: 23px;
    color: var(--ColorLight);
}

.wms-progress {
    margin-top: 10px;
}
/* ----- */

/*PAGE EFFECTS*/
/* ----- */
@keyframes pageSlide {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-1000px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes fadeOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@keyframes marquee-keywords {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

@-webkit-keyframes marquee-keywords {
    0% {
        -webkit-transform: translate(0, 0);
    }

    100% {
        -webkit-transform: translate(-100%, 0);
    }
}

.wms-fade-in {
    animation: fadeInRight 1000ms;
}

.wms-fade-out {
    animation: fadeOutLeft 1000ms;
}
/* ----- */

/*EXTRAS*/
/* ----- */

.reportLoader .wms-wrapper {
    display: flex;
}


.stocktaketask-filter-container td:nth-child(3) {
    width: 200px;
    text-align: center;
    padding-left: 15px;
}



    .stocktaketask-filter-container td:nth-child(3) button {
        width: 90%;
        margin: 0 auto;
    }


.stocktaketask-filter-container td:nth-child(4) {
    width: 150px;
    padding: 10px;
    padding-left: 60px;
}

.stocktaketask-filter-container td:nth-child(5) {
    width: 150px;
    padding: 10px;
    padding-left: 20px;
}

    .stocktaketask-filter-container td:nth-child(5) button {
        width: 90%;
        margin: 0 auto;
    }

.stocktaketask-filter-container td:nth-child(6), td:nth-child(7), td:nth-child(8) {
    width: 125px;
    padding: 0px;
}


.stocktaketask-filter-container .Grid-Toolbar-Checkbox {
    background-color: white;
    padding: 7px;
    border-radius: 2px;
    display: flex;
    box-shadow: 1px 2px 5px #e9e7e7;
    width: auto;
    margin: 2px;
    cursor: pointer;
}



.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 100;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* ----- */

.k-grid .k-grid-header .k-table-th {
    position: relative;
    vertical-align: bottom;
    cursor: default;
    text-wrap: wrap;
    overflow: hidden;
    vertical-align: top !important;
}


.k-column-title {
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
    text-wrap: wrap;
}

.Grid-Toolbar-Checkbox {
    background-color: white;
    padding: 6px;
    border-radius: 6px;
    display: flex;
}

    .Grid-Toolbar-Checkbox p {
        color: black;
        margin: 0px;
        padding: 1px;
        margin-left: 8px;
    }

/*MARQUEE*/
/* ----- */
.marquee {
    width: 100%;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: yellow;
}

.marquee-1, .marquee-2 {
    position: absolute;
    min-width: 100%;
    display: flex;
    flex-direction: row;
}

.marquee-1 {
    animation: marquee-keywords 600s linear infinite;
    left: 0%;
}

.marquee-2 {
    left: 100%;
}

.text {
    padding: 0 5rem;
    white-space: nowrap;
}

.marquee.style-1 {
    background: black;
    color: white;
}

div#StockDetailForm {
    border-bottom: none;
}
/* ----- */

/*TOOLTIPS*/
/* ----- */
/* Grid header tooltip */
.wms-grid-header-tooltip .k-tooltip {
}

    .wms-grid-header-tooltip .k-tooltip .k-callout {
    }

/* Grid button tooltip */

.wms-grid-button-tooltip {
    box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.08);
}

.wms-grid-button-tooltip .k-tooltip {
    opacity: 1;
    background: var(--ColorBlue);
    box-shadow: var(--ShadowRegular);
    padding: 6px 8px;
    color: var(--ColorLight);
    font-size: var(--FontSmall);
}

    .wms-grid-button-tooltip .k-tooltip .k-callout {
        color: var(--ColorBlue);
    }

/* Input tooltip */
.wms-input-tooltip .k-tooltip {
    opacity: 1;
    background: var(--ColorBlue);
    box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.08);
    padding: 6px 8px;
    color: var(--ColorLight);
    font-size: var(--FontSmall);
}

    .wms-input-tooltip .k-tooltip .k-callout {
        color: var(--ColorBlue);
    }
/* --Report information button--- */
/* scrolling area inside window */
/* Scroll area inside the Telerik Window */
/* Ensure nothing can force horizontal overflow */
/* --- make sure Telerik content cannot scroll horizontally --- */
/* Report Info (Window content) */
.report-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f6f7f9;
}

/* Top header inside window content */
.report-info__header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.report-info__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: "Segoe UI", Arial, sans-serif;
    background: rgba(25, 118, 210, 0.12);
    color: #1976d2;
    flex: 0 0 auto;
}

.report-info__titlewrap {
    min-width: 0;
}

.report-info__title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2933;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-info__subtitle {
    font-size: 12.5px;
    color: rgba(31,41,51,0.72);
    margin-top: 2px;
}

/* Scrollable body (no horizontal scroll ever) */
.report-info__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px;
}

/* Centered "paper" */
.report-info__paper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 18px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* Text: preserve line breaks, wrap long tokens, and look like documentation */
.report-info__text {
    white-space: pre-line; /* preserves \n, collapses extra spaces */
    overflow-wrap: anywhere; /* kills mobile horizontal scroll */
    word-break: break-word;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #1f2933;
}

    /* Optional: make sections breathe (if your txt has blank lines) */
    .report-info__text br + br {
        display: block;
        margin-bottom: 10px;
    }

/* Mobile polish */
@media (max-width: 768px) {
    .report-info__body {
        padding: 10px;
    }

    .report-info__paper {
        padding: 14px 12px;
        border-radius: 10px;
    }

    .report-info__text {
        font-size: 15px;
        line-height: 1.7;
    }
}
.report-info__text {
    white-space: pre-line; /* keeps line breaks from the .txt */
    overflow-wrap: anywhere; /* prevents mobile horizontal scroll */
    word-break: break-word;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #1f2933;
}




.role-access-loader {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.access-denied-wrapper {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.access-denied-card {
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
    text-align: center;
}

.access-denied-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    background: #fee2e2;
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.access-denied-card h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.access-denied-message {
    margin-top: 10px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 15px;
}

.access-denied-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.access-denied-info {
    text-align: left;
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

    .access-denied-info div {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 13px 15px;
        border-radius: 12px;
        background: #f9fafb;
        border: 1px solid #eef0f3;
    }

    .access-denied-info span {
        color: #6b7280;
        font-size: 13px;
    }

    .access-denied-info strong {
        color: #111827;
        font-size: 14px;
        text-align: right;
    }

.access-denied-footer {
    margin-top: 25px;
    padding: 14px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 14px;
    border: 1px solid #fed7aa;
}

.role-access-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

    .role-access-header h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        color: #111827;
    }

    .role-access-header p {
        margin: 4px 0 0 0;
        color: #6b7280;
    }

.role-access-header-actions {
    display: flex;
    gap: 10px;
}

.role-access-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.role-access-summary {
    margin-left: auto;
    color: #374151;
    font-size: 14px;
}

    .role-access-summary span {
        margin: 0 8px;
        color: #9ca3af;
    }

.role-name-cell {
    font-weight: 700;
    color: #111827;
}

.role-row-actions {
    display: flex;
    gap: 6px;
}

.page-access-checkbox {
    text-align: center;
}

.confirm-window-content {
    padding: 4px;
}

    .confirm-window-content p {
        margin-top: 0;
        color: #374151;
    }

.confirm-role-box {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.confirm-table {
    width: 100%;
}

    .confirm-table td {
        padding: 7px 4px;
    }

        .confirm-table td:first-child {
            width: 110px;
            font-weight: 600;
            color: #374151;
        }

.confirm-or {
    text-align: center;
    color: #6b7280;
    font-weight: 700;
}

.confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .role-access-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .role-access-header-actions,
    .role-access-toolbar {
        flex-wrap: wrap;
    }

    .role-access-summary {
        margin-left: 0;
    }

    .access-denied-card {
        padding: 24px;
    }

    .access-denied-info div {
        flex-direction: column;
        gap: 4px;
    }

    .access-denied-info strong {
        text-align: left;
    }
}

.wms-access-denied {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border-radius: 18px;
    text-align: center;
}

.wms-access-denied h3 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.wms-access-denied p {
    margin: 6px 0;
    color: #374151;
    font-size: 14px;
    background: transparent;
    padding: 0;
    line-height: 1.5;
}
/* Role Access Page Styles */
.role-row-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.role-actions-row {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

    .role-actions-row .k-button {
        flex: 1;
        min-width: 65px;
        white-space: nowrap;
        font-size: 12px;
        padding: 4px 8px;
    }

.role-name-cell {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 4px;
}

.page-access-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
/* Role Access Grid Gridlines */
.role-access-grid .k-grid-table {
    border-collapse: collapse;
    width: 100%;
}

    .role-access-grid .k-grid-table td,
    .role-access-grid .k-grid-table th {
        border: 1px solid #d0d0d0;
        padding: 8px;
    }

    .role-access-grid .k-grid-table tr {
        border-bottom: 1px solid #d0d0d0;
    }

.role-access-grid .k-grid-header th {
    background-color: #f5f5f5;
    font-weight: 600;
    border-right: 1px solid #d0d0d0;
}

.role-access-grid .k-grid-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Ensure gridlines appear in dynamic columns */
.role-access-grid .k-grid-table td {
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}