﻿html, body {
    --primarycolor: #70CAB9;
    --primarycolor-translucent: rgba(112, 202, 185, 0.2);
    --elementcolor: #fff;
    --secondarytext: #fff;
    --primarytext: #424242;
    --hovertext: #999999;
    --danger-color: red;
    --success-color: green;
    --backgroundcolor: #fff;
    background-color: var(--backgroundcolor);
    overflow: hidden;
}

/* Titles, paragraphs, etc */
.global-title {
    font-size: 2rem;
    font-weight: 500;
    color: #424242;
}

.global-paragraph {
    color: #686868;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 400px;
    line-height: 1.4;
}

.global-secondary-hyperlink {
    color: #424242 !important;
    text-decoration: underline !important;
}

/* #region Yet to categorize */
.top-bar {
    position: relative;
    top: 0;
    z-index: 2;
    background-color: #fff;
}

.rz-button-icon-only {
    background: none !important;
}

.hide-input .calender-input {
    width: 44px !important;
    height: 44px !important;
}

.calender-input {
    height: 44px !important;
    width: 144px !important;
}

.hide-input .rz-datepicker-trigger {
    width: 22px;
    height: 22px;
}

.date-picker-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.wrap-text {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.list-type-tabs {
    display: flex;
    gap: 10px;
    padding: 4px 2px;
    background-color: #F5F5F5;
    border-radius: 10px;
}

    .list-type-tabs button {
        line-height: 20px;
    }

.btn-clear {
    background: none;
    color: #555;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-apply {
    background-color: var(--primarycolor);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-apply:hover {
        color: white;
        filter: brightness(1.02);
    }

.page_tab {
    border: none !important;
}

.subPageBtn {
    display: flex;
    gap: 10px;
    padding: 4px;
    background-color: #fbfbfb;
    border-radius: 10px;
    outline: none;
    /*
    border: 1px solid #d0d0d0;
    box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.2);
    */
}


.active-subTab {
    background-color: #fff;
    color: #000 !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2) !important;
    border-radius: 7px;
}



.dragging-row td {
    box-shadow: 0 10px 20px 0 #919eab1a;
}

.card-header-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-slide-in {
    opacity: 0;
    animation: fadeSlideIn 0.8s ease-out forwards;
}
/* #endregion */
/* #region Page and sections types */
.page-container {
    margin: 4rem auto 2rem 6rem;
    height: calc(100vh - 4rem);
    overflow: auto;
    padding: 1rem 2rem 0 2rem;
    background-color: #fff;
    width: 100%;
    transition: margin 0.3s ease;
}

.sticky-section {
    position: sticky;
    top: -1rem;
    z-index: 10;
    padding: 1rem 2rem 0 2rem;
    margin: -1rem -2rem 0 -2rem;
    background-color: #fff !important;
}

.sticky-section-bottom {
    position: sticky;
    bottom: 0;
    overflow-x: hidden;
    background-color: #fff;
}

.full-screen {
    height: calc(100vh - 4rem);
}
/* #endregion */
/* #region Radzen Override */
/* Column title Styling */
.rz-column-title {
    color: #424242 !important;
    font-size: 13px !important;
    font-weight: 500;
}

/* Cell styling */
.PlatformCell {
    text-align: center !important;
}


/* Tabel head styling */
.rz-grid-table thead th {
    background-color: #fff !important;
}

.rz-frozen-cell-left-inner {
    background-color: #fff !important;
}

.rz-button.rz-primary.rz-shade-lighter {
    background: none !important;
    padding-left: 0px;
}



/* popup styling */
.rz-dialog-content {
    padding: 40px !important;
}

.rz-dialog-confirm-message {
    color: #424242 !important;
}

.rz-switch.rz-switch-checked .rz-switch-circle {
    background: #70CAB9 !important;
}

.rz-dialog {
    width: 800px !important;
    height: 800px !important;
}

.rz-dialog-title {
    color: #424242 !important;
}

.rz-dialog-confirm-message {
    text-align: left;
    color: #424242 !important;
}

.rz-dialog-titlebar {
    padding-left: 40px !important;
    padding-top: 40px !important;
}


.rz-inputtext:hover, .rz-dropdown:hover {
    border: var(--rz-input-border) !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1) !important;
}

.rz-inputtext:focus, .rz-dropdown:focus {
    border: var(--rz-input-border) !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1) !important;
}

.rz-dropdown {
    box-shadow: none !important;
    border-radius: 6px !important;
    cursor: pointer;
    border: 1px solid #ced4da !important;
}

.rz-inputtext {
    box-shadow: none !important;
    border-radius: 6px !important;
}

.rz-dropdown-label, .rz-dropdown-label:hover {
    box-shadow: none !important;
    border: none !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.rz-multiselect-items, .rz-dropdown-items {
    color: #202020;
    cursor: pointer;
}

.rz-multiselect-item:hover, .rz-dropdown-item:hover {
    color: black !important;
    background-color: var(--primarycolor-translucent) !important;
}

.rz-multiselect-item:focus, .rz-dropdown-item:focus {
    color: black !important;
    background-color: var(--primarycolor-translucent) !important;
}

.rz-chkbox-box:hover, .rz-chkbox-box:focus {
    border-color: #424242 !important;
}

.rz-chkbox-box.rz-state-active, .rz-chkbox-box .rzi {
    background-color: #424242 !important;
    color: white !important;
}

.rz-state-highlight.rz-multiselect-item, .rz-state-highlight.rz-dropdown-item {
    color: black !important;
    background-color: #EBF9F6 !important;
}

.rz-calendar .rz-inputtext {
    height: 45px !important;
}

.rz-calendar {
    position: relative;
}

.rz-datepicker {
    height: 45px !important;
}

    .rz-datepicker:has(.rz-datepicker-trigger) > .rz-inputtext {
        height: 100%;
    }

    .rz-colorpicker, .rz-lookup-search input, .rz-numeric, .rz-datepicker > .rz-inputtext, .rz-multiselect, .rz-dropdown, .mask, .rz-textarea, .rz-textbox {
        font-size: inherit !important;
    }

.rz-dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    color: #424242 !important;
    font-weight: 400;
    font-size: 13px !important;
}

.rz-switch.rz-switch-checked .rz-switch-circle:before {
    background-color: #fff !important;
}

.rz-chkbox-box.rz-state-active {
    border: none !important;
}

.rz-pager-page.rz-state-active {
    background-color: var(--primarycolor) !important;
    color: var(--secondarytext) !important;
}

.rz-pager-page {
    border-radius: 5px !important;
}

.rz-dropdown-chips .rz-dropdown-chips-wrapper {
    height: 35px;
    margin-top: -0.15rem;
}

.rz-chip {
    height: 35px;
}

.rz-dropdown-filter:focus {
    border: none !important;
    box-shadow: none !important;
}

.order-items .order-item:last-child .order-detail-item::after {
    display: none;
}

/* #endregion */
/* #region Filter */
.filter-Btn {
    display: flex;
    box-shadow: none;
    border: 1px solid #c5c5c5;
    background-color: #fff;
    color: #000;
    width: 135px;
    border-radius: 7px;
    height: 45px;
}

    .filter-Btn span {
        margin: auto;
        margin-left: .25rem;
        font-size: 14px;
    }

    .filter-Btn:hover {
        box-shadow: none;
        background-color: #fff;
        color: #000 !important;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    }

.active-filter {
    border-color: #424242;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    border: #424242 2px solid;
}

.filter-popup {
    position: absolute;
    background: white;
    box-shadow: 5px 10px 15px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    top: 100%;
    border-radius: 10px;
    z-index: 995;
    display: flex;
    flex-direction: column;
    color: #202020;
    max-height: 70vh;
}

.filter-header {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 0;
}

.filter-row {
    margin-bottom: 1rem;
    flex-direction: row;
    width: 400px;
}

.filter-col {
    margin-bottom: 1rem;
    flex-direction: column;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #202020
}

.date-picker-group {
    display: flex;
    align-items: center;
}

.date-separator {
    margin: 0 0.5rem;
    font-size: 0.9rem;
    color: #888;
}

.toggle-group {
    display: flex;
    gap: 1rem;
}

.toggle-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.actions-row {
    display: flex;
    justify-content: end;
    margin-top: 1rem;
    margin-bottom: 0;
}

.filter-date-picker {
    width: auto;
    height: 50px;
}

    .filter-date-picker > input {
        cursor: default;
    }

.checkbox-group label {
    margin: auto;
    font-size: 0.9rem;
    color: #202020;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-clear:focus {
    box-shadow: none !important;
}

.check-icon {
    color: #fff;
    font-size: 24px;
}

.filter-header-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.close-icon {
    cursor: pointer;
    font-size: 1.25rem;
    color: #8d8d8d;
    transition: color 0.2s ease;
}

    .close-icon:hover {
        color: #8d8d8d;
    }

.checkbox-item label {
    cursor: pointer;
}


/* #endregion */
/* #region Icons */
.icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.icon-button {
    background-color: inherit;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

    .icon-button i {
        font-size: 1.5rem;
        color: #333;
    }

    .icon-button:focus {
        box-shadow: none !important;
    }

.icon-drag-indicator {
    background-image: url('/Content/images/ActionIcons/drag-indicator.svg');
    width: 2rem;
    height: 2rem;
}

.icon-menu {
    background-image: url('/Content/images/hamburger-menu.svg');
    width: 2rem !important;
    height: 2rem !important;
}

.icon-notification {
    height: 22px;
    background-image: url('/Content/images/MenuIcon/notification_icon.svg');
}

.icon-profile {
    height: 22px;
}

.close-icon {
    background-image: url('/Content/images/OrderPage/CloseIcon.svg');
    width: 1rem;
    height: 1rem;
}

.delete-icon {
    background-image: url('/Content/images/Delete_Icon.svg');
    width: 1rem;
    height: 1rem;
}

.chevron-down-icon {
    background-image: url('/Content/images/ActionIcons/chevron-down.svg');
    width: 2rem;
    height: 2rem;
}

.chevron-up-icon {
    background-image: url('/Content/images/ActionIcons/chevron-up.svg');
    width: 2rem;
    height: 2rem;
}

.chevron-down-wide-icon {
    background-image: url('/Content/images/ActionIcons/chevron-down-wide.svg');
    width: 10rem;
    height: 2rem;
    background-size: cover;
}

.carrier-logo {
    width: 32px;
    margin-right: 10px;
}

.shop-card-logo {
    width: 5rem;
}

.copy-icon {
    background-image: url('/Content/images/MenuIcon/copy.svg');
}

.document-icon {
    background-image: url('/Content/images/document-icon.svg');
    width: 2.5rem;
    height: 2.5rem;
}

.pdf-icon {
    background-image: url('/Content/images/pdf-icon.svg');
    width: 2.5rem;
    height: 2.5rem;
}

.information-danger-icon {
    background-image: url('/Content/images/StatusIcons/alert-icon.svg');
    width: .9rem;
    height: .9rem;
    cursor: pointer;
    vertical-align: top;
}

.info-icon {
    background-image: url('/Content/images/StatusIcons/info-icon.svg');
    width: .9rem;
    height: .9rem;
    cursor: pointer;
    vertical-align: top;
}

.product-carrier-logo {
    max-height: 40px;
    max-width: 80px;
    height: auto;
    width: auto;
    object-fit: contain;
}
/* #endregion */
/* #region Analytics Card */
.analytics-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    background: white;
    border-radius: 12px;
    height: 100%;
    padding: 30px;
    box-shadow: 0 6px 14px 0 #919eab1a;
    border: 1px solid #ededed;
}

.analytics-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 16px;
}

.analytics-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #424242;
    margin: 0;
    flex-grow: 1;
}

.analytics-card-image {
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 16px;
}

.analytics-card-content {
    width: 100%;
    text-align: left;
    margin-top: auto;
}

.analytics-value {
    font-size: 1.7rem;
    font-weight: bold;
    color: #555;
    margin: 0;
}

.value-group {
    margin-bottom: 0px;
}

    .value-group h1 {
        margin-top: 10px;
    }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 4 equal columns */
    gap: 16px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 16px;
}

.analytics-card-full {
    grid-column: span 4; /* Spans all 4 columns */
}

.analytics-card-half {
    grid-column: span 2; /* Spans 2 columns */
}

.analytics-card-quarter {
    grid-column: span 1; /* Spans 1 column */
}

@media screen and (max-width: 768px) {
    .analytics-card-full {
        grid-column: span 4; /* Full width on small screens */
    }

    .analytics-card-half {
        grid-column: span 4; /* Full width on small screens */
    }

    .analytics-card-quarter {
        grid-column: span 2; /* Half width on small screens */
    }
}

.value-group-big {
    flex-grow: 1;
    justify-content: space-between;
    align-items: end;
}

.home-grid-item-25 {
    width: fit-content;
    max-width: calc(25% - .75rem) !important;
}

@media screen and (max-width: 1400px) {
    .home-grid-item-25 {
        width: fit-content;
        max-width: calc(50% - .5rem) !important;
    }
}

@media screen and (max-width: 768px) {
    .home-grid-item-25 {
        width: 100%;
        max-width: 100% !important;
    }
}
/* #endregion */

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}
/* #region Text */
.title {
    font-size: 20px;
    font-weight: 600;
}

.color-primary {
    color: var(--primarycolor)
}

    .color-primary:hover {
        color: var(--primarycolor);
        filter: brightness(1.05);
    }

.underline {
    text-decoration: underline;
}

.text-align-bottom {
    margin: auto auto 0 auto;
}

.text-align-top {
    margin: 0 auto auto auto;
}

.danger-text {
    color: red;
    font-weight: 500;
    font-size: 16px;
}

.error-text {
    color: var(--danger-color);
    font-weight: 500;
}

.success-text {
    color: var(--success-color);
    font-weight: 500;
}

.canceled-text {
    color: gray;
    font-weight: 500;
    font-size: 16px;
}

.zineps-validation-message-container {
    position: relative;
    width: 100%;
    min-height: 0;
}

.absolute-error {
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    z-index: 10;
    margin-top: 2px;
    font-size: 0.8rem;
    color: var(--bs-danger, #dc3545);
}

.badge-primary {
    background-color: var(--primarycolor);
}

.preview-link {
    color: #888 !important;
    font-size: 16px;
    margin-left: 5px;
    text-decoration: underline !important;
}

.hover {
    cursor: pointer;
}

.carrier-status-text {
    color: #888;
}

.small-badge {
    padding: 0.05rem 0.25rem 0.05rem 0.25rem;
    border-radius: .2rem;
    font-size: 11px;
    max-width: fit-content;
}

    .small-badge.primary {
        background: var(--primarycolor);
        color: #fff;
    }

.status-badge {
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 14px;
    margin: auto;
    height: 30px;
}

    .status-badge.active {
        background: #e8f5e9;
        color: #2e7d32;
    }

    .status-badge.inactive {
        background: #ffebee;
        color: #c62828;
    }
/* #endregion */
/* #region Form fields*/
.form-field {
    width: 100%;
    flex: 1;
}

input[type="checkbox"] {
    accent-color: #424242;
    min-height: 0;
    margin: 0;
}

    input[type="checkbox"]:checked {
        background-color: #424242;
        border-color: #424242;
    }

    input[type="checkbox"]:focus {
        border-color: #424242;
        outline: 0;
        box-shadow: none;
    }

    input[type="checkbox"]:hover {
        border-color: #424242;
        outline: 0;
        box-shadow: 0 0 0 0.25rem #42424225;
    }

.full-options-card {
    height: calc(100vh - 130px);
    position: sticky;
    top: 0;
}

@media (max-width: 1024px) {
    .full-options-card {
        height: fit-content;
        position: relative;
    }
}

.file-input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
}

.file-selection-group {
    display: flex;
    flex-direction: column;
}

    .file-selection-group > div > span {
        width: 1.5rem;
        height: 1.5rem;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        vertical-align: middle;
        background-image: url('/Content/images/ActionIcons/paperclip.svg');
        cursor: pointer !important;
    }

    .file-selection-group input[type=file] {
        opacity: 0;
        cursor: pointer !important;
    }

.dynamic-image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Big image takes 2 columns, others stack */
    grid-template-rows: auto auto; /* Two rows */
    width: fit-content;
    height: 100px;
    gap: 1px;
}

    .dynamic-image-grid img {
        width: 50px;
        height: 100%;
        object-fit: cover;
    }

        .dynamic-image-grid img:first-child {
            grid-row: span 2; /* Takes two rows */
            width: 101px;
        }

        .dynamic-image-grid img:nth-child(n+2) {
            grid-row: span 1;
        }
/* #endregion */
/* #region Chat */
.chat-conversation-left {
    background-color: #424242;
    margin-right: 20%;
}

.chat-conversation-right {
    background-color: #424242;
    margin-left: 20%;
}
/* #endregion */

/* #region Print */
@media print {
    body {
        overflow: visible !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .page-container {
        overflow: visible !important;
    }

    .sticky-section-bottom {
        display: none !important;
    }
}

/* #endregion */
/* #region Placeholders */
.placeholder-card {
    width: 20rem;
    justify-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: start;
}

    .placeholder-card > img {
        width: 12rem;
        margin: 1rem 0;
        =
    }

    .placeholder-card > h3 {
        font-size: 1.5rem !important;
    }

    .placeholder-card > span {
        font-size: 1rem;
    }

/* #endregion */

.page-container.expanded {
    margin-left: 12rem;
}
/* #region datagrid */
.zineps-sort-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    width: 1rem;
    margin-left: .5rem;
}

.zineps-sort-icons {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 0.85em;
}

.zineps-sort-button.active .zineps-sort-icons {
    color: #333;
}

.zineps-sort-button:hover .zineps-sort-icons {
    color: #70CAB9;
}

.zineps-sort-button.active:hover .zineps-sort-icons {
    color: #5ba99a;
}

.zineps-grid-container.lineless > .zineps-grid-header-row {
    border: none;
}
/* #endregion */
/* #region Order Details */
.order-block {
    display: flex;
    gap: 1rem;
    width: 100%;
}

    .order-block > img {
        height: 2.5rem;
        width: 2.5rem;
    }

.order-field-title {
    color: #212529;
    font-weight: 500;
    font-size: 16px;
    margin: 0 0 4px 0;
}

.order-field-value {
    font-size: 13px;
}

.order-detail-transition {
    transition: all 0.3s ease-in-out;
}
/* #endregion */
/* #region Cards */
.no-padding .zineps-card-content, .no-padding .zineps-card-header-base {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.no-padding .zineps-card-content {
    padding-bottom: 0 !important;
}

.zineps-popup-footer {
    display: flex;
    width: 100%;
    margin-top: 1rem;
    justify-content: end;
}
/* #endregion */
/* #region Bottom Bar */
.selection-bar {
    display: block;
    position: fixed;
    bottom: 40px;
    left: 23%;
    width: 65%;
    z-index: 1000;
    border-radius: 8px;
    box-shadow: 0px 0px 5px #c3c3c3;
    background-color: #fff;
}

.selection-item {
    cursor: pointer;
    transition: all ease-in-out 0.3s;
}

    .selection-item:hover {
        background-color: #f5f5f5;
    }

.selection-bar-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.selection-bar-options {
    display: flex;
    justify-content: end;
}

.selection-counter {
    width: 77px;
    padding: 18px 21px;
    background-color: #70CAB9;
    color: #fff;
    border-radius: 8px 0px 0px 8px;
}

    .selection-counter h3 {
        font-size: 28px;
        font-weight: normal;
        color: #fff !important;
        text-align: center;
    }

        .selection-counter h3.small-text {
            font-size: 20px;
        }

.selection-info {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .selection-info h4 {
        margin: 0;
        font-weight: 400;
        font-size: 20px;
        color: #424242;
    }

    .selection-info p {
        color: #707070;
        margin: 0;
        font-size: 12px;
    }

.selection-actions {
    display: flex;
    padding-right: 20px;
}

.action-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    height: 100%;
    padding: 0 12px;
    width: 90px;
}

    .action-item p {
        color: #000;
        margin: 0;
        font-size: 12px;
    }

.close-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    border-left: 1px solid #cdcdcd;
}

.close-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    border-left: 1px solid #cdcdcd;
}

/* Responsive styles */
@media (max-width: 768px) {
    .selection-bar {
        left: 5%;
        width: 90%;
    }
}

@media (max-width: 1275px) {
    .selection-bar-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .selection-bar-options {
        display: flex;
        justify-content: center;
        width: 100%;
        padding-top: 20px;
        padding-bottom: 15px;
        border-top: 1px solid #eee;
    }

    .selection-counter {
        border-radius: 8px 0px 0px 0px;
    }

    .close-desktop {
        display: none;
    }
}

@media (min-width: 1275px) {
    .close-mobile {
        display: none;
    }
}

@media (max-width: 580px) {
    .selection-bar-inner {
        flex-direction: column;
    }

    .selection-actions {
        display: flex;
        padding-right: 0px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .action-item {
        width: calc(33.33% - 10px);
        box-sizing: border-box;
        text-align: center;
        height: 85%;
        padding: 0 12px;
        width: 80px;
    }

    .close-mobile {
        display: none;
        margin-left: 1%;
    }

    .close-desktop {
        display: flex;
        margin-left: 1%;
    }

    .selection-bar-options {
        display: flex;
        justify-content: center;
        width: 98%;
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: 1px solid #eee;
        margin-left: 1%;
    }
}

@media (max-width: 470px) {
    .selection-bar-options {
        padding-bottom: 95px;
    }
}

@media (max-width: 440px) {
    .action-item {
        height: 50%;
        width: 70px;
    }

    .selection-bar-options {
        padding-top: 5%;
        padding-bottom: 25px;
        padding-left: 10px;
    }
}

/* #endregion */
/* #region upload */
.excel-file-upload {
    margin-bottom: 1rem;
}

.file-upload-container {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
    height: 10rem;
    display: flex;
    justify-content: center;
}

    .file-upload-container:hover {
        background-color: #e9ecef;
        border-color: #adb5bd;
    }

.file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

    .file-placeholder i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: #6c757d;
    }

.file-preview {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 4px;
}

    .file-preview i {
        font-size: 1.5rem;
        color: #28a745;
    }

.remove-file {
    margin-left: auto;
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
}

.file-input-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
/* #endregion */
/* #region Loaders */
/* Loading styles */
.loading-page {
    display: flex;
    width: 100%;
    height: 10rem;
    justify-content: center;
    align-items: center;
}

.zineps-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

    .zineps-spinner i {
        font-size: 2rem;
        color: var(--primarycolor, #00a6a6);
    }
/* #endregion */
/* #region Dropdown */
.zineps-grouped-dropdown {
    position: relative;
    width: 100%;
}

    .zineps-grouped-dropdown span {
        cursor: pointer !important;
    }

.zineps-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    min-height: 48px;
    box-sizing: border-box;
    outline: none;
}

    .zineps-dropdown-toggle:hover {
        border-color: #999;
    }

    .zineps-dropdown-toggle:focus {
        border-color: #666;
        box-shadow: none;
    }

    .zineps-dropdown-toggle.active {
        border-color: #666;
        box-shadow: none;
    }

.zineps-dropdown-value {
    flex: 1;
    text-align: left;
    color: #495057;
    line-height: 1.4;
}

    .zineps-dropdown-value:empty::before {
        content: attr(data-placeholder);
        color: #6c757d;
        font-style: italic;
    }

.zineps-dropdown-arrow {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.zineps-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.zineps-dropdown-panel {
    position: fixed;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
    min-width: 250px;
}

.zineps-dropdown-group-header {
    padding: 8px 12px;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 32px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.zineps-dropdown-item {
    padding: 10px 24px;
    cursor: pointer;
    color: #495057;
    transition: background-color 0.2s ease;
    min-height: 40px;
    display: flex;
    align-items: center;
    line-height: 1.4;
    font-size: 14px;
    border-bottom: 1px solid transparent;
}

    .zineps-dropdown-item:hover {
        background-color: var(--primarycolor-translucent);
    }

    .zineps-dropdown-item.selected {
        background-color: var(--primarycolor-translucent);
        color: #495057;
    }

        .zineps-dropdown-item.selected:hover {
            background-color: var(--primarycolor-translucent);
        }

    /* Add consistent spacing for text within items */
    .zineps-dropdown-item span,
    .zineps-dropdown-item .dropdown-item-text,
    .zineps-dropdown-item .dropdown-placeholder {
        line-height: 1.4;
        font-size: 14px;
    }

.zineps-dropdown-placeholder {
    font-style: italic;
    color: #6c757d;
}

.zineps-dropdown-item-text {
    color: #495057;
}

/* Ensure table cell overflow doesn't clip dropdown */
.zineps-grouped-dropdown .dropdown-panel {
    position: fixed !important;
    z-index: 9999 !important;
}
/* #endregion */
/* #region Inventory */
.product-finder-popup{
    width: 50rem !important;
    height: 30rem;
}

.image-grid-cell{
    max-width: fit-content;
}

.order-item-field-title {
    margin: 0;
    color: #212529 !important;
    font-size: 18px;
    font-weight: 400;
    text-align: start;
    line-height: 2rem;
}

.order-item-field-value {
    font-size: 15px;
    font-weight: 200;
    color: #424242 !important;
    text-align: start !important;
}

.inventory-supplier-header {
    height: 5rem;
    border-bottom: #eee 1px solid;
    align-items: center;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.inventory-supplier-item{
    height: 5rem;
    align-items: center;
    border-bottom: #eee 1px solid;
}

.products-page {
    width: 100%;
    max-width: 110rem;
}

.stockoverview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.stockoverview-card {
    overflow: hidden;
    height: fit-content;
}

.inventory-supplier-header {
    padding: 1.25rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #424242;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
}

.inventory-supplier-body {
    padding: 0.5rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.inventory-supplier-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .inventory-supplier-item:hover {
        background-color: rgba(112, 202, 185, 0.05);
    }

    .inventory-supplier-item:last-child {
        border-bottom: none;
    }

.inventory-item-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.inventory-item-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

.inventory-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.inventory-item-name {
    font-weight: 500;
    color: #424242;
    margin: 0;
}

.inventory-item-code {
    font-size: 0.85rem;
    color: #707070;
    margin: 0;
}

.inventory-item-stock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stock-quantity {
    font-size: 1rem;
    font-weight: 600;
}

.stock-label {
    font-size: 0.8rem;
    color: #707070;
}

.stock-low {
    color: #f44336;
}

.stock-medium {
    color: #ff9800;
}

.stock-ok {
    color: #4caf50;
}

.supplier-order-summary {
    padding: 0.75rem 1.5rem;
    background-color: #f7f7f7;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    box-shadow: 0 -1px 10px rgba(0,0,0,0.1)
}

.order-count {
    font-weight: 500;
}

.no-items-message {
    padding: 2rem;
    text-align: center;
    color: #707070;
    font-style: italic;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.empty-state-icon {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-state-message {
    color: #707070;
    max-width: 250px;
}

.product-image {
    height: 8rem;
    justify-self: center;
}


.product-image-container {
    align-items: center;
    height: 100%;
}
/* #endregion */
/* #endregion */
/* #region SidePopup*/

/* ZinepsSidePopup Styles */
.zineps-side-popup-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    overflow: hidden;
    z-index: 1050;
    display: flex;
    justify-content: flex-end;
    background-color: rgba(0, 0, 0, 0); /* Start with transparent overlay */
    transition: background-color 0.3s ease, width 0s 0.3s; /* Delay width change */
    pointer-events: none; /* Initially doesn't capture mouse events */
}

    .zineps-side-popup-container.visible {
        width: 100%;
        background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay when visible */
        transition: background-color 0.3s ease; /* No delay when showing */
        pointer-events: auto; /* Captures mouse events when visible */
    }

.zineps-side-popup {
    position: relative;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-width: 90%;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: auto; /* Always capture events inside popup */
    overflow: hidden; /* Prevent content from spilling out */
}

.zineps-side-popup-container.visible .zineps-side-popup {
    transform: translateX(0);
}

.zineps-side-popup-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.zineps-side-popup-title {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.zineps-side-popup-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    padding: 0.25rem;
    margin: -0.25rem;
    cursor: pointer;
    color: #6c757d;
}

    .zineps-side-popup-close:hover {
        color: #343a40;
    }

.zineps-side-popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.zineps-side-popup-footer {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .zineps-side-popup {
        width: 100% !important;
        max-width: 100%;
    }
}
/* #endregion*/
/* #region Alerts */
.zineps-alert {
    position: relative;
    padding: .75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.zineps-alert-danger {
    color: #fff;
    background-color: #f1646c;
}

.zineps-alert-success {
    color: #fff;
    background-color: var(--primarycolor);
}
/* #endregion */