@font-face {
    font-family: 'OpenSans';
    src: url('/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSansBold';
    src: url('/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSansItalic';
    src: url('/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}


@font-face {
    font-family: 'Poppins-Thin';
    src: url('/fonts/Poppins/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-ExtraLight';
    src: url('/fonts/Poppins/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Light';
    src: url('/fonts/Poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Regular';
    src: url('/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Medium';
    src: url('/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-SemiBold';
    src: url('/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Bold';
    src: url('/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-ExtraBold';
    src: url('/fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Black';
    src: url('/fonts/Poppins/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-ThinItalic';
    src: url('/fonts/Poppins/Poppins-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-ExtraLightItalic';
    src: url('/fonts/Poppins/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-LightItalic';
    src: url('/fonts/Poppins/Poppins-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-RegularItalic';
    src: url('/fonts/Poppins/Poppins-RegularItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-MediumItalic';
    src: url('/fonts/Poppins/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-SemiBoldItalic';
    src: url('/fonts/Poppins/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-BoldItalic';
    src: url('/fonts/Poppins/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-ExtraBoldItalic';
    src: url('/fonts/Poppins/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins-BlackItalic';
    src: url('/fonts/Poppins/Poppins-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}


html, body {
    font-family: Poppins-Regular;
    font-size: 12px !important;
}

.mud-drawer {
    background: linear-gradient(90deg,rgba(2, 89, 156, 1) 0%, rgba(0, 96, 169, 1) 100%);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 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NjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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


.navigation-button {
    cursor: pointer;
    width: 100px;
    height: 100px;
    transition: background-color 0.3s ease;
}

    .navigation-button #navigation-button-icon {
        color: gray;
        font-size: 30px !important;
        transition: background-color 0.3s ease;
    }

    .navigation-button:hover {
        background-color: #0c7faa;
    }

        .navigation-button:hover #navigation-button-icon {
            font-size: 35px !important;
        }

        .navigation-button:hover, .navigation-button:hover #navigation-button-icon {
            color: white;
        }


.sidebar-menu .mud-nav-link-text {
    color: #c6c6c6 !important;
    /*color: rgb(216, 235, 216)!important;*/
}

.sidebar-menu .mud-nav-link {
    text-decoration: none;
}

.sidebar-menu .mud-nav-link-text:hover {
    color: white !important;
    font-weight: 500;
}

.sidebar-menu .active {
    background-color: rgba(0,0,0,0.15);
}

    .sidebar-menu .active > .mud-nav-link-text {
        color: white !important;
    }

.sidebar-menu .mud-icon-root {
    color: #c6c6c6 !important;
}


.btn-min-width {
    min-width: 120px;
    /*justify-content: center!important ;*/
}

.table-header {
    background-color: #d0e5fe;
}

    .table-header .mud-table-cell p {
        text-transform: uppercase;
    }

.mudtextfield-uppercase .mud-input-slot {
    text-transform: uppercase;
}

.blurred-backdrop {
    backdrop-filter: blur(10px);
}

.dialog-delete {
    background-color: #e05a5a;
    color: white;
    text-shadow: 2px 2px 5px black;
}

.dialog-primary {
    background-color: #1976D2;
    color: white;
    text-shadow: 1px 1px 4px black;
}

.mx-table > .mud-table-container > .mud-table-root {
    border-left: none;
    border-bottom: none;
    border-right: none;
}

    .mx-table > .mud-table-container > .mud-table-root > .mud-table-head,
    .mx-simple-table > .mud-table-container > table > thead {
        background-color: #004d87 !important;
        color: white !important;
    }

        .mx-table > .mud-table-container > .mud-table-root > .mud-table-head > .mud-table-row > .mud-table-cell > p,
        .mx-simple-table > .mud-table-container > table > thead > tr > th > span > p,
        .mx-simple-table > .mud-table-container > table > thead > tr > th p,
        .mx-table .mud-clickable p,
        .mx-table .mud-clickable  svg
        {
            color: white !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
        }

        .mx-table > .mud-table-container > .mud-table-root > .mud-table-head > .mud-table-row > th {
        }

            .mx-table > .mud-table-container > .mud-table-root > .mud-table-head > .mud-table-row > th > span > p,
            .mx-table > .mud-table-container > .mud-table-root > .mud-table-head > .mud-table-row > th > p {
                line-height: 1;
                padding-top: 7px !important;
                padding-bottom: 7px !important;
            }

/*.mx-table .mud-clickable {
    color: white !important;
    text-transform: uppercase;
    font-weight: 700 !important;
}*/


.mud-input > textarea.mud-input-root-outlined {
    margin-top: 0 !important;
}

.input-group-search .mud-input-outlined-border {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.button-search-input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.mud-list-subheader-extended {
    background-color: white !important;
}



.mx-treeview .mud-treeview-item-content {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.118);
    border-radius: 5px;
    margin-bottom: 4px;
}

.mx-treeview .mud-treeview-item-arrow {
    width: 32px !important;
    height: 32px !important;
}

.mx-nav-tabs-active {
    padding: 8px 11px 5px 11px;
    color: rgb(0, 77, 135)
}

.mx-nav-tabs-active-line {
    height: 4px;
    background-color: rgb(0, 77, 135);
}



.camera-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    /*width: 100vw;*/
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 1000;
    background-color: black;
}

.camera-feed {
    width: 100%;
    height: 100%;
    object-fit: contain; /* or 'contain' if you want full video without cropping */
    display: block;
}

#qr-reader video {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    position: center !important;
    /*top: 0;*/
    /*left: 0;*/
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1100;
}

.camera-wrapper {
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.qr-camera {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    z-index: 1000;
}

.camera-top-bar {
    position: fixed;
    top: 5px;
    left: 20px;
    z-index: 1001;
}

.camera-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.scan-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 50px;
    z-index: 1001;
}

.camera-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border: 3px dashed rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    z-index: 10010;
    pointer-events: none;
}

.camera-start-button {
    position: fixed;
    bottom: 20px;
    right: 120px;
    z-index: 1001;
}

.camera-stop-button {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 1001;
}

.mx-timeline::before {
    left: 24px !important;
}

.mx-timeline .mud-timeline-item-divider {
    min-width: 50px !important;
}

.mx-timeline .mud-timeline-item-content {
    max-width: calc(100% - 50px) !important;
}

 .mud-select-extended{
    margin:0!important;
}