* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: none;
}

/*  */

/* FONTS */

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

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

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

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

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

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

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

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

/*  */

/* BASE OF PAGES */

/*  */

/* Hide sidebar, filter menu, and header bar during initial loading */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Ensure no animation occurs during initialization */
.no-animation {
    transition: none !important;
}



:root {
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 65px;
    --header-height: 70px;
    --main-content-padding: 20px;
    --filter-menu-width: 300px;
    --filter-menu-left-expanded: 250px;
    --filter-menu-left-collapsed: 65px;
    --filter-menu-hidden: -100%;
    --main-content-margin-left-expanded: 560px;
    --main-content-margin-left-collapsed: 75px;
    --main-content-margin-left-mobile: 75px;



    --button-bg-color-darkGray: #3a3a3a;
    --button-bg-color-blue: #136deb;
    --button-bg-color-red: #e11010;
    --button-bg-color-orange: #ff9800;
    --button-bg-color-green: #4caf50;

    --modal-undertext-bg-color: #f5f5f5;
    --modal-section-title-fontSize: 1rem;
    --modal-section-body-prefix-fontSize: 0.7rem;
    --modal-section-body-label-fontSize: 0.8rem;
    --modal-section-body-inputs-fontSize: 0.9rem;
    --modal-section-body-text-fontSize: 0.8rem;
    --modal-section-body-button-fontSize: 0.9rem;
    --modal-footer-button-fontSize: 1rem;
    --modal-footer-button-icon-fontSize: 0.9rem;


    --modal-table-products-title-fontSize: 0.9rem;
    --modal-table-products-bundleItem-title-fontSize: 0.85rem;
    --modal-table-products-indentifier-title-fontSize: 0.6rem;
    --modal-table-products-quantity-selector-fontSize: 0.8rem;
    --modal-table-products-quantity-text-fontSize: 0.9rem;

    --mb-modal-table-products-title-fontSize: 0.8rem;
    --mb-modal-table-products-bundleItem-title-fontSize: 0.75rem;
    --mb-modal-table-products-indentifier-title-fontSize: 0.5rem;
    --mb-modal-table-products-quantity-selector-fontSize: 0.75rem;
    --mb-modal-table-products-quantity-text-fontSize: 0.8rem;

    --global-text-color-darkgrey: #3a3a3a;
    --global-text-color-black: black;
    --global-border-color-ultraLightGray: #f1f1f1;
    --global-border-color-lightGray: #e7e7e7;
    --global-border-color-gray: #ddd;
    --global-border-color-darkgrey: #3a3a3a;
}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.main-sidebar {
    width: var(--sidebar-width);
    background-color: rgb(33, 37, 41);
    overflow-y: auto;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 15px 0 rgba(33, 37, 41, 0.9);
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    transition: width 0.3s ease;
    overflow-x: hidden;
    padding-top: 0px;
}

.main-sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}



/*  */

/* BASE OF PAGES */
/* MAIN SIDEBAR - Logo and Collapse Button styles */

/*  */
.logo-section {
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    height: 70px;
}

.main-sidebar.collapsed .logo-section {
    justify-content: center;
}

.full-logo {
    display: block;
    height: 35px;
}

.small-logo {
    display: none;
    height: 30px;
    cursor: pointer;
}

.collapse-button {
    display: block;
    color: white;
    cursor: pointer;
}


.small-logo:hover img,
.small-logo:active img,
.small-logo:focus,
.small-logo img:focus {
    outline: none;
    border: none;
    opacity: 0.8;
}

.collapse-button:focus,
.collapse-button img:focus {
    outline: none;
    border: none;
    opacity: 0.8;
}

.main-sidebar.collapsed .full-logo,
.main-sidebar.collapsed .collapse-button {
    display: none;
}

.main-sidebar.collapsed .small-logo {
    display: block;
}

/* MAIN SIDEBAR - item section*/

.main-sidebar hr {
    height: 1px;
    border-width: 0;
    background-color: rgb(255, 255, 255);
    width: 90%;
    margin: 0 auto;
}

.menu-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    margin-top: 15px;
}

.menu-item {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    /* centers both icon and text vertically */
    padding: 8px 0;
    box-sizing: border-box;
    white-space: nowrap;
    text-decoration: none !important;
    font-size: 1.1rem;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
}

.main-sidebar.collapsed .menu-item {
    padding: 10px 0;
    justify-content: center;
    align-items: center;
}


.menu-item i {
    display: inline-block;
    width: 50px;
    /* fixed width ensures all icons take up same space */
    text-align: center;
    /* centers the icon within its container */
    font-size: 1.1rem;
    margin: 0;
    padding: 0;
}

.menu-item span {
    flex: 1;
    /* allows text to fill the remaining space */
}

.menu-item:hover {
    filter: brightness(0.8);
    cursor: pointer;
    color: white;
}

.main-sidebar.collapsed .menu-item span {
    display: none;
}

.main-sidebar.collapsed .menu-item i {
    margin-right: 0;
}

/* MAIN SIDEBAR - bottom section */
.bottom-section {
    display: flex;
    align-items: left;
    padding: 0px 15px;
    color: white;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    flex-direction: column;
    justify-content: end;
    margin-bottom: 5px;
    vertical-align: middle;
}

.main-sidebar.collapsed .bottom-section {
    padding-bottom: 20px;
    align-items: center;
}

.profile-name {
    display: flex;
    text-decoration: none !important;
    margin-right: auto;
    align-items: center;
    margin-top: 5px;
}

.profile-name:hover {
    filter: brightness(0.8);
}

.profile-name span {
    margin-left: 10px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1rem;

}

.main-sidebar.collapsed .profile-name i,
.main-sidebar.collapsed .profile-name,
.main-sidebar.collapsed .profile-name span {
    margin: 0;
    margin-top: 5px;
}

.profile-name i {
    font-size: 1.1rem;
    color: white;
    vertical-align: middle;
}

.user-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    color: white;
    margin-left: auto;
    text-decoration: none !important;
}





.main-sidebar.collapsed .user-name,
.main-sidebar.collapsed .log-out-link {
    display: none;
}

.log-out-link {
    margin-right: auto;
    color: var(--global-border-color-gray);
    text-decoration: none !important;
    padding-top: 5px;

}

.log-out-link:hover {
    opacity: 0.9;
    color: var(--global-border-color-gray);
}

.log-out {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;

}

.web-version {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
    margin: auto;
    text-decoration: none !important;
    color: #626262;
    opacity: 0.7;
}

.web-version:hover {
    color: #626262;
    opacity: 0.7;
}






/*  */

/* BASE OF PAGES */
/* HEADER BAR */

/*  */
.header-bar {
    background-color: white;
    height: var(--header-height);
    width: calc(100% - var(--sidebar-width));
    left: var(--sidebar-width);
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #333;
    z-index: 2000;
    transition: left 0.3s ease, width 0.3s ease;
    box-shadow: 0 0 15px 0 rgba(33, 37, 41, 0.9);
    margin: 0;
}

.header-section {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.header-title {
    white-space: nowrap;
    font-family: 'Faktum', sans-serif;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: normal;
    margin-left: 10px;
    margin-right: 20px;
    margin-top: 5px;
    margin-bottom: 0;
    padding: 0;
}


.header-order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 2px 10px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    margin-bottom: 2px;
    text-transform: capitalize;
    width: 110px;
    text-align: center;
}

.header-order-status.draft {
    background-color: #ffff;
    border: 1px solid #d6d9db;
    color: black;
}

.header-order-status.reserved {
    background-color: #edf5ff;
    border: 1px solid #136deb;
    color: #136deb;

}

.header-order-status.started {
    background-color: #fff7eb;
    border: 1px solid #ecb766;
    color: #ecb766;
}

.header-order-status.stopped {
    background-color: #f1fff3;
    border: 1px solid #79ad80;
    color: #79ad80;
}

.header-order-status.archived {
    background-color: #d6d9db;
    border: 1px solid #d6d9db;
    color: black;
}

/* --------------------------------------------------
   Status Indicator Container (inside header)
----------------------------------------------------- */
.status-indicator {
    position: relative;
    /* New: make children absolute relative to this box */
    width: 40px;
    height: 40px;
    /* Center on desktop by using auto margins in the header’s flex layout */
    margin: 0 auto;
    /* On mobile, push it to the right */
    /* (We can override margin-left on mobile if needed) */
    --status-color: red;
    /* fallback */
    display: block;
    /* We don’t need internal flex here */
}

/* Mobile override: push to right */
@media (max-width: 768px) {
    .status-indicator {
        margin-left: auto;
        margin-right: 5px;
    }
}

.status-indicator-wrapper {
    flex: 1;
    /* take available space */
    display: flex;
    justify-content: center !important;
    align-items: center;
}

/* --------------------------------------------------
     Particles Container (stays behind the circle)
  ----------------------------------------------------- */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 0;
    /* behind the icon */
    overflow: visible;
}

/* Each particle: uses the status color */
.hdr-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--status-color);
    animation: particleMove 2s infinite ease-in-out;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    50% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0.5;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* --------------------------------------------------
     Foreground: Circle and Icon Container
  ----------------------------------------------------- */
.circle-and-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    z-index: 1;
    /* above particles */
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
}

/* The colored circle behind the icon */
.background-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--status-color);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Force consistent sizing for icons */
.circle-and-icon i {
    color: #fff !important;
    font-size: 1.2rem;
    width: 1.2em;
    text-align: center;
    display: block;
}

.circle-and-icon i,
.circle-and-icon svg {
    color: #fff !important;
    fill: #fff !important;
}

/* --------------------------------------------------
     State Classes & Animations
  ----------------------------------------------------- */
/* Unsaved (warning): red, with breathing effect on the circle/icon */
.status-indicator.unsaved {
    --status-color: red;
}

.status-indicator.unsaved .circle-and-icon {
    animation: breathing 2s infinite;
}

/* Loading: gray, with spin effect on the circle/icon */
.status-indicator.loading {
    --status-color: gray;
}

.status-indicator.loading .circle-and-icon {
    animation: spinn 1s linear infinite;
}

/* Finished: success (green) or error (red) */
.status-indicator.finished.success {
    --status-color: green;
}

.status-indicator.finished.error {
    --status-color: red;
}

.status-indicator.finished.success .circle-and-icon i,
.status-indicator.finished.error .circle-and-icon i {
    color: #fff;
}

/* Breathing animation: scale up and down */
@keyframes breathing {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Spin animation: rotate in place */
@keyframes spinn {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* BASE OF PAGES */
/* FILTER MENU */

/*  */
.filter-menu {
    width: var(--filter-menu-width);
    top: var(--header-height);
    height: calc(100% - var(--header-height));
    background-color: white;
    position: fixed;
    left: -100%;
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 0 0 15px 0 rgba(33, 37, 41, 0.9);
    box-sizing: border-box;
    overflow-y: auto;
    word-wrap: break-word;
    white-space: normal;

}

.filter-menu-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}







/*  */

/* BASE OF FILTER MENU */

/*  */
.action-buttons {
    display: flex;
    padding: 10px 15px;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.divider {
    margin: 10px 0;
    border-top: 2px solid #ddd;
}

.filter-label {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: #3a3a3a;
    margin-bottom: 3px;
    display: block;
}

.filter-menu-header {
    width: 100%;
    height: 35px;
    display: flex;
    /* používa flexbox */
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: #3a3a3a;
    background-color: #e9e9e9;
    justify-content: flex-start;
    /* text zarovnaný doľava */
    align-items: center;
    /* vertikálne centrovanie */
    padding: 0 15px;
    /* 5px padding hore a dole, 10px po stranách */
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    /* zahrnú padding a border do šírky/ výšky */
    margin: 0 auto;
    /* ak je potrebné, kontajner bude centrovaný horizontálne */
}


.form-group {
    padding: 10px 15px;
    margin-bottom: 15px;
}

.form-control {
    font-family: 'Faktum', sans-serif;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #3a3a3a;
    outline: none;
    box-shadow: none;
}

.form-group-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.8rem;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    color: #3a3a3a;
    line-height: 1;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
}

.form-group-input:focus {
    border-color: #3a3a3a;
    outline: none;
    box-shadow: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-input:checked {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.form-check-input:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.form-select-all-buttons {
    margin-top: -7px;
}

.form-select-all-buttons a {
    cursor: pointer;
    color: #3a3a3a;
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
    text-decoration: none;
    margin-right: 5px;
}

.form-check-label-required {
    color: #e11010;
    font-size: 0.8rem;
    margin-left: 2px;
    vertical-align: middle;
    /* Align the asterisk with the label text */
}

.form-check-label-error {
    color: red;
    font-size: 0.8rem;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    display: none;
    /* Hidden by default */
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.8rem;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    color: #3a3a3a;
    margin-top: 8px;
    line-height: 1;
}

.filter-btn {
    display: inline-block;
    background-color: #3a3a3a;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 100%;
    text-decoration: none;
    white-space: normal;
}

.filter-btn:hover {
    opacity: 0.8;
    color: white;
}

.filter-btn:focus {
    outline: none;
    border: none;
    box-shadow: none;
}


.filter-btn.filter-btn-blue {
    background-color: #136deb;
    color: white;
}

.filter-btn.filter-btn-orange {
    background-color: #ff9800;
    color: white;
}

.filter-btn.filter-btn-red {
    background-color: #e11010;
    color: white;
}

.filter-btn.filter-btn-green {
    background-color: #4caf50;
    color: white;
}

.filter-btn.filter-btn-gray {
    background-color: #898989;
    color: white;
}

.filter-btn.filter-btn-purple {
    background-color: #8c00ff;
    color: white;
}

.filter-btn-info {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
    padding: 0;
    line-height: 1;
    margin-top: -3px;
}





/*  */

/* BASE OF FILTER MENU */
/* DATE RANGE PICKER STYLING */

/*  */

.daterangepicker,
.daterangepicker:hover,
.daterangepicker:focus {

    border: 1px solid #3a3a3a !important;
    border-color: #3a3a3a !important;
    border-radius: 5px !important;
    font-family: 'Faktum', sans-serif !important;
    font-weight: bold !important;
    font-style: normal !important;
    font-size: 0.7rem !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.daterangepicker-dropdown,
.daterangepicker-dropdown:hover,
.daterangepicker-dropdown:focus {

    border: 1px solid #3a3a3a !important;
    border-color: #3a3a3a !important;
    border-radius: 5px !important;
    font-family: 'Faktum', sans-serif !important;
    font-weight: bold !important;
    font-style: normal !important;
    font-size: 0.7rem !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.daterangepicker .applyBtn,
.daterangepicker .cancelBtn {
    background-color: #3a3a3a !important;
    color: white !important;
    border-color: #3a3a3a !important;
    font-family: 'Faktum', sans-serif !important;
    font-weight: bold !important;
    font-style: normal !important;
    font-size: 0.7rem !important;
}

.daterangepicker .applyBtn:hover,
.daterangepicker .cancelBtn:hover {
    background-color: #333 !important;
    color: white !important;
    border-color: #333 !important;
}

.daterangepicker .ranges li,
.daterangepicker td.active {
    background-color: white !important;
    color: #3a3a3a !important;
    font-family: 'Faktum', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 0.7rem !important;
}

.daterangepicker .ranges li.active,
.daterangepicker .ranges li:hover,
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #3a3a3a !important;
    color: white !important;
    font-family: 'Faktum', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 0.7rem !important;
}

.daterangepicker .drp-calendar {
    border-color: #3a3a3a;
    font-family: 'Faktum', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 0.5rem !important;
}

.date-range-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-range-wrapper,
.date-range-picker:active {
    outline: 0;
}

.add-button-search-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 18px;
    color: #3a3a3a;
    cursor: pointer;
    opacity: 0.7;
}

.order-customer-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.remove-button-customer-order {
    /* Remove default <p> margins/padding */
    margin: 0;
    padding: 0;

    /* Your existing styles */
    background: transparent;
    border: none;
    font-family: 'Faktum', sans-serif;
    font-weight: bold !important;
    line-height: 1.2;
    /* Ensures consistent vertical alignment */
    color: #3a3a3a;
    cursor: pointer;
}

.remove-button-customer-order:hover,
.add-button-search-input:hover {
    opacity: 0.9;
    /* Reduce opacity on hover */
}

.remove-button-customer-order:focus,
.remove-button-customer-order:active,
.add-button-search-input:focus,
.add-button-search-input:active {
    border: none;
    outline: none;
}

.clear-date-button {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #3a3a3a;
    cursor: pointer;
    opacity: 0.7;
}

.clear-date-button:hover {
    opacity: 1;
}

.clear-date-button:focus {
    border: none;
    outline: none;
}






/*  */

/* BASE OF FILTER MENU */
/*  PER PAGE  */

/*  */
.orders-per-page-select {
    background-color: white;
    color: #3a3a3a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    padding: 8px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    width: 100%;
    outline: none;

}

.orders-per-page-select option:checked {
    background-color: #3a3a3a;
    color: white;
}

.orders-per-page-select:focus {
    border-color: #3a3a3a;
    outline: none;
}


.orders-per-page-select a:hover {
    background-color: #3a3a3a;
    color: white;
    outline: none;
}



/*  */

/* BASE OF FILTER MENU */
/*  Document selector  */

/*  */
.document-template-dropdown {
    background-color: white;
    color: #3a3a3a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    padding: 5px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    width: 100%;
    outline: none;

}

.document-template-dropdown option:checked {
    background-color: #3a3a3a;
    color: white;
}

.document-template-dropdown:focus {
    border-color: #3a3a3a;
    outline: none;
}


.document-template-dropdown a:hover {
    background-color: #3a3a3a;
    color: white;
    outline: none;
}


/*  */

/* BASE OF FILTER MENU */
/*  Files  */

ul.filter-files-list {
    list-style-type: none;
    padding: 0;
    margin: 0;


}

.filterFiles-scrollable-list {
    list-style-type: none;
    padding: 0;
    margin: 5px 0;
    max-height: 200px;
    /* Adjust height as needed */
    overflow-y: auto;
    /* Enable vertical scrolling */
    width: 100%;

}

.file-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    margin-top: -4px;
}

.file-checkbox {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    margin-right: 5px;
    /* Space between checkbox and filename */
    flex-shrink: 0;
    /* Prevents checkbox from shrinking */
}

.file-checkbox:checked {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.file-checkbox:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.file-download-icon {
    text-decoration: none;
    color: #3a3a3a;
    font-size: 14px;
    margin-right: 3px;
}

.file-download-icon:hover {
    opacity: 0.8;
    color: #3a3a3a;
    text-decoration: none;
    cursor: pointer;
}

.file-prefix {
    color: #3a3a3a;
    line-height: 1.2;
    word-break: break-word;
    /* Wrap long filenames to the next line */
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 0.8rem;
    margin-bottom: 5px;
    /* Adjusts width to leave space for checkbox */
}


.file-name {
    color: #3a3a3a;
    line-height: 1.2;
    word-break: break-word;
    /* Wrap long filenames to the next line */
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
    max-width: calc(100% - 10px);
    /* Adjusts width to leave space for checkbox */
    margin-top: 1px;
}

.file-name a {
    text-decoration: none;
    color: #3a3a3a;

}

.file-name a:hover {
    text-decoration: none;
    opacity: 0.8;
}




.file-item-email {
    font-size: 0.75rem;
    /* Reduce font size for the entire item */
    margin: 0;
    /* Reduce spacing between items */
    display: flex;
    align-items: center;
    /* Align checkbox and label vertically */
    margin-top: -3px;
}

/* Styling for file labels */
.file-name-email {
    font-size: 0.75rem !important;
    /* Smaller font size for file names */
    color: #3a3a3a;
    /* Adjust text color for readability */
    display: inline-block;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    margin-top: 2px;
}

.existing-file-checkbox-email {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    margin-right: 5px;
    /* Space between checkbox and filename */
    flex-shrink: 0;
    /* Prevents checkbox from shrinking */
}

.existing-file-checkbox-email:checked {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.existing-file-checkbox-email:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
}


/* Styling for descriptive prefixes */
.file-prefix-email {
    color: #3a3a3a;
    line-height: 1;
    word-break: break-word;
    /* Wrap long filenames to the next line */
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 0.6rem;
    padding-bottom: 2px;
    margin-top: 4px;
    /* Adjusts width to leave space for checkbox */
}

.file-prefix-email:first-child {

    margin-top: 0;

}

/*  */

/* BASE OF POP UP MODAL - FILTER MENU */
/*  Pop up modal window  */

/*  */
.filter-menu-modal .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.filter-menu-modal .modal-body form {
    width: 100%;
    /* Ensures buttons are centered and not stretched */
    max-width: 400px;
    /* Optional: limits the width */
}

.filter-menu-modal .modal-dialog {
    left: 50px;
    transform: translateY(-50%);
    /* Only translate vertically */
    width: calc(100% - 50px);
    /* Account for space on the left */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.filter-menu-modal .modal-content {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
}

.filter-menu-modal .modal-header {
    border-bottom: none;
}

.filter-menu-modal .modal-title {
    border-bottom: none;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.1rem;
    margin: 0;

}

.filter-menu-modal hr {
    border-top: 1px solid #ddd;
    margin: 0;
}

/* Close button styling */
.filter-menu-modal .close {
    font-size: 24px;
    color: #3a3a3a;
    cursor: pointer;
}

.filter-menu-modal .close:hover {
    opacity: 0.9;
    color: #3a3a3a;
}

.filter-menu-modal .close:focus {
    outline: none;
    color: #3a3a3a;
    border: none;
}

/*  */

/* BASE OF POP UP MODAL - FILTER MENU */
/*  Select files  */

/*  */

.select-files-btn {
    display: inline-block;
    background-color: #136deb;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 50%;
    text-decoration: none;
    white-space: normal;
}

.select-files-btn:hover {
    opacity: 0.8;
    background-color: #136deb;
    color: white;
}

.select-files-btn:focus {
    outline: none;
    background-color: #136deb;
    border: none;
}

.select-files-btn:focus {
    outline: none;
    box-shadow: none;
    background-color: #136deb;
}

.file-names {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    color: #3a3a3a;
    text-align: center;
    margin-top: 5px;

}

.file-names p {
    margin: 2px 0;
    /* Adjust as needed */
    padding: 0;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
}

/*  */

/* BASE OF POP UP MODAL - FILTER MENU */
/* Generated upload link  */

/* ODSTRANIT KED VSADE BUDE NOVY MODAL */
.link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    /* Space between the link and icon */
    padding: 10px;
    border-radius: 5px;
    background-color: #f5f5f5;
    /* Slight background for better readability */
}

.upload-link-text {
    overflow-wrap: break-word;
    word-break: break-all;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    color: #3a3a3a;
    max-width: 90%;
    /* Adjusts to modal width */
}

.copy-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #3a3a3a;
}

.copy-icon-btn:focus,
.copy-icon-btn:hover {
    outline: none;
    border: none;
    opacity: 0.9;
    color: #3a3a3a;
}


/*  */

/* BASE OF PAGES */
/* MAIN CONTENT */

/*  */
.content-main {
    flex-grow: 1;
    box-sizing: border-box;
    padding: 0;
    margin-left: calc(var(--sidebar-width));
    margin-top: calc(var(--header-height));
    transition: margin-left 0.3s ease;
    transform-origin: 0 0;

}

.content-main-clean {
    flex-grow: 1;
    box-sizing: border-box;
    padding: 0;
}


/*  */

/* BASE OF TABLES */
/* SEARCHBAR  */

/*  */
.search-section {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    align-items: center;
}

.search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
    max-width: 400px;
}

.search-bar-container-filtermenu {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-bar-container-input-wrapper {
    position: relative;
    width: 100%;
}

.search-bar {
    width: 100%;
    padding: 10px 15px;
    padding-left: 40px;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    color: #3a3a3a;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    line-height: 1;
    /* Adjust to control vertical alignment */
    text-decoration: none;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 35px;
}

.search-bar:focus {
    border-color: #494949;
}

.search-icon-button {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    color: #3a3a3a;
    cursor: pointer;
    font-size: 16px;
    outline: none;
}

.search-icon-button:hover {
    color: #3a3a3a;
    opacity: 0.9;

}

.search-icon-button:focus {
    outline: none;
}

.search-bar::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.no-results,
.result-count {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    color: #3a3a3a;
    margin-left: 5px;
    max-lines: 1;
    white-space: nowrap;

}



/*  */

/* BASE OF TABLES */

/*  */
.table td,
.table th {
    vertical-align: center !important;
    justify-items: center !important;
    text-align: center !important;
    align-content: center !important;
}

.table {
    font-size: 0.9rem;
    color: #3a3a3a;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    vertical-align: middle;
}

.table th {
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
}

.table td {
    font-size: 0.85rem;
}

.sort-arrow {
    color: #3a3a3a;
    text-decoration: none;
    font-size: 0.9rem;
}

.sort-arrow:hover {
    color: #3a3a3a;
    opacity: 0.85;
    text-decoration: none;
}

.table-buttons-cell {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.table-buttons-cell .table-icon-button {
    background-color: #3a3a3a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Fix: Correctly target buttons with specific color classes */
.table-buttons-cell .table-icon-button-orange {
    background-color: #ff9800;
    color: white;
}

.table-buttons-cell .table-icon-button-blue {
    background-color: #136deb;
    color: white;
}

.table-buttons-cell .table-icon-button-red {
    background-color: #e11010;
    color: white;
}

.table-buttons-cell .table-icon-image {
    font-size: 1.1rem;
    color: white;
}

.table-buttons-cell .table-icon-button:hover {
    opacity: 0.8;
}

.table-buttons-cell .table-icon-button:focus {
    outline: none;
}

/*  */

/* BASE OF TABLES */
/* PAGGINATIONS */
/*  */
.pagination .page-link {
    color: #3a3a3a;
    background-color: white;
    border: 1px solid #ddd;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;

}

.pagination .page-link:hover {
    color: white;
    background-color: #3a3a3a;
    border-color: #3a3a3a;
    opacity: 0.9;
}

.pagination .page-link:focus {
    outline: none;
    box-shadow: none;
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.pagination .page-item.active .page-link {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
    color: white;
    font-weight: bold;
}

.pagination .page-item.disabled .page-link {
    color: #cccccc;
    background-color: #f9f9f9;
    border-color: #eeeeee;
}

.pagination .page-link {
    font-size: 0.9rem;
}



/*  */

/* LOADING OVERLAY */

/*  */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    /* Slightly transparent white */
    z-index: 10000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease-out;
    /* Smooth transition */

}

.spinner {
    border: 8px solid #f3f3f3;
    /* Light grey */
    border-top: 8px solid #3a3a3a;
    /* Dark grey */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.simple-loading-overlay {
    position: fixed;
    top: 15;
    right: 20;
    /* Slightly transparent white */
    z-index: 10000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
}

.simple-spinner {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid #3a3a3a;
    /* Dark grey */
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin 1s linear infinite;
}

.unsaved-icon-overlay {
    position: fixed;
    top: 20;
    right: 20;
    /* Slightly transparent white */
    z-index: 10000;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
}

.unsaved-icon {

    font-size: 2rem;

}


/* Updated particle style: bigger and more visible */
.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 1);
    /* Fully opaque white */
    border-radius: 50%;
    opacity: 1;
    pointer-events: none;
    animation: particleMove 1s ease-out forwards;
}

/* Particle movement animation */
@keyframes particleMove {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
    }
}

/* Pop animation for the final icon */
@keyframes pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.final-icon {
    font-size: 60px;
    color: white;
    animation: pop 0.5s ease-out;
    position: relative;
}




@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/*  */

/* DETAILED VIEW BOXES */

/*  */
/* Base styles (mobile-first) */
.det-view-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.det-view-container-home {
    display: flex;
    /* Flex container */
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    align-items: flex-start;
    /* Align boxes at the top */
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

/* Box Styling */
.det-view-box {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.det-view-box-home {
    flex: 0 0 49%;
    /* Two columns on desktop */
    /* Spacing between rows */
    box-sizing: border-box;

    /* The rest of your styles */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.det-view-box-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Center items vertically */
    justify-content: space-between;
    /* Optional: space between header and button */
    text-align: center;
    padding: 10px 10px;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
    overflow-y: hidden;
}

.det-view-box-second-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Center items vertically */
    justify-content: space-between;
    /* Optional: space between header and button */
    text-align: center;
    padding: 10px 10px;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
    border-top: 2px solid #ddd;
    overflow-y: hidden;
}


.det-view-box-header-container {
    display: inline-flex;
    gap: 7px;
    margin-left: auto;
    padding-left: 10px;
    white-space: nowrap;
}

.det-view-box-header-container a {
    margin: 0;
    padding: 0;
}

.det-view-box-header-button i {
    margin: 0;
    padding: 0;
    font-size: 1rem;
}


.det-view-box-content-title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Center items vertically */
    text-align: center;
    gap: 7px;
}

.det-view-box-content-title-container i {
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

/* Header Styling */
.det-view-box-header-home {
    padding: 15px 10px;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
    border-radius: 5px 5px 0 0;
    overflow-y: hidden;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.det-view-box-header-home h3,
.det-view-box-second-header h3,
.det-view-box-header h3 {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.det-view-box-footer {
    padding: 10px 10px;
    background-color: #fff;
    border-top: 2px solid #ddd;
    border-radius: 0 0 5px 5px;
    overflow-y: hidden;
    margin-top: auto;
}

.det-view-box-footer h3 {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    color: #333;
    margin: 0;
}



.date-button-selector {
    display: inline-block;
    background-color: #3a3a3a;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 10px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.date-button-selector:hover {
    opacity: 0.8;
    color: white;
}

.date-button-selector:focus {
    outline: none;
    border: none;
    box-shadow: none;
}


/* Content Styling */
.det-view-box-content {
    padding: 10px;
    flex: 1;
    overflow-x: auto;
}


.det-view-box-content p {
    padding: 0;
    margin: 0;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #333;
    font-size: 0.8rem;
    white-space: nowrap;
}

.description-container ul {
    list-style-type: disc;
    /* Add bullets */
    margin-left: 10px;
    /* Indent from the left */
    padding-left: 10px;
    /* Additional spacing for nested lists */
}

.description-container li {
    font-size: 0.8rem;
    /* Custom font size for list items */
    line-height: 1.2;
    /* Adjust line height */
    margin-bottom: 5px;
    /* Spacing between list items */
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
}

.description-container li b {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
}

/* Full-width box */
.det-view-full-width {
    width: calc(100% - 20px);
}

/* Half-width box */
.det-view-half-width {
    width: calc(50% - 20px);
    /* Ensures it doesn't grow beyond half */
}

/* Quarter-width boxes */
.det-view-quat-width {
    width: calc(25% - 20px);
    /* Ensures it doesn't grow beyond quarter */
}

/* Desktop: Two columns side-by-side */
.det-view-box-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  

.det-view-box-content-header {
    font-family: 'Faktum', sans-serif;
    font-weight: bold !important;
    font-style: normal;
    color: #333;
    font-size: 0.95rem !important;
}

.spacer2 {
    height: 2px;
}

.spacer5 {
    height: 5px;
}

.spacer10 {
    height: 10px;
}

.spacer20 {
    height: 20px;
}

.spacer30 {
    height: 30px;
}


.customer-details {
    padding: 10px 5px;
    padding-top: 15px;
    border: 1px solid #ccc;
    /* Add a light divider between items */
    border-radius: 5px;
    margin-top: 5px;

}

.customer-details p,
.customer-link {
    overflow-wrap: break-word;
    /* or */
    word-break: break-all;
    /* whichever suits your content best */
}

.customer-item {
    display: flex;
    align-items: center;
    /* Align items (text and button) vertically */
    padding: 10px 5px;
    border-bottom: 1px solid #ddd;
    /* Add a light divider between items */

}

.customer-item:last-child {
    border-bottom: none;
    /* Remove border for the last item */
}

.customer-item span {
    font-family: 'Faktum', sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    /* Slightly bold to improve readability */
    color: #3a3a3a;
    /* Neutral dark gray color */
    margin: 0;
    flex-grow: 1;
    /* Allow text to take up remaining space */
}

.customer-list {
    list-style: none;
    /* Remove bullet points */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    /* Subtle background color for the list */
    border: 1px solid #ccc;
    /* Border around the list */
    border-radius: 5px;
    /* Rounded corners */
    overflow: hidden;
    /* Clip content if it overflows */
    margin-top: 5px;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 5px 0;
}

.tag-bubble {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    color: #3a3a3a;
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    cursor: default;
    position: relative;
}


.remove-tag {
    margin-left: 7px;
    color: #aaa;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.remove-tag:hover {
    color: #3a3a3a;
}

.tag-selector-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-tags i {
    margin-left: 5px;
    font-size: 16px;
    color: #3a3a3a;
}

.customer-tags-list i {
    margin-left: 5px;
    font-size: 12px;
    color: #3a3a3a;
}

.customer-tags-list:hover,
.customer-tags i:hover {
    color: #000;
}

.customer-list-tag-bubble {
    display: inline-block;
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #3a3a3a;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}


.customer-list-tag-bubble:hover {
    opacity: 0.8;
    text-decoration: none;
    color: #3a3a3a;
}

.customer-list-tag-bubble.active {
    background: #136deb;
    color: #fff;
}

.unlink-button {
    background: none;
    /* No background */
    border: none;
    /* No border */
    color: #3a3a3a;
    /* Dark gray color for the X */
    font-weight: bold;
    /* Bold text */
    font-size: 0.8rem;
    /* Slightly larger size for visibility */
    cursor: pointer;
    /* Pointer cursor for interaction */
    opacity: 1;
    /* Default opacity */
    padding: 0;
    /* Remove padding for a simple look */
    margin: 0 5px;
    /* Adjust margins for proper alignment */
    line-height: 1;
    /* Adjust line height to match the text */
    transition: opacity 0.2s ease-in-out;
    /* Smooth opacity transition */
    display: flex;
    align-items: center;
    /* Vertically center the X */
}

.unlink-button:hover {
    opacity: 0.8;
    /* Reduce opacity on hover */
}

.unlink-button-order {
    background: none;
    border: none;
    color: #3a3a3a;
    /* Dark gray color for the X */
    font-weight: bold;
    /* Bold text */
    font-size: 0.8rem;
    /* Larger size for visibility */
    cursor: pointer;
    /* Pointer cursor for interaction */
    position: absolute;
    /* Position relative to the parent container */
    top: 5px;
    /* Space from the top */
    right: 5px;
    /* Space from the right */
    line-height: 1;
    /* Adjust line height */
    transition: opacity 0.2s ease-in-out;
    /* Smooth opacity transition */
}

.unlink-button-order:hover {
    opacity: 0.8;
    /* Reduce opacity on hover */
}

.unlink-button-order:focus,
.unlink-button-order:active {
    border: none;
    outline: none;
}

.customer-link {
    cursor: pointer;
    /* Changes the cursor to a pointer to indicate a clickable item */
    text-decoration: none;
    /* Optional: add underline to distinguish links */
    transition: opacity 0.2s ease-in-out;
    /* Smooth opacity transition */

}

.customer-link:hover {
    text-decoration: none;
    /* Optional: remove underline on hover */
    opacity: 0.8;
}

.verify-icon {
    margin-left: 5px;
    /* Space between the text and the icon */
    color: #3a3a3a;
    /* Neutral dark gray color for the icon */
    font-size: 0.8rem;
    /* Adjust the size of the icon */
    cursor: pointer;
    /* Pointer cursor for interaction */
    transition: color 0.2s ease-in-out;
    /* Smooth color transition on hover */
}

.verify-icon:hover {
    opacity: 0.8;
}

.order-extrafield-container {
    display: flex;
    align-items: center;
    /* Vertically align items */
    text-align: center;
    justify-content: space-between;
    gap: 5px;
    /* Add spacing between text and the selector */
    margin-bottom: 5px;
}

.order-extrafield-container p {
    background-color: white;
    color: #3a3a3a;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    outline: none;
    white-space: nowrap;
}

.order-extrafield-selector {
    background-color: white;
    color: #3a3a3a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    padding: 3px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    outline: none;
    width: 60%;

}

.order-extrafield-selector option:checked {
    background-color: #3a3a3a;
    color: white;
}

.order-extrafield-selector:focus {
    border-color: #3a3a3a;
    outline: none;
}


.order-extrafield-selector a:hover {
    background-color: #3a3a3a;
    color: white;
    outline: none;
}


.order-extrafield-textarea {
    font-size: 0.8rem;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    font-family: 'Faktum', sans-serif;
    padding: 3px 5px;
    line-height: 1.2;
    height: 10px;
    max-height: 100px;
    /* Optional: limit the maximum height */
    margin-bottom: 5px;
}

.pickup-table-home,
.return-table-home {
    display: inline-block;
    /* Ensure the box only expands to fit its content */
    width: 100%;
    /* Optional: If you want them to span full width for consistent layout */
    max-height: 100%;
    /* Prevent unnecessary expansion */
    overflow: hidden;
    /* Prevent content overflow */
    vertical-align: top;
    /* Align boxes to the top */
}

.pickup-table-home tbody:empty,
.return-table-home tbody:empty {
    display: none;
    /* Hide the table if it has no content */
}

/*  */

/* BASE OF PAGES */
/* ORDER ITEMS VIEW */

/*  */
.order-product-table {
    width: 100%;
}

.ord-itm-tb-left {
    text-align: left;
}

.ord-itm-tb-left-bundle-title {
    text-align: left;
    font-size: 0.8rem;
    padding-left: 40px;
}

.ord-itm-tb-center {
    text-align: center;
}

.ord-itm-tb-right {
    text-align: right;
}

.ord-itm-tb {
    width: 100%;
    border-collapse: collapse;
}

.ord-itm-tb th,
.ord-itm-tb td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.ord-itm-tb th {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    color: #3a3a3a;
    font-size: 0.95rem;
    vertical-align: center;
    white-space: nowrap;


}

.ord-itm-tb td {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #3a3a3a;
    font-size: 0.9rem;
    vertical-align: top;

}

.home-order-row:hover {
    cursor: pointer;
    /* Changes the cursor to a pointer */
    background-color: #f3f3f38c;
    transition: background-color 0.2s ease;
    /* Smooth transition */
}

.date-separator {
    background-color: #f0f0f0;
}


.ord-itm-tb-image-column {
    width: 50px;
    /* Narrow the column width to fit the image */
    text-align: start;
    padding: 0;
    /* Remove additional padding */
}

.ord-itm-tb-bundle-image-column {
    width: 50px;
    /* Keep this the same as the main product column */
    text-align: center;
    padding-left: 30px !important;
    /* Retain the left padding for bundle items */
}


.ord-itm-tb-bundle-title {
    font-size: 0.8rem !important;
    padding-left: 30px !important;
}

.ord-itm-tb-product-image {
    width: 80px;
    height: auto;
    margin: 0;
    padding: 0;
}

.ord-itm-tb-product-extra-information {
    display: none;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #ddd;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #3a3a3a;
    font-size: 0.7rem;
    word-break: normal;
}

.ord-itm-tb-product-create-update-date {
    display: flex;
    flex-direction: row;
}



.ord-itm-tb-product-create-update-date-text {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #3a3a3a63;
    font-size: 0.55rem;
    word-break: normal;
}

.ord-itm-tb-product-br-separator {
    line-height: 2px;
}

.ord-itm-tb-product-identifier-bubbles {
    display: none;
}

.ord-itm-tb-product-identifier-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 3px 8px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.6rem;
    margin-bottom: 2px;
}

.ord-itm-tb-product-identifier-bubble.draft {
    background-color: #ffff;
    border: 1px solid #d6d9db;
    color: black;
}

.ord-itm-tb-product-identifier-bubble.reserved {
    background-color: #edf5ff;
    border: 1px solid #136deb;
    color: #136deb;

}

.ord-itm-tb-product-identifier-bubble.started {
    background-color: #fff7eb;
    border: 1px solid #ecb766;
    color: #ecb766;
}

.ord-itm-tb-product-identifier-bubble.stopped {
    background-color: #f1fff3;
    border: 1px solid #79ad80;
    color: #79ad80;
}

.ord-itm-tb-product-identifier-warning {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    color: red;
}

.ord-order-tb-customer-name {
    font-family: 'Faktum', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    font-style: normal;
    white-space: nowrap;
    /* Prevent text from wrapping to the next line */
    overflow: hidden;
    /* Hide any text that overflows the container */
    text-overflow: ellipsis;
    /* Add the ellipsis (...) for overflowing text */
    display: inline-block;
    /* Ensure ellipsis works with inline content */
    max-width: 100%;
    /* Ensure it respects the parent container's width */
}


.ord-order-tb-time-bubble {
    display: inline-flex;
    align-items: center;
    /* Centers the clock icon and text vertically */
    justify-content: center;
    /* Ensures proper horizontal alignment */
    border-radius: 10px;
    padding: 4px 8px;
    font-family: 'Faktum', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    font-style: normal;
    margin-bottom: 2px;
    width: 85px;
    white-space: nowrap;
    /* Prevents wrapping of the text */
    line-height: 1;
    /* Ensures consistent text height */
}

.ord-order-tb-time-bubble i {
    margin-right: 5px;
    /* Adds space between the clock icon and the time text */
    font-size: 0.8rem;
    /* Ensures the icon size matches the text */
}

.ord-order-tb-time-bubble.default {
    background-color: #fff;
    border: 1px solid #d6d9db;
    color: black;
}

.ord-order-tb-time-bubble.hour {
    background-color: #fff6f6;
    border: 1px solid #e11010;
    color: #e11010;
}

.ord-order-tb-time-bubble.twohours {
    background-color: #fff7eb;
    border: 1px solid #ecb766;
    color: #ecb766;
}


.ord-itm-tb-product-status {
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 1px;
}

.ord-itm-tb-product-status.reserved {
    color: #136deb;
}

.ord-itm-tb-product-status.picked-up {
    color: #ecb766;
}

.ord-itm-tb-product-status.returned {
    color: #79ad80;
}

.ord-itm-tb-product-status.draft {
    color: grey;
}


.ord-itm-tb-product-section-row {
    background-color: #f9f9f9;
    font-weight: bold;
}

.ord-itm-tb-product-section-title {
    color: #3a3a3a;
    padding: 10px;
    font-size: 0.9rem;
}

/* Dynamic display for extra information and identifiers if data exists */
.ord-itm-tb td .ord-itm-tb-product-extra-information:empty,
.ord-itm-tb td .ord-itm-tb-product-identifier-bubbles:empty {
    display: none;
}

.ord-itm-tb td .ord-itm-tb-product-extra-information:not(:empty),
.ord-itm-tb td .ord-itm-tb-product-identifier-bubbles:not(:empty) {
    display: block;
}

.ord-itm-tb-product-barcode-entry {
    margin-bottom: 4px;
}

.ord-itm-tb-product-barcode-entry p {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.6rem;
    text-align: center;
    color: #3a3a3a;
}

.ord-itm-tb-product-barcode-image {
    width: 110px;
    height: auto;
}


/* Dashed line to separate each glass-product section */
.glass-product-divider {
    margin: 5px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

/* Desktop styles (≥768px) */
.glass-product-filter {
    display: flex;
    flex-wrap: wrap;
    /* keep them in one row if there's enough width */
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.filter-right {
    display: flex;
    width: 100%;
    margin-top: 1px;
}

/* Generic label styling */
.glass-product-filter p {
    margin: 0;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    white-space: nowrap;
    /* prevent the label text from wrapping */
}

/* The select element(s) */
.glass-product-filter-selector {
    font-family: 'Faktum', sans-serif;
    padding: 3px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 25px;
    height: 25px;
    font-size: 0.8rem;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    color: #3a3a3a;
}

/* The textarea note */
.glass-product-note {
    font-family: 'Faktum', sans-serif;
    width: 100%;
    /* fill the .filter-right container (desktop) */
    min-height: 25px;
    height: 25px;
    /* initial visible height */
    resize: vertical;
    /* user can manually resize vertically */
    text-align: left;
    padding: 3px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.8rem;
    outline: none;
    margin: 0;
    box-sizing: border-box;

    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Focus highlight */
.glass-product-filter-selector:focus,
.glass-product-note:focus {
    border-color: #3a3a3a;
    /* highlight border on focus */
}

/*  */

/* BASE OF PAGES */
/* ORDER ITEMS PRICE SUMMARY */

/*  */
.det-view-box-content-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-right: 20px;
}

.order-summary {
    display: flexbox;
    width: 15%;
    /* Takes 30% of the width */
    min-width: 300px;
    padding: 10px;
    font-family: 'Faktum', sans-serif;
    font-size: 0.8rem;
    color: #333;
    margin-left: auto;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.summary-label {
    font-weight: normal;
}

.summary-value {
    font-weight: normal;
}

.order-summary-item.total .summary-value {
    font-size: 1rem;
    color: #000;
    width: 100%;
    text-align: right;
}

.summary-divider {
    border: none;
    border-bottom: 1px solid #ddd;
    margin: 5px 0;
}


/*  */

/* BASE OF PAGES */
/* Products view */

/*  */
.product-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 2px 10px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    margin-bottom: 2px;
    text-transform: capitalize;

}

.product-status.expected {
    background-color: #ffff;
    border: 1px solid #d6d9db;
    color: black;
}

.product-status.started {
    background-color: #fff7eb;
    border: 1px solid #ecb766;
    color: #ecb766;
}

.product-status.in-house {
    background-color: #f1fff3;
    border: 1px solid #79ad80;
    color: #79ad80;
}


.product-warehouse-pos {
    display: inline-block;
    align-items: center;
    justify-content: center;
    padding: 5px 10px !important;
    font-family: 'Faktum', sans-serif;
    font-weight: bold !important;
    font-style: normal;
    font-size: 1.2rem !important;
    margin-bottom: 4px !important;
    text-align: center;
    /* Center-align text horizontally */
    line-height: 1.2;
    /* Adjust to control vertical alignment */
    text-transform: capitalize;
}

.product-warehouse-pos.has-data {
    background-color: #3a3a3a30;
    /* Only show background when there's data */
}


.product-addGlass-modal-searchresult {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #3a3a3a;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.5;
    /* Adjust to control vertical alignment */
    text-decoration: none;
    outline: none;
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
    margin-top: 10px;
}


.product-addGlass-modal-searchresult-checkbox {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    cursor: pointer;
    appearance: none;

}

.product-addGlass-modal-searchresult-checkbox:checked {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.product-addGlass-modal-searchresult-checkbox:checked::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
}


.product-addGlass-modal-added-checkbox {
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-addGlass-modal-added-checkbox:checked {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.product-addGlass-modal-added-checkbox:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
}



/* Styling for the note container */
.note-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 15px;
}

/* Styling for each individual note bubble */
.note-bubble {
    position: relative;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.2;
    color: #3a3a3a;
}

/* Styling for the header section within each note bubble */
.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

/* Styling for the date in the note header */
.note-date {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.7rem;
    color: #3a3a3a;
}

/* Styling for the delete button in the top-right corner */
.note-delete-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.note-delete-button:hover {
    color: #3a3a3a;
}

/* Styling for the body content of the note */
.note-body p {
    margin: 0;
    margin-right: 10px;
    word-wrap: break-word;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-size: 0.7rem;
}

.add-note-container {
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
}

.note-not-found {
    margin: 0 auto;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-size: 0.8rem;
    text-align: center;
}



/*  */

/* BASE OF CLEAN PAGES */

/*  */


.content-main-clean {
    flex-grow: 1;
    box-sizing: border-box;
    padding: 10px;
}

.logo-section-middle {
    display: flex;
    /* Enables flexbox */
    justify-content: center;
    /* Centers horizontally */
    align-items: center;
    /* Centers vertically */
    box-sizing: border-box;
    /* Ensures padding/borders are included in height */
    margin: 0;
    /* Removes default margins */
    padding-top: 20px;
    padding-bottom: 15px;

}

.clean-page-title {
    text-align: center;
    white-space: nowrap;
    font-family: 'Faktum', sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.clean-page-title-info {
    text-align: center;
    white-space: nowrap;
    font-family: 'Faktum', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: normal;
    padding: 0;
    margin: 0;
}


.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

.toggle-password:hover {
    opacity: 0.8;
}

.lost-password-text a {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    color: #136deb;
}

.lost-password-text a:hover {
    opacity: 0.8;
    text-decoration: none;
}




.basic-big-button {
    align-items: center;
    /* Vertically center the content */
    justify-content: center;
    /* Horizontally center the content */
    background-color: #3a3a3a !important;
    border-color: #3a3a3a !important;
    color: white;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    border-radius: 5px;
    /* Optional: Adds rounded corners to the button */
    text-decoration: none;
    /* Optional: Removes underline from links if button is a link */
    white-space: normal;
    /* Allow text wrapping */
    text-align: center;
    /* Center text horizontally */
    overflow: hidden;
    /* Prevent text from overflowing */
    margin: 2px 0px;
    /* Adds vertical margin for clarity */
    margin-right: 5px !important;
    width: auto;
    /* Adjust width to fit content or full width */
    font-size: 12px;
    /* Smaller font size */
    padding: 5px 10px;
    /* Smaller padding */
    min-height: 35px;
    /* Minimum height to accommodate two lines */
}

.add-button,
.copy-button,
.view-button,
.edit-button,
.upload-button,
.email-button,
.delete-button,
.basic-small-button {
    align-items: center;
    /* Vertically center the content */
    justify-content: center;
    /* Horizontally center the content */
    background-color: #3a3a3a;
    border-color: #3a3a3a;
    color: white;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    border-radius: 5px;
    /* Optional: Adds rounded corners to the button */
    text-decoration: none;
    /* Optional: Removes underline from links if button is a link */
    white-space: normal;
    /* Allow text wrapping */
    text-align: center;
    /* Center text horizontally */
    overflow: hidden;
    /* Prevent text from overflowing */
    margin: 2px 1px;
    /* Adds vertical margin for clarity */
    width: auto;
    /* Adjust width to fit content or full width */
    font-size: 12px;
    /* Smaller font size */
    padding: 5px 10px;
    /* Smaller padding */
    min-height: 20px;
    /* Minimum height to accommodate two lines */
}

.add-button:hover,
.copy-button:hover,
.view-button:hover,
.upload-button:hover,
.email-button:hover,
.delete-button:hover,
.edit-button:hover,
.basic-big-button:hover,
.basic-small-button:hover {
    opacity: 0.90;
    color: #ffffffb5;

}

.add-button {
    background-color: #3a3a3a;
    /* Example: Blue */
    border-color: #3a3a3a30;
    color: white;
}

.copy-button {
    background-color: #f37521;
    /* Example: Blue */
    border-color: #3a3a3a30;
    color: white;
}

.view-button {
    background-color: #494949;
    /* Example: Gray */
    border-color: #3a3a3a30;
    color: white;
}

.edit-button {
    background-color: #FFC107;
    /* Example: Amber */
    border-color: #3a3a3a30;
    color: white;
}

.upload-button {
    background-color: #0062ff;
    /* Example: Amber */
    border-color: #3a3a3a30;
    color: white;
}

.email-button {
    background-color: #7b07ff;
    /* Example: Amber */
    border-color: #3a3a3a30;
    color: white;
}

.delete-button {
    background-color: #e11010;
    /* Example: Red */
    border-color: #3a3a3a30;
    color: white;
}



/*  */

/* BASE OF NOTIFICATIONS */


/*  */
.notification-container {
    position: fixed;
    top: 85px;
    /* Adjust based on your search bar's position */
    right: 20px;
    z-index: 9999;
    width: 350px;
    max-width: 350px;
    max-height: 100vh;
    overflow-y: auto;
}

.notification-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    padding-right: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-20px);
    opacity: 0;
    max-width: 350px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    /* Changed from break-all */
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: normal;
}


.notification-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-bar.hide {
    transform: translateY(-20px);
    opacity: 0;
}


.notification-bar .notification-close {
    position: absolute;
    /* Position relative to the notification bar */
    top: 5px;
    /* Adjust to position close to the top */
    right: 10px;
    /* Adjust to position close to the right edge */
    cursor: pointer;
    font-size: 16px;
    color: inherit;
    /* Use inherited color */
    background: none;
    /* Remove background */
    border: none;
    /* Remove borders */
}

.notification-bar.success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.notification-bar.error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.notification-bar.warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #8a6d3b;
}

.notification-bar.info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}




/* Base styling for the modal */
.email-menu-modal .modal-dialog {
    max-width: 50%;
    /* Makes the modal wider */
    width: 50%;
    /* Ensures the modal takes 90% of the screen width */
    margin: 0 auto;
    /* Centers the modal horizontally */
    height: 80%;
    /* Sets the height to 90% of the screen */
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-menu-modal label {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
    color: #3a3a3a;
}

.email-menu-modal input {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
    margin: 0;
    padding: 5px;
    color: #3a3a3a;
    border: 1px solid #3a3a3a;
}

.email-menu-modal textarea {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
    margin: 0;
    padding: 5px;
    color: #3a3a3a;
    border: 1px solid #3a3a3a;
}

/* Focus highlight */
.email-menu-modal input:focus,
.email-menu-modal textarea:focus {
    border-color: #3a3a3a;
    /* highlight border on focus */
}

.email-menu-modal .modal-content {
    height: 100%;
    /* Ensures the content fills the modal */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    overflow: hidden;
    /* Adjust spacing within the modal content */
}

.email-menu-modal .modal-body {
    overflow-y: auto;
    /* Adds scroll if content exceeds height */
    flex-grow: 1;
    /* Allows the body to take up available space */
}

.email-menu-modal .modal-header,
.email-menu-modal .modal-footer {
    flex-shrink: 0;
    /* Keeps header and footer size consistent */
}

.email-menu-modal .modal-title {
    border-bottom: none;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.1rem;
    margin: 0;

}

.email-menu-modal hr {
    border-top: 1px solid #ddd;
    margin: 0;
}

/* Close button styling */
.email-menu-modal .close {
    font-size: 24px;
    color: #3a3a3a;
    cursor: pointer;
}

.email-menu-modal .close:hover {
    opacity: 0.9;
    color: #3a3a3a;
}

.email-menu-modal .close:focus {
    outline: none;
    color: #3a3a3a;
    border: none;
}

.email-menu-modal .modal-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    justify-content: center;
    vertical-align: middle;
}

.select-files-email {
    display: inline-block;
    background-color: #136deb;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 100%;
    text-decoration: none;
    white-space: normal;
}

.select-files-email:hover {
    opacity: 0.8;
    color: white;
}

.select-files-email:focus {
    outline: none;
    border: none;
}


.file-names-email {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    color: #3a3a3a;
    text-align: center;
    margin-top: 3px;

}

.file-names-email p {
    margin: 2px 0;
    /* Adjust as needed */
    padding: 0;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
}

.email-btn {
    display: inline-block;
    background-color: #3a3a3a;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 30%;
    text-decoration: none;
    white-space: normal;
}

.email-btn:hover {
    opacity: 0.8;
    color: white;
}

.email-btn:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.email-btn.email-btn-blue {
    background-color: #136deb;
    color: white;
}

.email-btn.email-btn-red {
    background-color: #e11010;
    color: white;
}

.email-btn.email-btn-orange {
    background-color: #ff9800;
    color: white;
}

.email-btn.email-btn-green {
    background-color: #4caf50;
    color: white;
}

.copy-email-btn {
    display: inline-block;
    background-color: #3a3a3a;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 5px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.75rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    margin: 2px;
    min-width: 30%;
}

.copy-email-btn:hover {
    opacity: 0.8;
    background-color: #3a3a3a;
    color: white;
}

.copy-email-btn:focus {
    outline: none;
    background-color: #3a3a3a;
    border: none;
}

.copy-email-btn:focus {
    outline: none;
    box-shadow: none;
    background-color: #3a3a3a;
}

.email-template-dropdown {
    background-color: white;
    color: #3a3a3a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    padding: 8px 5px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
    width: 100%;
    outline: none;

}

/* Styling for the file list */
#existingFilesList {
    max-height: 150px;
    /* Set a maximum height for the list */
    overflow-y: auto;
    /* Enable vertical scrolling if needed */
    border: 1px solid #3a3a3a;
    /* Optional: Add a border around the list */
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    /* Optional: Light background for better contrast */
}

/* File items styling */

#existingFilesList li {
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Styling for the file list labels */
#existingFilesList li label {
    font-family: 'Faktum', sans-serif;
    /* Use the desired font */
    font-weight: normal;
    /* Adjust weight: normal, bold, etc. */
    font-style: normal;
    /* Adjust style: normal, italic, etc. */
    font-size: 0.9rem;
    /* Adjust font size for better readability */
    color: #3a3a3a;
    /* Adjust text color */
    margin: 0;
    padding: 0;
    margin-top: 1px;
    cursor: pointer;
    /* Ensures the label is clickable */
}





.unlink-button-order-email {
    background: none;
    border: none;
    color: #3a3a3a;
    /* Dark gray color for the X */
    font-weight: bold;
    /* Bold text */
    font-size: 0.7rem;
    /* Larger size for visibility */
    cursor: pointer;
    /* Pointer cursor for interaction */
    line-height: 1;
    /* Adjust line height */
    transition: opacity 0.2s ease-in-out;
    /* Smooth opacity transition */
    margin-right: 3px;
}

.unlink-button-order-email:hover {
    opacity: 0.8;
    /* Reduce opacity on hover */
}

.unlink-button-order-email:focus,
.unlink-button-order-email:active {
    border: none;
    outline: none;
}

.copy-email-btn-section {
    display: flex;
    flex-direction: column;
    margin: 2px;
    width: 30%;
    max-width: 30%;
}

.copy-email-btn-label {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 0.7rem;
    color: #3a3a3a;
}

.copy-email-group {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
}




.identifier-item-pickup,
.identifier-item-return {
    display: flex;
    align-items: center;
    /* Vertically aligns checkbox and text */
    white-space: nowrap;
    /* Prevents line breaks within each identifier */
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    padding: 5px 10px;
    margin-top: -10px;
    background-color: white;
}

.identifier-item-pickup:hover,
.identifier-item-return:hover {
    cursor: pointer;
}

.identifier-checkbox-pickup,
.identifier-checkbox-return {
    appearance: none;
    /* Remove default checkbox styles */
    width: 10px;
    /* Adjust size */
    height: 10px;
    /* Adjust size */
    border: 1px solid #3a3a3a;
    /* Border color */
    border-radius: 50%;
    /* Make it a circle */
    background-color: transparent;
    /* Default background */
    cursor: pointer;
    /* Add a pointer cursor */
    transition: all 0.3s ease;
    /* Smooth transition for effects */
}

.identifier-checkbox-pickup:checked,
.identifier-checkbox-return:checked {
    background-color: #3a3a3a;
    /* Fill color when checked */
    border: 1px solid #3a3a3a;
    /* Optional: Keep border consistent */
}


.identifier-checkbox-text {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.6rem;
    /* Adjust font size */
    margin-top: 2px;
    padding-left: 3px;
}

/* Table Styling */
.product-table {
    width: 100%;
    border-collapse: collapse;
}

/* Table Rows */
.product-table tr {
    border-bottom: 1px solid #ddd;
    /* Optional: Add a border between rows */
}

/* First Column: Left-Aligned Text */
.product-title-wrapper {
    text-align: left;
    /* Align text to the left */
    vertical-align: middle;
    /* Vertically center text */
    justify-content: center;
    padding: 10px 15px;
}

/* First Column: Left-Aligned Text */
.product-title {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    /* Adjust font size */
}


.discount-order-selector input {

    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.8rem;
    /* Adjust font size */
}

.discount-order-selector {
    width: 60px;
    height: 20px;
    /* Set a fixed width for the selector */
    text-align: center;
    /* Center the number within the input box */
    border: 1px solid #ddd;
    border-radius: 4px;
}

.discount-order-selector:focus {
    outline: none;
    /* Remove the default outline */
    border: 1px solid #3a3a3a;
}


.selectall-pickup-btn {
    display: inline-block;
    background-color: #136deb;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.7rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.selectall-pickup-btn:hover {
    opacity: 0.8;
    color: white;
}

.selectall-pickup-btn:focus {
    outline: none;
    border: none;
}

.error-section {
    border-bottom: 1px solid #ddd;
    padding: 10px 15px;
}

/* Every second .error-section */
.error-section:nth-child(2n) {
    background-color: #ccccccbe;
    /* Light gray or any color you prefer */
}

.error-section h5 {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0;
}

.error-section p {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-size: 0.8rem;
    margin: 0;
}


/*  */

/* File manager */

/*  */

.navigation-path {
    font-family: 'Faktum', sans-serif;
    font-size: 1.1rem;
    color: #3a3a3a;
    white-space: nowrap;
}

.navigation-path p {
    margin: 0;
    padding: 0;
}

.navigation-path a {
    text-decoration: none;
    color: #3a3a3a;
    font-weight: bold;
    margin: 0;
}

.navigation-path a:hover {
    text-decoration: none;
    opacity: 0.8;
}


.folder-list {
    list-style-type: none;
    /* Remove default bullets */
    padding: 0;
    /* Remove default padding */
    margin: 0;
    /* Remove default margin */
}

.folder-list li {
    padding: 5px 10px;
    /* Add spacing around each item */
    border: 1px solid #ddd;
    /* Add a light border */
    border-radius: 5px;
    /* Round the corners */
    margin-bottom: 7px;
    /* Space between items */
    background-color: #f9f9f9;
    /* Light background for items */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* Smooth hover transition */
}

.folder-list li:hover {
    background-color: #f1f1f1;
    /* Slightly darker background on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Add a subtle shadow */
}

.folder-list a {
    text-decoration: none;
    /* Remove underline from links */
    color: #3a3a3a;
    /* Dark text color */
    font-weight: normal;
    /* Medium font weight */
    display: flex;
    /* Use flexbox for icon and text alignment */
    align-items: center;
    /* Vertically align the icon and text */
}

.folder-list a:hover {
    opacity: 0.8;
    /* Change text color on hover */
}

.folder-list i {
    font-size: 1rem;
    /* Size of the folder icon */
    margin-right: 5px;
    /* Space between the icon and text */
    color: #3a3a3a;
    /* Golden color for folder icons */
    transition: color 0.3s ease;
    /* Smooth icon color transition */
}

.folder-list a:hover i {
    opacity: 0.8;
    /* Slightly darker color for the icon on hover */
}



.folder-tree {
    font-family: 'Faktum', sans-serif;
    overflow-y: auto;
    list-style: none;
    font-size: 1.5rem;
    color: #3a3a3a;
    font-weight: normal;
}

.folder-item {
    display: block;
    /* Ensure each folder item is displayed in its own row */
    cursor: pointer;
    font-family: 'Faktum', sans-serif;
}

.folder-item:hover {
    opacity: 1;
    /* Ensure parent hover doesn't affect children */
}

.folder-item .toggle-icon {
    font-size: 1rem;
    cursor: pointer;
    margin-right: 3px;
}

.folder-item .folder-name {
    margin-left: 5px;
    display: inline-block;
    transition: opacity 0.2s ease, color 0.2s ease;
    font-family: 'Faktum', sans-serif;
}

/* Apply hover effect only on the .folder-name element being hovered */
.folder-name:hover {
    opacity: 1;
    color: black;
    /* Optional: Change color on hover */
    text-decoration: none;
    /* Optional underline for better visibility */
}

/* Prevent hover effects from propagating to parents or siblings */
.folder-children {
    margin-left: 25px;
    /* Indent children below parent */
    display: block;
    /* Initially hidden */
    font-family: 'Faktum', sans-serif;
}

.folder-children .folder-item:hover {
    opacity: 1;
    /* Ensure hover only applies to current .folder-item */
}


.transactions-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 10px;
    padding-top: 4px;
    padding-bottom: 2px;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    width: 130px;
    text-transform: capitalize;
    text-align: center;
}

.transactions-status.lightgray {
    background-color: #ffff;
    border: 1px solid #d6d9db;
    color: black;
}

.transactions-status.blue {
    background-color: #edf5ff;
    border: 1px solid #136deb;
    color: #136deb;

}

.transactions-status.orange {
    background-color: #fff7eb;
    border: 1px solid #ecb766;
    color: #ecb766;
}

.transactions-status.green {
    background-color: #f1fff3;
    border: 1px solid #79ad80;
    color: #79ad80;
}

.transactions-status.red {
    background-color: #ffd0d0;
    border: 1px solid #e11010;
    color: #e11010;
}

.transactions-status.gray {
    background-color: #d6d9db;
    border: 1px solid #d6d9db;
    color: black;
}

.transactions-group-header {
    background-color: #e9e9e9 !important;
    color: black !important;
    font-weight: bold;

}

.transactions-order-row {
    background-color: #fff !important;
    color: #000 !important;
}


.transactions-checkbox-list {
    list-style-type: none;
    padding: 0;
    margin: 5px 0;
    width: 100%;
    border: 1px solid #3a3a3a;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;

}

.transactions-scrollable-list {
    max-height: 200px;
    /* Adjust height as needed */
    overflow-y: auto;
    /* Enable vertical scrolling */
    margin: 0;
}

.transactions-checkbox-list li {
    display: flex;
    align-items: center;
    gap: 3px;
}

.transactions-file-checkbox {
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    margin-right: 10px;
    flex-shrink: 0;
}

.transactions-file-checkbox:checked {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.transactions-file-checkbox:checked::before {
    content: "";
    border-radius: 3px;
}


.transactions-checkbox-list li label {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    color: #3a3a3a;
    margin: 0;
    padding: 0;
    margin-top: 2px;
    margin-left: 3px;
    cursor: pointer;
}

.transactions-file-prefix {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 0.75rem;
    color: #3a3a3a;
    margin: 5px 0 0 0;
    padding: 0;
}


.transactions-two-columns {
    display: flex;
    gap: 20px;
    /* Optional spacing between columns */
}

/* For desktop: first column 2/3, second 1/3 */
.transactions-two-columns>.col-2-3 {
    flex: 0 0 66.66%;
}

.transactions-two-columns>.col-1-3 {
    flex: 0 0 33.33%;
}

.transactions-summary {
    display: flexbox;
    /* Takes 30% of the width */
    font-family: 'Faktum', sans-serif;
    font-size: 0.8rem;
    color: #333;
    margin-left: auto;
}

.payment-list {
    max-height: 180px;
    min-height: 180px;
    overflow-y: auto;
    padding-right: 10px;
    /* for some spacing for the scrollbar */
}

.payment-entry {
    position: relative;
    padding-right: 30px;
    /* Extra right padding so the X doesn't overlap the content */
    margin-bottom: 5px;
}

.payment-datetime {
    font-family: 'Faktum', sans-serif;
    font-size: 0.65rem;
    color: #3a3a3a;
    margin-bottom: -5px;
    padding: 0;
}

.payment-type-price {
    font-size: 0.8rem;
    color: #3a3a3a;
    margin: 0;
    padding: 0;
}

.payment-remove-btn {
    position: absolute;
    top: 0;
    /* adjust as needed */
    right: 0;
    /* adjust as needed */
    cursor: pointer;
    font-size: 0.8rem;
    color: #3a3a3a;
    background: #fff;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-remove-btn:hover {
    cursor: pointer;
    opacity: 0.8;
}

.payment-separator {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 5px 0;
}

.totalPaidDisplay {
    font-size: 0.85rem;
    color: #3a3a3a;
    text-align: left !important;
    margin: 0;
    padding: 0;
}





.transactions-order-comments {
    height: 75vh;
    /* add vertical scrolling if needed */
}

#commentsList,
.transactions-comment-item,
.transactions-comment-text {
    white-space: normal !important;
    /* Allows normal wrapping */
    overflow-wrap: break-word !important;
    /* Standard property for breaking long words */
    word-wrap: break-word !important;
    /* For older browsers */
    word-break: normal;
}

#commentsList {
    overflow-y: auto;
    padding-right: 5px;
    max-height: 75vh;
    /* or set a fixed height, e.g., 300px */
}


/* Each individual comment item */
.transactions-comment-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.transactions-comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Comment text and metadata */
.transactions-comment-username {
    font-family: 'Faktum', sans-serif;
    font-size: 0.7rem;
    color: #3a3a3a;
    margin-bottom: -3px;
}

.transactions-comment-text {
    font-family: 'Faktum', sans-serif;
    font-size: 0.9rem;
    color: black;
}

.transactions-comment-filename {
    padding: 3px 5px;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.transactions-comment-filename a {
    color: #3a3a3a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
}

.transactions-comment-filename a:hover {
    text-decoration: none;
    cursor: pointer;
    color: black;
}

.transactions-comment-remove-icon {
    float: right;
    /* Positions icon at the top-right of the container */
    color: #3a3a3a;
    opacity: 0.5;
    margin-left: 8px;
    /* Spacing if you need some separation from text */
}

.transactions-comment-remove-icon:hover {
    cursor: pointer;
    opacity: 0.8;
}


/* Container for the comment box */
.fo-addcomment-box {
    border-radius: 8px;
    color: #3a3a3a;
    width: 100%;
    /* Adjust to your layout */
    font-family: 'Faktum', sans-serif;
}

.fo-addcomment-input-row {
    position: relative;
    /* allows icon to be positioned absolutely */
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    padding: 5px;
    padding-right: 30px;
}

#fo-addcomment-text {
    display: block;
    width: 100%;
    min-height: 40px;
    /* initial height */
    max-height: 200px;
    /* limit so it doesn't grow too large */
    resize: none;
    /* let JS handle the resizing */
    overflow-y: auto;
    /* hide scrollbar if text is short */
    background: transparent;
    border: none;
    color: black;
    font-size: 0.9rem;
    outline: none;
    padding: 0;
    /* or 0 5px if you want more horizontal padding */
    box-sizing: content-box;
}

/***** ATTACH ICON *****/
.fo-addcomment-attach-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #3a3a3a;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    opacity: 0.8;
}

.fo-addcomment-attach-button:hover {
    opacity: 1;
    outline: 0;
    box-shadow: none;
}

.fo-addcomment-attach-button:focus,
.fo-addcomment-attach-button:active {
    box-shadow: none;
    outline: 0;
}


/* Attached files list container */
.fo-addcomment-attached-files-list {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

/* Each attached file item */
.fo-addcomment-file-item {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    padding: 3px 5px;
    margin-bottom: 5px;
}

.fo-addcomment-file-item span {
    margin-left: 5px;
    font-family: 'Faktum', sans-serif;
    font-size: 0.9rem;
    margin-right: auto;
    color: #3a3a3a;
}

/* Trash icon to remove a file */
.fo-addcomment-remove-file {
    color: #e11010;
    font-size: 1rem;
}

.fo-addcomment-remove-file:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Action buttons row */
.fo-addcomment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    gap: 5px;
}

.fo-addcomment-cancel-btn {
    display: inline-block;
    background-color: #e11010;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 20px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.fo-addcomment-submit-btn {
    display: inline-block;
    background-color: #136deb;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 20px;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.fo-addcomment-cancel-btn:hover,
.fo-addcomment-submit-btn:hover {
    opacity: 0.8;
    color: white;
}

.fo-addcomment-cancel-btn:focus,
.fo-addcomment-submit-btn:focus {
    outline: none;
    border: none;
    box-shadow: none;
}



/* Suggestion box */
.fo-addcomment-suggestion-box {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
}

.fo-addcomment-suggestion-item {
    color: #3a3a3a;
    font-family: 'Faktum', sans-serif;
    font-size: 0.9rem;
    padding: 3px 3px;
}

.fo-addcomment-suggestion-item:hover {
    color: black;
    cursor: pointer;
}


.fo-addcomment-notify {
    display: flex;
    align-items: top;
    gap: 10px;
    margin-bottom: 10px;
}

.fo-addcomment-notify p {
    margin: 0;
    font-weight: bold;
}

.fo-addcomment-notify-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.fo-addcomment-notify-box {
    background-color: #3a3a3a;
    color: #fff;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.fo-addcomment-notify-box .remove-notify {
    margin-left: 7px;
    cursor: pointer;
    font-weight: bold;
}


.fo-addcomment-notify-title {
    color: #3a3a3a;
    font-family: 'Faktum', sans-serif;
    font-size: 0.85rem;
}

.fo-addcomment-hint {
    color: #3a3a3a;
    font-family: 'Faktum', sans-serif;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
    margin-top: 2px;
}



.notifications-container {
    max-width: 900px;
    padding: 10px;
    margin: auto;
}

/* Header area with "Notifications" title and filter links */
.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 10px;
}


.notifications-filter {
    display: flex;
    gap: 5px;
    border: 1px solid #3a3a3a;
    border-radius: 15px;
    padding: 5px 8px;
}

.notifications-filter a {
    color: #3a3a3a;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #444;
    border-radius: 20px;
    font-family: 'Faktum', sans-serif;
    font-size: 0.7rem;
    transition: background-color 0.2s;
}


.notifications-filter a:hover,
.notifications-filter a.active {
    background-color: #3a3a3a;
    color: white;
}





/* Notification list container */
.notifications-list {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow-y: auto;
    gap: 3px;
    padding-right: 5px;
}

/* Individual notification item */
.notification-item {
    position: relative;
    /* so we can place an absolutely-positioned element inside */
    display: flex;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    border-left: 4px solid #3a3a3a;
    border-left-color: #3a3a3a;
    margin-bottom: 5px;
    transition: border-left-color 0.2s;
}


.notification-item:hover {
    background-color: #f3f3f3;
    cursor: pointer;
}

/* If unseen, use a red border. */
.notification-item.unseen {
    border-left-color: #e11010 !important;
    transition: border-left-color 0.2s;
}

/* Mark as read circle */
.notification-mark-read {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    z-index: 1000;
}

.notification-mark-read:hover {
    transform: scale(0.9);
    background-color: #3a3a3a;
}

.notification-mark-all-read:focus,
.notification-mark-all-read {
    background: none;
    border: none;
    outline: none;
    color: #3a3a3a;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.notification-mark-all-read:hover {
    opacity: 0.8;
}



/* Content area inside each notification */
.notification-content {
    margin-left: 5px;
    flex: 1;
}

.notification-title {
    font-weight: bold;
    font-family: 'Faktum', sans-serif;
    font-size: 1rem;
}

.notification-text {
    margin-bottom: 5px;
    font-family: 'Faktum', sans-serif;
    font-size: 0.9rem;
}

.notification-date {
    font-size: 0.65rem;
    font-family: 'Faktum', sans-serif;
    color: #3a3a3a;
    opacity: 0.9;
}


.transactions-summary {
    display: flexbox;
    width: 100%;
    font-family: 'Faktum', sans-serif;
    font-size: 0.8rem;
    color: #333;
    margin-left: auto;
}

.transactions-summary-item {
    display: flex;
    margin-bottom: 5px;
}

.finished-summary-label {
    font-weight: normal;
    margin-right: auto;
}

.finished-summary-value {
    font-weight: normal;
}

.det-view-box-content-button i {
    text-decoration: none;
    color: #3a3a3a;
    font-size: 15px;
    margin-right: 3px;
}

.det-view-box-content-button i:hover {
    opacity: 0.8;
    color: #3a3a3a;
    text-decoration: none;
    cursor: pointer;
}



.det-view-box-extensions-content-header {
    width: 100%;
    height: 35px;
    display: flex;
    /* používa flexbox */
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: #3a3a3a;
    background-color: #e9e9e9;
    justify-content: flex-start;
    /* text zarovnaný doľava */
    align-items: center;
    /* vertikálne centrovanie */
    padding: 0 10px;
    /* 5px padding hore a dole, 10px po stranách */
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    /* zahrnú padding a border do šírky/ výšky */
    margin: 0 auto;
    /* ak je potrebné, kontajner bude centrovaný horizontálne */
}

.det-view-box-extensions-content {
    flex: 1;
}

.det-view-box-extensions-btn-info {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.7rem;
    padding: 0;
    line-height: 1;
}







@media screen and (max-width: 768px) {


    .transactions-order-comments {
        max-height: 300px;
        height: 300px;
        /* add vertical scrolling if needed */
    }


    #commentsList {
        max-height: 300px;
        /* or set a fixed height, e.g., 300px */
        height: 300px;
    }

    .transactions-two-columns {
        flex-direction: column;
    }

    .transactions-two-columns>div {
        flex: 0 0 100%;
    }

    .header-content {
        flex-direction: column;
        align-items: start;
        gap: 1px;
        margin-left: 10px;
    }

    .header-title {
        margin-left: 0;
    }

    .daterangepicker .ranges {
        font-size: 0.9rem !important;
        /* Adjust font size for readability on mobile */
    }

    .daterangepicker .drp-calendar {
        font-size: 0.8rem !important;
    }

    .daterangepicker .applyBtn,
    .daterangepicker .cancelBtn {
        font-size: 0.8rem !important;
        /* Adjust button size */
        padding: 5px 10px !important;
        /* Reduce padding for smaller screens */
    }


    .det-view-box-home {
        flex: 0 0 100%;
    }

    .date-button-selector {
        max-width: 200px;
        min-width: 100px;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .ord-order-tb-time-bubble,
    .ord-order-tb-customer-name {
        font-size: 0.8rem;
    }

    .ord-order-tb-time-bubble {
        width: 65px;
    }


    .det-view-box-header-home h3 {
        font-family: 'Faktum', sans-serif;
        font-weight: bold;
        font-style: normal;
        font-size: 0.9rem;
        color: #333;
        margin: 0;
    }

    .navigation-path {
        font-size: 0.9rem;

    }

    .folder-list i {
        font-size: 0.8rem;
        /* Size of the folder icon */

    }

    .folder-tree {
        font-size: 1.2rem;
    }

    .folder-item .toggle-icon {
        font-size: 0.9rem;
    }

    .identifier-checkbox-text {
        font-size: 0.55rem;
        /* Adjust font size */
    }

    .product-title {
        font-size: 0.8rem;
        /* Adjust font size */
    }

    .quantity-selector-wrapper input {
        font-size: 0.8rem;
        /* Adjust font size */
    }

    .quantity-text {
        font-size: 0.8rem;
        /* Adjust font size */
    }

    .error-section h5 {
        font-size: 0.8rem;
    }

    .error-section p {
        font-size: 0.75rem;
    }

    .email-menu-modal .modal-dialog {
        width: calc(100% - 100px);
        /* Full width minus the sidebar margin */
        max-width: calc(100% - 100px);
        /* Ensures no horizontal overflow */
        margin: 80px auto 0 80px;
        /* 50px margin from the top, 90px from the left for the sidebar */
        height: calc(100% - 90px);
        /* Full height minus space for the top header */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .copy-email-btn {
        font-size: 0.7rem;
        width: 100%;
    }

    .email-btn {
        width: 100%;
    }

    .email-menu-modal .modal-content {
        height: 100%;
        /* Ensures the content fills the modal */
    }

    .email-menu-modal .modal-title {
        font-size: 1rem;
        text-align: center;
        /* Center the modal title */
    }

    .email-menu-modal .close {
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 15px;
    }

    #existingFilesList {
        max-height: 150px;
        /* Adjust height for mobile */
    }


    /* Styling for the file list labels */
    #existingFilesList li label {
        font-size: 0.7rem;
        /* Adjust font size for better readability */
        margin-top: 1px;
    }

    .glass-product-filter p {
        font-size: 0.6rem;
    }

    .glass-product-note {
        min-height: 35px;
        height: 30px;
        font-size: 0.7rem;
    }

    /* If you want the text in the select to not shrink too small on mobile: */
    .glass-product-filter-selector {
        font-size: 0.6rem;
    }

    .copy-email-group {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .copy-email-btn-section {
        width: 100%;
        max-width: 100%;
    }

    .document-template-dropdown,
    .email-template-dropdown {
        height: 30px;

    }

    .existing-file-checkbox-email {
        width: 16px;
        height: 16px;
    }


    .existing-file-checkbox-email:checked::before {
        width: 12px;
        height: 12px;
    }

    .file-item-email {
        margin-top: -2px;
    }

    .file-item {
        margin-top: 0px;
    }

    .file-item a {
        margin-top: 1px;
    }

    .file-checkbox {
        width: 18px;
        height: 18px;
    }

    .file-checkbox:checked::before {
        width: 14px;
        height: 14px;
    }

    .file-name {
        margin-top: 3px;
    }

    .filter-menu {
        width: calc(100% - var(--sidebar-collapsed-width));
        /* Full width minus sidebar width */
        left: var(--sidebar-collapsed-width);
        /* Offset to start right of the sidebar */
        transition: left 0.3s ease;
        margin-left: var(--sidebar-collapsed-width);

    }

    .filter-menu.visible {
        left: var(--sidebar-collapsed-width);
        /* Ensures alignment when visible */
    }

    .search-bar-container {
        width: 200px;
        max-width: 200px;
        /* Adjust width as needed */
    }

    .det-view-full-width {
        width: 100%;
    }

    .det-view-half-width {
        width: 100%;
    }

    /* Quarter-width boxes */
    .det-view-quat-width {
        width: 100%;
        /* Ensures it doesn't grow beyond quarter */
    }
    
    .det-view-box-columns {
        grid-template-columns: 1fr;
        gap: 10px; /* adjust gap if needed */
      }

    .transactions-status,
    .header-order-status {
        font-size: 0.8rem;
    }

    /*  */

    /* BASE OF PAGES */
    /* ORDER ITEMS VIEW */

    /*  */
    .ord-itm-tb-image-column {
        width: 10px !important;
        vertical-align: center !important;
        padding: 0 auto !important;
        margin: 0 auto !important;
    }

    .ord-itm-tb-bundle-title {
        font-size: 0.7rem !important;
        padding-left: 30px !important;
    }

    .ord-itm-tb th {
        font-size: 0.8rem;
    }

    .ord-itm-tb td {
        font-size: 0.8rem;
    }

    .ord-itm-tb-image-column {
        width: 40px;
        /* Narrow the column width to fit the image */
        text-align: start;
        padding: 0;
        /* Remove additional padding */
    }

    .ord-itm-tb-bundle-image-column {
        width: 40px;
        /* Keep this the same as the main product column */
        text-align: center;
        padding-left: 25px !important;
        /* Retain the left padding for bundle items */
    }


    .ord-itm-tb-bundle-title {
        font-size: 0.8rem !important;
        padding-left: 25px !important;
    }

    .ord-itm-tb-product-image {
        width: 40px;
    }

    .ord-itm-tb-product-extra-information {
        font-size: 0.65rem;
    }

    .ord-itm-tb-product-br-separator {
        line-height: 2px;
    }


    .ord-itm-tb-product-identifier-bubble {
        font-size: 0.55rem;
    }

    .ord-itm-tb-product-section-title {
        font-size: 0.8rem;
    }

    .ord-itm-tb-product-barcode-entry {
        margin-bottom: 3px;
    }

    .ord-itm-tb-product-barcode-entry p {
        font-size: 0.55rem;
    }

    .ord-itm-tb-product-barcode-image {
        width: 110px;
        height: auto;
    }

    .det-view-box-content-summary {
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        margin-top: 10px;
    }

    .order-summary {
        display: flexbox;
        width: 100%;
        /* Takes 30% of the width */
        padding: 20px;
        font-family: 'Faktum', sans-serif;
        font-size: 0.8rem;
        color: #333;
        margin-left: auto;
    }

    .notification-container {
        top: 80px;
        /* Adjust based on your search bar's position */
        right: 10px;
        width: 350px;
        max-width: 300px;
    }

    .notification-bar {
        font-size: 0.8rem;
    }

    .order-extrafield-selector {
        width: 50%;

    }




    /*  */

    /* BASE OF POP UP MODAL - FILTER MENU */
    /*  Pop up modal window  */

    /*  */
    .filter-menu-modal .modal-dialog {
        left: 50px;
        transform: translateY(-50%);
        /* Only translate vertically */
        width: calc(100% - 50px);
        /* Account for space on the left */
        max-width: none;
        /* Remove max-width to make it responsive */
    }

    .filter-menu-modal .modal-content {
        border-radius: 5px;
        /* Keep slightly rounded corners */
        padding: 10px;
        /* Add padding for better spacing */
        margin: 0 0;
        /* Add margin for spacing on smaller screens */
        max-width: 90%;
        /* Ensure the modal content doesn't touch the screen edges */
        font-size: 0.6rem;
    }

    .filter-menu-modal .modal-title {
        font-size: 1rem;
        text-align: center;
        /* Center the modal title */
    }

    .filter-menu-modal .close {
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 15px;
    }

    .filter-menu-modal .select-files-btn,
    .filter-menu-modal .btn.filter-btn {
        width: 100%;
        /* Buttons should take full width */
        font-size: 0.8rem;
        /* Adjust font size for smaller screens */
        margin-bottom: 15px;
        /* Add spacing between buttons */
        padding: 10px;
        /* Increase button padding for touch-friendliness */
    }

    .filter-menu-modal .file-names {
        font-size: 0.75rem;
        word-wrap: break-word;
        /* Ensure long file names break */
        text-align: center;
    }

    .filter-menu-modal .file-names p {
        margin: 2px 0;
        /* Adjust as needed */
        padding: 0;
        font-size: 0.6rem;
        word-wrap: break-word;
        /* Ensure long file names break */
        text-align: center;
    }

    /* Align modal body contents to center */
    .filter-menu-modal .modal-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

}










/* -------------------- */

/* UNIVERSAL MODAL */

/* -------------------- */
.wide-uni-modal-dialog {
    max-width: 60vw;
    width: 60vw;
    height: 75vh;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.narrow-uni-modal-dialog {
    max-width: 30vw;
    width: 30vw;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-modal-content {
    position: relative;
    background-color: #fff;
    outline: 0;
    padding: 0;
    margin: 0;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.uni-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    vertical-align: middle;
    padding: 15px 15px;
    border-bottom: 1px solid var(--global-border-color-lightGray);
    flex: 0 0 auto;
}

.uni-modal-header-title {
    margin: 0;
    padding: 0;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.3rem;
    text-align: left;
    vertical-align: middle;
    color: var(--global-text-color-darkgrey);
    line-height: 1;
}

.uni-modal-header-close {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--global-text-color-darkgrey);
    cursor: pointer;
}

.uni-modal-header-tools {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 15px;
    border-bottom: 1px solid var(--global-border-color-lightGray);
    flex: 0 0 auto;
}

.uni-modal-tools-button {
    margin-right: 10px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-bg-color-darkGray);
    color: white;
    cursor: pointer;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 0.75rem;
}

.uni-modal-body {
    padding: 15px;
    overflow-y: auto;
    flex: 1 1 auto;
}

/* Sections */
.uni-modal-body-full-section {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.uni-modal-body-two-colums {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.uni-modal-body-column-wide {
    padding: 0;
    margin: 0;
    width: 80%;
    box-sizing: border-box;
    padding-right: 10px;
    border-right: 1px solid var(--global-border-color-lightGray);
}

.uni-modal-body-column-narrow {
    padding: 0;
    margin: 0;
    width: 19%;
    box-sizing: border-box;
}


.uni-modal-half-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.uni-modal-body-half-section {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 49%;
    box-sizing: border-box;
}

.uni-modal-section-header {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    align-items: center;
    padding: 10px 10px;
    border-bottom: 2px solid var(--global-border-color-gray);
}

.uni-modal-section-title {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: var(--modal-section-title-fontSize);
    margin: 0;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-section-body {
    padding: 10px;
}

.uni-modal-section-body.no-padding {
    padding: 0;
}

/* Form Labels and Inputs */
.uni-modal-section-body label {
    display: block;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: var(--modal-section-body-label-fontSize);
    margin-bottom: 2px;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-section-body input[type="text"],
.uni-modal-section-body textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-inputs-fontSize);
    color: var(--global-text-color-black);
    transition: border-color 0.3s ease;
}

.uni-modal-section-body select {
    width: 100%;
    background-color: #fff;
    color: var(--global-text-color-black);
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-inputs-fontSize);
    padding: 5px;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.uni-modal-section-body select:focus,
.uni-modal-section-body select:active {
    background-color: #fff;
    color: var(--global-text-color-black);
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    outline: none;
    border-color: var(--global-border-color-darkgrey);
}


.uni-modal-section-body textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.2;
}

.uni-modal-section-body-checkbox-list {
    list-style: none;
    padding: 5px;
    margin: 0;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 5px;
    box-sizing: border-box;
    max-height: 200px;
    overflow: auto;
}

.uni-modal-section-body-checkbox-list-row {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 5px;
    margin: 0;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 5px;
    box-sizing: border-box;
    max-height: 200px;
    overflow: auto;
}

/* Ensure list items don’t expand to full width */
.uni-modal-section-body-checkbox-list-row>li {
    display: inline-flex;
    /* or flex, depending on your needs */
    margin-right: 10px;
    /* optional spacing between items */
}

.uni-modal-section-body-checkbox-list-row.no-border,
.uni-modal-section-body-checkbox-list.no-border {
    border: none;
    padding: 0;
}

.uni-modal-body-checkbox-group {
    display: flex;
    align-items: center;
    margin: 0;
    margin-bottom: -3px;
    padding: 0;
}

.uni-modal-checkbox {
    margin-right: 5px;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uni-modal-radio {
    margin-right: 5px;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #3a3a3a;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uni-modal-radio:checked,
.uni-modal-checkbox:checked {
    background-color: #3a3a3a;
    border: 1px solid #3a3a3a;
}


.uni-modal-body-checkbox-group label {
    margin: 0;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-inputs-fontSize);
    color: var(--global-text-color-darkgrey);
}

.uni-modal-checkbox-label {
    margin-top: 2px !important;
}

.uni-modal-section-body-files-list {
    max-height: 150px;
    overflow-y: auto;
    list-style: none;
    padding: 5px;
    margin: 0;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 5px;
    box-sizing: border-box;
}

.uni-modal-section-body-files-group {
    margin-bottom: 8px;
}


.uni-modal-body-file-prefix {
    font-weight: bold;
    font-family: 'Faktum', sans-serif;
    font-style: normal;
    font-size: var(--modal-section-body-prefix-fontSize);
    margin-bottom: -1px;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-section-body-files-list ul {
    list-style: none;
}

.uni-modal-body-columns {
    display: flex;
    flex-direction: row;
    margin: auto;
    justify-content: space-between;
}

.uni-modal-body-columns-label {
    text-align: center;
}

.uni-modal-body-buttons-row {
    display: flex;
    gap: 10px;
}

.uni-modal-body-buttons-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.uni-modal-body-button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-bg-color-darkGray);
    color: white;
    cursor: pointer;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: var(--modal-section-body-button-fontSize);
    min-width: 150px;
}


.uni-modal-body-uploaded-files-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.uni-modal-body-upload-file-button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-bg-color-darkGray);
    color: white;
    cursor: pointer;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: var(--modal-section-body-button-fontSize);
    width: 100%;
    margin-bottom: 5px;
}

.uni-modal-body-uploaded-files-names {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-text-fontSize);
    color: var(--global-text-color-darkgrey);
}

.uni-modal-section-body-text {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-text-fontSize);
    color: var(--global-text-color-darkgrey);
    padding: 0;
    margin: 0;
    margin-top: 2px;
}

.uni-modal-section-body-text-centered {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-text-fontSize);
    color: var(--global-text-color-darkgrey);
    padding: 0;
    margin: 0;
    text-align: center;
}


.uni-modal-footer {
    display: flex;
    justify-content: right;
    padding: 15px 15px;
    border-top: 1px solid var(--global-border-color-lightGray);
    flex: 0 0 auto;
    gap: 5px;
}

.uni-modal-footer-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--button-bg-color-darkGray);
    color: white;
    cursor: pointer;
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: var(--modal-footer-button-fontSize);
}

.uni-modal-footer-button-icon {
    font-size: var(--modal-footer-button-icon-fontSize);
}


.uni-modal-header-close:hover,
.uni-modal-tools-button:hover,
.uni-modal-body-button:hover,
.uni-modal-body-upload-file-button:hover,
.uni-modal-footer-button:hover {
    opacity: 0.9;
}

.uni-modal-section-body input[type="text"]:focus,
.uni-modal-section-body textarea:focus {
    border-color: #3a3a3a;
    outline: none;
}

.uni-modal-header-close:focus,
.uni-modal-tools-button:focus,
.uni-modal-body-button:focus,
.uni-modal-body-upload-file-button:focus,
.uni-modal-footer-button:focus {
    border: 0;
    outline: none;
    box-shadow: 0;
}

.modal {
    z-index: 10500 !important;
}

.modal-backdrop {
    z-index: 10400 !important;
}

.uni-modal-body-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 5px;
    border-radius: 5px;
    background-color: var(--modal-undertext-bg-color);
}

.uni-modal-body-link-text {
    overflow-wrap: break-word;
    word-break: break-all;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--global-text-color-darkgrey);
    max-width: 90%;
}

.uni-modal-body-link-copy {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-body-link-copy:focus,
.uni-modal-body-link-copy:hover {
    outline: none;
    border: none;
    opacity: 0.9;
}



/* -------------------- */

/* UNIVERSAL MODAL */
/* EMAIL PART */

/* -------------------- */
.uni-modal-email-history-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.uni-modal-email-history-list li {
    border: 1px solid var(--global-border-color-gray);
    border-radius: 5px;
    padding: 5px;
    font-size: 0.65rem;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    margin-bottom: 5px;
    color: var(--global-text-color-darkgrey);
    transition: border-color 0.3s ease;
}

.uni-modal-email-history-list li:hover {
    border: 1px solid var(--global-border-color-darkgrey);
    cursor: pointer;

}

.uni-modal-email-recipient-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid var(--global-border-color-gray);
    padding: 5px;
    border-radius: 5px;
}

.uni-modal-email-recipient-bubble {
    display: flex;
    align-items: center;
    background-color: var(--modal-undertext-bg-color);
    border-radius: 10px;
    padding: 5px 10px;
    padding-bottom: 6px;
    margin: 2px;
    font-size: var(--modal-section-body-text-fontSize);
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-email-recipient-bubble span {
    margin-right: 5px;
}

.uni-modal-email-recipient-bubble .remove-recipient {
    cursor: pointer;
    color: var(--global-text-color-darkgrey);
    font-weight: bold;
}

.uni-modal-email-recipient-bubble .remove-recipient:hover {
    opacity: 0.9;
}

.uni-modal-email-recipient-container input {
    width: 100%;
    padding: 5px;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-inputs-fontSize);
    color: var(--global-text-color-black);
    transition: border-color 0.3s ease;
}

.uni-modal-email-recipient-container input:focus {
    border-color: var(--global-border-color-darkgrey);
    outline: none;
}


/* -------------------- */

/* UNIVERSAL MODAL */
/* TABLE PART */

/* -------------------- */
.uni-modal-table {
    width: 100%;
    border-collapse: collapse;
}

.uni-modal-table tr {

    border-bottom: 1px solid var(--global-border-color-lightGray);
    padding: 5px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.uni-modal-table td {
    vertical-align: middle;
    align-items: center;
}



/* Apply flex to both header and body rows */
.uni-modal-table-header tr,
.uni-modal-table-body tr {
    display: flex;
    align-items: center;
    /* Vertically centers all items */
    padding: 5px 10px;
    border-bottom: 1px solid var(--global-border-color-lightGray);
}

/* Header cells: take equal space and align text to the left */
.uni-modal-table-header th {
    flex: 1;
    text-align: center;
}

/* Body cells: take equal space and center text */
.uni-modal-table-body td {
    flex: 1;
    text-align: center;
}

.uni-modal-table-products-title-wrapper {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    align-items: center;
    padding: 0;
    padding: 5px 0;
    margin: 0;
}

.uni-modal-table-products-title {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-table-products-title-fontSize);
    margin: 0;
    padding: 0;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-table-products-bundle-title {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: var(--modal-table-products-title-fontSize);
    margin: 0;
    padding: 0;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-table-products-title-image {
    width: 50px;
    height: auto;
    margin: 0;
    padding: 0;
    margin-right: 10px;

}


.uni-modal-table-products-bundleItem-title-wrapper {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    align-items: center;
    padding: 5px 0;
    margin: 0;
    margin-left: 15px;
}



.uni-modal-table-products-bundleItem-title {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-table-products-bundleItem-title-fontSize);
    margin: 0;
    padding: 0;
    color: var(--global-text-color-darkgrey);
}

.uni-modal-table-products-bundleItem-title-image {
    width: 45px;
    height: auto;
    margin: 0;
    padding: 0;
}

.uni-modal-table-products-bundleItem-title-icon {
    font-size: var(--modal-table-products-bundle-title-fontSize);
    color: var(--global-border-color-lightGray);
    margin-right: 10px;
}


.uni-modal-table-products-indentifiers-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* left-align the children */
    justify-content: flex-start;
    /* or remove it entirely */
    padding: 0;
    margin: 0;
    margin-left: 10px;
    /* remove margin-left if you want it fully flush */
}


.uni-modal-table-products-indentifiers-row {
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    align-items: start;
    padding: 0;
    margin: 0;
    margin-top: 2px;
    gap: 5px;
}

.uni-modal-table-products-identifier {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border: 1px solid var(--global-border-color-gray);
    background-color: var(--global-border-color-ultraLightGray);
    border-radius: 10px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}


.uni-modal-table-products-identifier-checkbox {
    appearance: none;
    width: 10px;
    height: 10px;
    border: 1px solid var(--global-border-color-gray);
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.uni-modal-table-products-identifier-checkbox:checked {

    border: 1px solid var(--global-border-color-darkgrey);
    background-color: var(--global-border-color-darkgrey);

}

.uni-modal-table-products-identifier-text {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-table-products-indentifier-title-fontSize);
    padding-left: 3px;
    margin-top: 1px;
    color: var(--global-text-color-black);
}




.uni-modal-table-products-quantity-wrapper {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    align-items: center;
    padding: 0;
    padding: 5px 0;
    margin: 0;
    margin-left: 5px;
}


.uni-modal-table-products-quantity-stepper {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: 50% 50%;
    width: 70px;
    border: 1px solid var(--global-border-color-lightGray);
    border-radius: 5px;
    overflow: hidden;
}

.uni-modal-table-products-stepper-input {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--global-border-color-lightGray);
    background-color: transparent;
}

.uni-modal-table-products-stepper-plus {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--global-border-color-lightGray);
    background-color: var(--global-border-color-ultraLightGray);
    cursor: pointer;
    font-size: var(--modal-table-products-quantity-selector-fontSize);
    color: var(--global-border-color-darkgrey);
}

.uni-modal-table-products-stepper-minus {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--global-border-color-ultraLightGray);
    cursor: pointer;
    font-size: var(--modal-table-products-quantity-selector-fontSize);
    color: var(--global-border-color-darkgrey);
}

.uni-modal-table-products-quantity-selector {
    text-align: center;
    border: none;
    font-family: 'Faktum', sans-serif;
    width: 50px;
    font-size: var(--modal-table-products-quantity-selector-fontSize);
    outline: none;
    color: var(--global-border-color-darkgrey);
}

.uni-modal-table-products-quantity-selector:focus {
    outline: none;
}

.uni-modal-table-products-quantity-selector::-webkit-inner-spin-button,
.uni-modal-table-products-quantity-selector::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.uni-modal-table-products-quantity-text {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-table-products-quantity-text-fontSize);
    padding: 0;
    margin-left: 5px;
    white-space: nowrap;
    color: var(--global-text-color-darkgrey);
}


.uni-modal-table-products-error-wrapper {
    border-bottom: 1px solid var(--global-border-color-lightGray);
    padding: 10px 0;
}


.uni-modal-table-products-error-wrapper:last-child {
    border: 0;
}

.uni-modal-table-products-error-wrapper:first-child {
    padding-top: 0;
}


.uni-modal-table-products-error-title {
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-size: var(--modal-section-body-inputs-fontSize);
    margin: 0;
    margin-bottom: 5px;
}

.uni-modal-table-products-error-text {
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-size: var(--modal-section-body-text-fontSize);
    margin: 0;
    padding: 0;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .wide-uni-modal-dialog {
        width: 95vw;
        max-width: 95vw;
    }

    .narrow-uni-modal-dialog {
        width: 95vw;
        max-width: 95vw;
    }

    .uni-modal-body-two-colums {
        flex-direction: column;
        justify-content: center;
    }

    .uni-modal-body-column-wide {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        border: 0;
    }

    .uni-modal-body-column-narrow {
        width: 100%;
    }


    .uni-modal-body-full-section,
    .uni-modal-body-half-section {
        margin-bottom: 15px;
    }

    .uni-modal-header {

        padding: 10px 10px;

    }

    .uni-modal-header-title {
        font-size: 1rem;
    }

    .uni-modal-header-close {
        font-size: 1.2rem;
    }

    .uni-modal-header-tools {
        padding: 5px 10px;
    }

    .uni-modal-tools-button {
        margin-right: 8px;
        font-size: 0.65rem;
    }

    .uni-modal-body {
        padding: 10px;
    }

    .uni-modal-section-title {
        font-size: 0.9rem;
    }

    .uni-modal-section-body label {
        font-size: 0.7rem;
    }

    .uni-modal-section-body input[type="text"],
    .uni-modal-section-body textarea {
        font-size: 0.8rem;
    }

    .uni-modal-section-body select {
        font-size: 0.8rem;
    }

    .uni-modal-section-body textarea {
        resize: vertical;
        min-height: 60px;
    }

    .uni-modal-body-checkbox-group label {
        font-size: 0.8rem;
    }

    .uni-modal-body-file-prefix {
        font-size: 0.7rem;
    }

    .uni-modal-body-button {
        font-size: 0.8rem;
        min-width: 100px;
    }

    .uni-modal-body-upload-file-button {
        font-size: 0.8rem;
    }

    .uni-modal-body-uploaded-files-names {
        font-size: 0.7rem;
    }

    .uni-modal-footer {
        gap: 5px;
        padding: 10px 10px;
    }

    .uni-modal-footer-button {
        font-size: 0.8rem;
    }


    /* -------------------- */

    /* UNIVERSAL MODAL */
    /* TABLE PART */




    .uni-modal-table-products-title-wrapper {
        display: flex;
        flex-direction: row;
        vertical-align: middle;
        align-items: center;
        padding: 0;
        padding: 5px 0;
        margin: 0;
    }

    .uni-modal-table-products-title {
        font-size: var(--mb-modal-table-products-title-fontSize);
    }

    .uni-modal-table-products-bundle-title {
        font-size: var(--mb-modal-table-products-title-fontSize);
    }

    .uni-modal-table-products-title-image {
        width: 40px;
        margin-right: 10px;
    }


    .uni-modal-table-products-bundleItem-title-wrapper {
        margin-left: 5px;
    }



    .uni-modal-table-products-bundleItem-title {
        font-size: var(--mb-modal-table-products-bundleItem-title-fontSize);
    }

    .uni-modal-table-products-bundleItem-title-image {
        width: 37px;
    }

    .uni-modal-table-products-bundleItem-title-icon {
        margin-right: 8px;
    }


    .uni-modal-table-products-indentifiers-wrapper {
        margin-left: 10px;
    }


    .uni-modal-table-products-indentifiers-row {
        margin-top: 2px;
        gap: 5px;
    }


    .uni-modal-table-products-identifier-checkbox {
        width: 8px;
        height: 8px;
    }


    .uni-modal-table-products-identifier-text {
        font-size: var(--mb-modal-table-products-indentifier-title-fontSize);
        padding-left: 5px;
        margin-top: 2px;
    }



    .uni-modal-table-products-quantity-stepper {
        width: 60px;
    }


    .uni-modal-table-products-stepper-plus {
        font-size: var(--mb-modal-table-products-quantity-selector-fontSize);
    }

    .uni-modal-table-products-stepper-minus {
        font-size: var(--mb-modal-table-products-quantity-selector-fontSize);
    }

    .uni-modal-table-products-quantity-selector {
        font-size: var(--mb-modal-table-products-quantity-selector-fontSize);

    }


    .uni-modal-table-products-quantity-text {
        font-size: var(--mb-modal-table-products-quantity-text-fontSize);
        margin-left: 5px;
    }

}



/*  */

/* BASE OF FILTER MENU */
/*  Files  */

.files-scrollable-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    /* Adjust height as needed */
    overflow-y: auto;
    /* Enable vertical scrolling */
    width: 100%;

}

.files-prefix {
    color: #3a3a3a;
    word-break: break-word;
    /* Wrap long filenames to the next line */
    font-family: 'Faktum', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: var(--modal-section-body-label-fontSize);
    margin-top: 7px;
    /* Adjusts width to leave space for checkbox */
}

.files-prefix:first-child {
    margin: 0;
}

.files-scrollable-list li {
    padding-bottom: 4px;
    margin: 0;
}

.files-scrollable-list li:last-child {
    padding: 0;
    margin: 0;
}

.files-item {
    display: flex;
    align-items: flex-start;
}

.files-checkbox {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    margin-right: 5px;
    flex-shrink: 0;
}

.files-checkbox:checked {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
}

.files-checkbox:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.files-download-icon {
    text-decoration: none;
    color: #3a3a3a;
    font-size: 14px;
    margin-right: 3px;
}

.files-download-icon:hover {
    opacity: 0.8;
    color: #3a3a3a;
    text-decoration: none;
    cursor: pointer;
}

.files-name {
    color: #3a3a3a;
    line-height: 1.2;
    word-break: break-word;
    /* Wrap long filenames to the next line */
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-prefix-fontSize);
    max-width: calc(100% - 10px);
    /* Adjusts width to leave space for checkbox */
    margin-top: 1px;
}

.files-name a {
    text-decoration: none;
    color: #3a3a3a;

}

.files-name a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.order-hover-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 10px;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--global-border-color-gray);
    z-index: 9999;
    overflow: hidden;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-inputs-fontSize);
    color: var(--global-text-color-darkgrey);
    display: none;
}

.hover-box-header {
    padding: 10px 15px;
    font-weight: bold;
    background: #f5f5f5;
    border-bottom: 1px solid var(--global-border-color-gray);
}

.hover-box-customer {
    padding: 10px 15px;
    color: var(--global-text-color-darkgrey);
    text-decoration: none;
}

.hover-box-customer_link {
    text-decoration: none;
    color: var(--global-text-color-darkgrey);
}

.hover-box-customer_link:hover {
    opacity: 0.9;
    cursor: pointer;
    text-decoration: none;
    color: var(--global-text-color-darkgrey);
}

.hover-box-dates {
    padding: 0 15px 10px;
    font-size: var(--modal-section-body-label-fontSize);
    color: #666;
}

.hover-box-divider {
    margin: 0;
    border: none;
    border-top: 1px solid var(--global-border-color-gray);
}

.hover-box-products {
    max-height: 150px;
    overflow-y: auto;
    padding: 10px 15px;
}

.product-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-label-fontSize);
    color: var(--global-text-color-darkgrey);
}

.product-row .col-qty {
    width: 20px;
    flex-shrink: 0;
    text-align: left;
}

.product-row .col-name {
    flex-grow: 1;
    white-space: normal;
}

.product-row .col-price {
    width: 60px;
    text-align: right;
    flex-shrink: 0;
}

.hover-box-totals {
    padding: 10px 15px;

}

.hover-box-totals .line {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    font-family: 'Faktum', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: var(--modal-section-body-label-fontSize);
    color: var(--global-text-color-darkgrey);
}

.hover-box-totals .line.total {
    font-weight: bold;
    border-top: 1px solid var(--global-border-color-gray);
    padding-top: 10px;
    margin-top: 5px;
}

.hover-box-footer {
    padding: 10px 15px;
    font-weight: bold;
    background: #f5f5f5;
    border-top: 1px solid var(--global-border-color-gray);
}

.home-order-row-wrapper td {
    position: relative;
}

.det-view-box-home {
    overflow: visible !important;
    position: relative;
}

.home-order-row:hover {
    cursor: pointer;
    /* Changes the cursor to a pointer */
    background-color: #f3f3f38c;
    transition: background-color 0.2s ease;
    color: #3a3a3a;
    /* Smooth transition */
}

/* make each <a> cover its entire <td> */
.home-row-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    /* keep your text colors */
    text-decoration: none;
    /* remove underline */
    color: #3a3a3a;
}

/* optional: highlight on hover */
.home-order-row:hover .home-row-link {
    cursor: pointer;
    /* Changes the cursor to a pointer */
    transition: background-color 0.2s ease;
    color: #3a3a3a;
}

@keyframes scanAnim {
    0% {
        left: 0;
    }

    50% {
        left: calc(100% - 4px);
    }

    100% {
        left: 0;
    }
}


#barcodeFlashButton {
    user-select: none;
    /* zakáže označovanie textu */
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    /* zakáže kontextové menu na iOS */
    -moz-user-select: none;
    -ms-user-select: none;
    display: none;
}
