/* Fonts */
@font-face {
    font-family: "Montserrat";
    src: url(/assets/fonts/montserrat/Montserrat-VariableFont_wght.ttf);
}

/* END: Fonts */

/* Variables */

:root {
    /* Colors */
    --navbar-text: #ffffff;
    --xenon-red: #ce122d;
    --xenon-white: white;
    --bs-primary: #ce122d;
    --bs-secondary: #ffffff;
    --bs-success: #ce122d;
    --xf-background: #fafafa;
    --xf-text: #000000;
    --xf-topbar-background: #ffffff;
    --bs-link-color: #df0021 !important;
    --bs-link-hover-color: #df0021 !important;
    --bs-focus-ring-color: #ff3d3d8a;
    --xenon-black: #252222;
    --xenon-gray: #877b7b;
    --xenon-gray-900: #101828;
    --xenon-gray-100: #f5f5f5;
    --xenon-gray-700: #877b7b;
    --xenon-gray-500: #c8bfbf;
    --xenon-gray-300: #e3e3e3;
    --xenon-blue: #007bff;
}
[data-bs-theme="dark"] {
    --navbar-text: #000000; /* Inverted */
    --xenon-red: #ce122d; /* Primary, unchanged */
    --xenon-white: #000000; /* Inverted */
    --bs-primary: #ce122d; /* Primary, unchanged */
    --bs-secondary: #000000; /* Inverted */
    --bs-success: #ce122d; /* Primary, unchanged */
    --xf-background: #050505; /* Darkened */
    --xf-text: #ffffff; /* Inverted */
    --xf-topbar-background: #000000; /* Inverted */
    --bs-link-color: #df0021; /* Unchanged */
    --bs-link-hover-color: #df0021; /* Unchanged */
    --bs-focus-ring-color: #ff3d3d8a; /* Unchanged */
    --xenon-black: #ffffff; /* Inverted */
    --xenon-gray: #787878; /* Darkened */
    --xenon-gray-900: #efefef; /* Inverted */
    --xenon-gray-100: #0a0a0a; /* Inverted */
    --xenon-gray-700: #787878; /* Darkened */
    --xenon-gray-500: #373737; /* Darkened */
    --xenon-gray-300: #1c1c1c; /* Darkened */
    --xenon-blue: #0056b3; /* Darkened */
}

.bold-text {
    font-weight: bold;
}

.bottom-space-span {
    padding-bottom: 20px;
    display: block;
}

.xf-wide-modal {
    --bs-modal-width: 80vw;
}

/* Adjust the height of the dual-list container */
.dual-list-container {
    height: 300px; /* Adjust the height as needed */
}

/* Adjust the height of the list elements */
.dual-list-item {
    height: 40px; /* Adjust the height as needed */
}

/* END: Variables */

/* Global */

*,
::after,
::before {
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 30px;
    opacity: 1;
    overflow-y: scroll;
    margin: 0;
    border-radius: 0;
    background-color: var(--xf-background);
}

caption {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

button:disabled {
    cursor: not-allowed;
}

select:focus,
.form-select:focus {
    box-shadow: none;
    border-color: var(--xf-text) !important;
}

input:focus,
textarea:focus,
.form-control:focus {
    box-shadow: none;
    border-color: var(--xf-text) !important;
}

.form-control-input {
    border-radius: 0 !important;
    border: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    height: 100%;
    background-color: transparent;
}

.form-control-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-control-full {
    width: 100%;
    border-radius: 0 !important;
    height: 100%;
}

.select-header {
    background-color: var(--xenon-gray-300);
    margin: 0;
}

.card-header-select {
    padding: 0;
}
/* input:focus {
    outline: 0 0 0 0 !important;
    box-shadow: 0 0 0 0 !important;
} */

.framework-content {
    height: calc(100vh - 120px);
}

.content-full-height {
    height: calc(100vh - 100px);
}

.card-body-fh {
    height: calc(100vh - 200px);
}

.parts-list-height {
    height: calc(100vh - 360px);
}

.table-clickable tbody tr:hover {
    cursor: pointer;
    background-color: #ffe6ec;
}

.xf-grid-autocomplete-spacing .ag-center-cols-viewport {
    padding-bottom: 600px;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    padding: 6px 20px;
}

.btn-success {
    padding: 6px 20px;
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    padding: 6px 20px;
}

.btn-secondary:hover {
    background-color: var(--bs-secondary);
    border-color: var(--xenon-black);
    color: var(--xenon-black);
    padding: 6px 20px;
}

.btn-danger {
    background-color: black;
    border-color: black;
    color: white;
    padding: 6px 20px;
}

.btn-danger:hover {
    background-color: black;
    border-color: black;
    color: var(--bs-primary);
}

.btn-info {
    padding: 6px 20px;
}

.btn-warning {
    padding: 6px 20px;
}

.txt-primary {
    color: var(--bs-primary);
}

.xf-btn-width {
    width: 124px;
}

.btn-finish {
    color: white;
    background-color: green;
    border-color: green;
}

.fa-star {
    color: var(--bs-primary);
}

.btn-primary:hover,
.btn-finish:hover {
    color: white;
    background-color: black;
    border-color: black;
}

.primary-color {
    color: var(--bs-primary);
}

.text-bg-primary {
    background-color: var(--bs-primary) !important;
}

.badge {
    border-radius: 0 !important;
}

.xf-badge {
    padding: 12px 16px;
    font-size: 0.9em;
    width: 250px;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    background-color: slategray;
    border-color: slategray;
    cursor: not-allowed;
}

.btn {
    border-radius: 0 !important;
}

.btn-info,
.btn-warning {
    color: white;
}

.btn-primary,
.btn-danger,
.btn-warning,
.btn-info,
.btn-success,
.btn-finish {
    -webkit-clip-path: polygon(
        0 0,
        0 100%,
        100% 100%,
        100% 10px,
        (100% - 10px) 0
    );
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 10px, calc(100% - 10px) 0);
}

input[type="checkbox"] {
    accent-color: var(--xenon-red);
}

.input-group-text {
    border-radius: 0;
}

a {
    cursor: pointer;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
}

li {
    list-style: none;
}

td,
th {
    font-size: 16px;
}

input:not([type="checkbox"]) {
    border-radius: 0 !important;
}

label {
    font-size: 14px;
    margin-left: 6px;
    background-color: transparent;
}

.form-select {
    border-radius: 0 !important;
}
.xf-spinner-containter {
    position: fixed;
    top: 60px;
    /* left: 264px; */
    width: 100%;
    height: 100%;
    background-color: var(--xenon-white);
    z-index: 9999;
}

.xf-spinner {
    color: var(--xenon-red);
    width: 6rem;
    height: 6rem;
    border-width: 8px;
    margin-bottom: 12px;
}

.alert {
    font-size: 16px;
    text-align: center;
    padding: 10px;
    border-radius: 0;
}

.subscript {
    color: var(--xenon-gray-700);
}

input:not(.form-switch .form-check-input),
textarea:not(.form-switch .form-check-input) {
    border-radius: 0 !important;
}

/* Change the color of the checkbox when it's checked */
.form-check-input:checked {
    background-color: var(--xenon-red);
    border-color: var(--xenon-red);
}

select.form-control {
    border-radius: 0 !important;
}

.form-check-input:focus {
    box-shadow: none;
    border: 0;
    border: var(--bs-border-width) solid var(--xenon-red);
    outline: none;
}

/* Increase the size of the checkbox */
.form-check-input {
    transform: scale(1.5);
    margin-top: 6px;
    /* margin-left: -28px !important; */
    margin-right: 12px;
    cursor: pointer;
}

.clickable-table {
    cursor: pointer;
}

.table-max-width {
    max-width: 100%;
}

.table-bordered,
.table-bordered th,
.table-bordered td {
    border: 1px solid var(--xenon-gray-700);
}

.table-bordered th,
.table-bordered td {
    padding: 2px 8px;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.autocomplete-form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.custom-alert {
    position: fixed; /* Position relative to the viewport */
    top: 20px; /* Distance from the top of the viewport */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for exact centering */
    z-index: 1050; /* Ensure it's on top of other content */
    width: auto; /* Adjust width as needed */
    max-width: 100%; /* Ensure it doesn't overflow the viewport */
}

.record-picker {
    height: 300px;
}

.dual-list {
    margin-top: 20px;
}

.card-header-sticky {
    position: sticky;
    top: 0;
    background-color: var(--xf-background);
}

/* END: Global */

/* Dashboard skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
    position: relative; /* Add this line */
}

.menu-icon {
    width: 20px;
    margin-left: -2px;
    margin-right: 4px;
    text-align: center;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    background-color: var(--xenon-red);
    transition: margin-left 0.3s;
    position: fixed; /* Add this line */
    height: 100%; /* Add this line */
    z-index: 1; /* Add this line */
}

main {
    height: calc(100vh - 60px);
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 0;
    overflow: auto; /* Change this from 'hidden' to 'auto' */
    transition: all 0.35s ease-in-out;
    /* width: calc(
        100% - 264px
    ); */
    margin-top: 60px;
    /* margin-left: 264px;  */
    background-color: var(--xf-background);
}

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    transition: all 0.2s ease-in-out;
    /* left: 264px; */
    z-index: 1030;
    margin-right: 24px;
}

.dropdown-menu-framework .header {
    font-size: 13px;
    font-weight: bold;
    min-width: 270px;
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 4px 0 6px 0;
}

.version {
    font-size: 12px;
    font-style: italic;
}

.dropdown-menu-framework .footer a {
    text-align: center;
    display: block;
    border-top: 1px solid #eee;
    padding: 5px 0 5px 0;
    font-size: 12px;
    margin-bottom: -5px;
}

.dropdown-menu-framework > li > a {
    padding: 7px 18px;
    color: #666;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    font-size: 14px;
    line-height: 25px;
}

.navbar-nav > li > a {
    padding: 7px 7px 2px 7px;
    margin-top: 17px;
    margin-left: 5px;
}

.dropdown-menu-framework {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.dropdown-menu-framework ul.menu li:hover {
    background-color: #ebebf2;
}

.dropdown-menu-framework ul.menu li {
    padding: 7px 11px;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
}

.dropdown-menu-framework ul.menu li {
    border-bottom: 1px solid #eee;
}

.framework-dropdown-description {
    padding: 0;
    margin: 0;
    color: var(--xenon-gray);
    font-style: italic;
    font-size: 12px;
}

.task_container {
    margin-left: 10px;
}

/* END: Dashboard skeleton */

/* Sidebar elements */

#sidebar {
    overflow: auto;
    height: 100%;
    padding-bottom: 36px;
}

.sidebar-logo {
    padding: 18px;
    text-align: center;
}

.logo-image {
    display: inline-block;
    width: 98px;
    height: 134px;
    border-style: solid;
    border-width: 1px;
    border-color: white;
}

.sidebar-logo a {
    color: var(--navbar-text);
    font-size: 18px;
    font-weight: 600;
}

.sidebar-nav {
    flex-grow: 1;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    margin-left: 0;
    height: calc(100% - 24px);
}

.sidebar-header {
    color: var(--navbar-text);
    font-size: 16px;
    padding: 24px 24px 6px;
}

.sidebar-item-outer {
    padding: 8px 0px;
}

.sidebar-item-outer > ul > li {
    margin-left: 22px;
}

.sidebar-item > .selected,
.sidebar-item > .active {
    font-weight: 600;
}

.sidebar-single-link {
    padding: 0px 26px;
}

.sidebar-single-link-inner-text {
    padding-left: 4px;
}

.list-collaborators {
    list-style-type: disc;
    margin-left: 20px;
}

.ticket-attachment {
    cursor: pointer;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

.ticket-attachment:hover {
    color: var(--bs-link-hover-color-rgb);
}

.sidebar-outer-link {
    padding: 0px 26px 0px 26px;
}

.sidebar-inner-link {
    padding: 0px 26px;
}

.sidebar-item > .selected::before {
    content: "> ";
}

a.sidebar-link {
    color: var(--navbar-text);
    position: relative;
    display: block;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 1px 1px 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 24px;
    top: 12px;
    transform: rotate(-135deg);
    transition: all 0.2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all 0.2s ease-out;
}

#sidebar.collapsed {
    margin-left: -264px;
}

/* END: Sidebar elements */

/* Navbar */

.navbar {
    background-color: var(--xf-topbar-background);
    height: 60px;
}

.nav-icon {
    color: var(--xf-text);
}

.dropdown-menu {
    border-radius: 0;
}

.navbar-toggler-icon {
    color: var(--xf-text);
}

.navbar-end li:not(:last-child) {
    padding-right: 24px;
}

.nav-item button {
    padding: 0px;
    border: 0;
}

.offcanvas {
    height: 76px !important;
}

.no-border {
    border: 0;
    border-radius: 0;
}

/* END: Navbar */

/* Dashboard */

.card {
    width: 100%;
    border-radius: 0;
}

.card-icon {
    font-size: 50px;
    margin: auto;
    text-align: center;
}

.inner-container {
    background-color: white;
}

.table-page tbody tr:nth-child(odd) td {
    background-color: #ffe6ec;
}

.page-link {
    color: var(--xenon-red);
    background-color: white;
    border-radius: 0 !important;
}

.page-link:hover {
    color: #fff;
    background-color: black;
}

.xf-primary {
    color: white;
    background-color: var(--xenon-red);
    border-color: var(--xenon-red);
}

.xf-primary:hover {
    color: #fff;
    background-color: black;
    border-color: black;
}

.xf-secondary {
    color: var(--xenon-red);
    background-color: white;
    border-color: white;
}

.table-search {
    width: 212px;
}

/* END: Dashboard */

/* Login */

.login-cover {
    background-image: url("../images/login_background.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: transparent;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.login-body {
    margin: 20px;
}

.login-icons {
    background-color: transparent;
    border: none;
}

.login-text {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.login-page {
    position: relative;
    padding-left: 0;
    max-width: 360px;
    margin: 5% auto;
    overflow-x: hidden;
}
.login-page .login-box .msg {
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}
.login-page .login-box a {
    font-size: 14px;
    text-decoration: none;
    color: #00bcd4;
}
.login-page .login-box .logo {
    margin-bottom: 20px;
}
.login-page .login-box .logo a {
    font-size: 36px;
    font-weight: 500;
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
}
.login-page .login-box .logo .login-logo-text {
    margin-top: 20px;
}
.login-page .login-box .logo small {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    margin-top: -5px;
}

/* END: Login */

/* Theme togler */

.theme-toggle {
    position: fixed;
    top: 90%;
    transform: translateY(-65%);
    text-align: center;
    z-index: 10;
    right: 0;
    left: auto;
    border: none;
    color: var(--xf-topbar-background);
    background-color: var(--bs-body-color);
}

html[data-bs-theme="dark"] .theme-toggle .fa-sun,
html[data-bs-theme="light"] .theme-toggle .fa-moon {
    cursor: pointer;
    padding: 10px;
    display: block;
    font-size: 20px;
    color: var(--xf-topbar-background);
}

html[data-bs-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

html[data-bs-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

/* END: Theme togler */

/* Mobile corrections */

@media (max-width: 766px) {
    .card-icon {
        padding: 12px;
    }

    .card-body {
        text-align: center;
    }

    .xf-spinner {
        width: 3rem;
        height: 3rem;
        border-width: 4px;
        margin-bottom: 12px;
    }
}

/* END: Mobile corrections */

/* 404 Page */
.not-found {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.not-found h1 {
    font-size: 160px;
    color: var(--xenon-red);
}

/* END: 404 Page */

/* Work Order */

.xf-t-responsive th {
    width: 15%;
}
.xf-t-responsive td {
    width: 35%;
}

@media (max-width: 768px) {
    .xf-t-responsive th,
    .xf-t-responsive td {
        display: block;
        width: 100%;
        text-align: center;
    }
    .xf-t-responsive tr {
        display: flex;
        flex-direction: column;
    }
}

.xf-card {
    margin: 3rem 0;
}

.step-navigation-btn {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.card-header-collapsable {
    cursor: pointer;
}

.xf-card-header,
.card-header-collapsable {
    padding: 0;
    background-color: var(--xenon-white);
}

.card-header-title {
    margin: 8px 16px;
    font-weight: 600;
}

.header-menu-icon {
    padding: 6px 12px;
    margin-right: 6px;
    cursor: pointer;
    font-size: 20px;
}

.card-item-title {
    margin-left: 16px;
    color: var(--xenon-red);
    cursor: pointer;
}

.edit-date {
    text-decoration: underline;
    cursor: pointer;
    color: var(--xenon-blue);
}

.xf-error-description {
    margin-left: 16px;
}

.work-order-buttons {
    margin: 12px;
}

.work-order-control-buttons,
.work-order-buttons {
    width: 148px;
    font-weight: 600;
    padding: 12px 6px;
}

.work-order-control-buttons {
    margin: 12px 6px;
}

.table-position-delete:hover {
    color: var(--xenon-blue);
}

.kfs-progress-container {
    padding: 0 !important;
}

.kfs-progress {
    height: 34px;
    padding: 0 !important;
    border-radius: 0;
    margin: 0;
}

.step-active {
    background-color: var(--bs-primary);
    color: var(--xenon-white);
    border-color: var(--bs-primary) !important;
}

.xf-step {
    padding: 8px 16px;
    margin: 0;
    border-radius: 0;
    border: 1px solid var(--xenon-gray);
}

.xf-step-pointer {
    cursor: pointer;
}

.xf-bottom-position {
    position: fixed;
    bottom: 0;
    width: calc(100% - 264px - 16px);
}

.pull-right {
    text-align: right;
}

.note-icon-buttons {
    cursor: pointer;
}

.note-btn-normal:hover {
    color: var(--xenon-blue);
}

.note-btn-danger:hover {
    color: var(--bs-danger);
}
.modal-autocomplete-container {
    overflow: visible !important;
}

.modal-autocomplete .dropdown-menu {
    max-height: 400px;
    overflow: auto;
}
/* END: Work Order */

.xf-ag-grid-style,
.xf-ag-grid-ticket {
    min-width: 100%;
    overflow: auto;
    height: calc(100% - 120px);
}

.xf-ag-grid-documents {
    min-width: 100%;
    overflow: auto;
    height: calc(100% - 320px);
}

.divider {
    width: 1px;
    height: 24px;
    background-color: #ccc;
    margin: 0 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .xf-ag-grid-documents {
        height: calc(100% - 400px);
    }

    .xf-ag-grid-style,
    .xf-ag-grid-ticket {
        min-width: 100%;
        overflow: auto;
        height: calc(100% - 260px);
    }
}

.xf-ag-grid-dispatch {
    min-width: 100%;
    overflow: auto;
    height: calc(100% - 132px);
}

.center-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.table-icon {
    font-size: 30px;
    margin-top: 6px;
}

.xf-ag-grid-search {
    min-width: 100%;
    overflow: auto;
    height: 500px;
}

.ag-row-inline-editing div {
    overflow: visible !important;
}

.card-hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.card-hover:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ag-row-not-inline-editing div {
    overflow: hidden;
}

.ag-cell {
    line-height: 1.5;
}

/* warehouse-add.component.css */
/* Include the CSS code here */
.ag-paging-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.c-button {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 50px;
    padding: 0 30px;
    border-radius: 0;
    border: 0;
    outline: 0;
    -webkit-box-shadow: inset 0 0 0 2px currentColor;
    box-shadow: inset 0 0 0 2px currentColor;
    font: bold 18px GT-Eesti-Pro, sans-serif;
    line-height: normal;
    line-height: 50px;
    text-decoration: none;
    text-align: center;
    text-overflow: ellipsis;
    cursor: pointer;
    background: 0;
    color: #000;
}

@media (max-width: 600px) {
    .ag-paging-panel {
        display: block;
        height: 96px;
        text-align: center;
    }

    .ag-paging-page-size,
    .ag-paging-row-summary-panel,
    .ag-paging-page-summary-panel {
        display: block;
        width: calc(100% - 20px);
        margin: 0 auto 10px auto; /* Center align the elements */
    }

    .xf-ag-grid-style {
        height: calc(100% - 110px);
    }

    .ag-paging-page-summary-panel {
        display: flex;
        justify-content: center; /* Center align the contents */
        align-items: center;
    }
}

.modal-content {
    border-radius: 0;
}

.grid-centered-header
    > .ag-header-cell-comp-wrapper
    > .ag-cell-label-container
    > .ag-header-cell-label {
    justify-content: center;
}

/* START: Scanner */
.scanner-wrapper {
    position: relative;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 50px solid rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    pointer-events: none;
}

.scanner-overlay::before,
.scanner-overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 2px;
    background: red;
    transform: translate(-50%, -50%);
}

.swal2-actions {
    flex-direction: row-reverse;
}

.reverse-buttons {
    flex-direction: row-reverse;
}

.scan-found-th {
    width: 50%;
    text-align: left;
}

.scan-found-td {
    width: 50%;
    text-align: left;
}

app-autocomplete-grid {
    width: 100%;
}

/* END: Scanner */

/* START: Dropzone */

.dropzone-image-container {
    overflow: hidden;
    width: 100%; /* Take the full width of the parent */
    height: 100%; /* Take the full height of the parent */
}

.dropzone-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropzone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropzone-image-container:hover .dropzone-overlay {
    opacity: 1;
}

.dropzone-button {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropzone-image-container:hover .dropzone-button {
    opacity: 1;
}

.list-files {
    cursor: pointer;
    text-align: left;
}

.list-files:hover {
    color: var(--bs-primary);
}

.centered-file-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* END: Dropzone */

.quill-editor {
    width: 100%; /* Stretch to fit the width of its container */
}

.ql-container {
    min-height: 350px; /* Adjust this value based on your font size and line height to match the height of 6 rows */
}

/** START: Widgets */
.grid-stack-item-content {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.grid-stack-item-content:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2);
}

.grid-stack-item-content {
    background-color: var(--xenon-white);
}

.widget-small {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    border-radius: 0;
    color: #fff;
    /* margin-bottom: 30px; */
    cursor: pointer;
}

/* .gs-id-0 > .grid-stack-item > .grid-stack-item-content {
    inset: 0 !important;
} */

/* .gs-id-0 > .grid-stack-item > .ui-resizable-se {
    right: 10px !important;
    bottom: 10px !important;
  } */

.widget-small.coloured-icon {
    background-color: var(--xenon-white);
    color: var(--xenon-black);
}

.widget-small .icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-width: 85px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    font-size: 2.5rem;
    color: #fff;
}

.widget-small .info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 0 20px;
    -ms-flex-item-align: center;
    align-self: center;
}

.widget-small .info h4,
.widget-small .info .h4 {
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 0px;
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 1.1rem;
}

.widget-small .info p {
    margin: 0;
    font-size: 16px;
}

.floating-dashboard-icon {
    position: fixed;
    z-index: 99;
    padding: 16px;
    font-size: 2rem;
    line-height: 32px;
    font-weight: 200;
    bottom: 20px;
    right: 20px;
    background-color: var(--xenon-red);
    color: var(--xenon-white);
    cursor: pointer;
}

.floating-dashboard-icon:hover {
    font-size: 3rem;
}

.gridstack-item {
    position: relative;
}

.gridstack-edit-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    transition: opacity 0.5s ease;
    z-index: 999;
    opacity: 0.5;
    cursor: pointer;
}

gridstack-item:hover .gridstack-edit-icon {
    display: block;
    opacity: 1;
}

@media (max-width: 766px) {
    .floating-dashboard-icon {
        font-size: 2rem;
        padding: 8px;
        line-height: 16px;
    }
}

/** END: Widgets */

/* START: Documents */

.document-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-print {
    color: var(--xenon-black);
    background-color: var(--xenon-white);
    border-color: var(--xenon-black);
}

/* .pdf-viewer-wrapper {
    border: 2px solid #ccc; /* Add a border around the PDF viewer
    background-color: #f9f9f9; /* Add a background color
    padding: 10px; /* Add some padding
    border-radius: 0px; /* Optional: Add rounded corners
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow
} */

.pdf-viewer-wrapper {
    position: relative;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-viewer-wrapper {
    position: relative;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent image from going outside the wrapper */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-viewer-wrapper img {
    cursor: grab; /* Default cursor for dragging */
    transition: transform 0.1s ease; /* Smooth zoom and drag */
}

.image-viewer-wrapper img:active {
    cursor: grabbing; /* Cursor when actively dragging */
}

.zoom-controls {
    position: absolute;
    top: 16px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 999;
}

.zoom-button {
    border: 1px solid var(--xenon-red);
    border-radius: 0px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--xenon-white);
}

.zoom-button i {
    font-size: 18px;
    color: var(--xenon-red);
}

.zoom-button:hover {
    border-color: var(--xenon-black);
}

.zoom-button:hover i {
    color: var(--xenon-black);
}

/* END: Documents */

/* p, span, td, th, a, label, h1, h2, h3, h4, h5, h6, button, input, select, textarea, div, b, .btn {
    font-size: 18px;
    line-height: 36px;
}

h4, h4>b {
    font-size: 24px;
    line-height: 40px;
} */
