﻿
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --app-primary: #424242;
    --app-secondary: #575757;
    --brand-primary: #e47126;
    --brand-secondary: #f5c4a2;
    --brand-tertiary: #f5c4a2;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #636363;
    font-size: 13px;
    width: 100% !important;
    /*overflow-x: hidden;*/
    /*    overflow-y: scroll;*/
}

.specialbutton {
    margin-left: calc(var(--bs-gutter-x)* .2) !important;
}

#updatebtn:hover, #backbtn:hover {
    background: #ffffff;
    border: 1px solid #ef8321;
    border-radius: 4px;
    font-weight: 400;
    color: #ef8321;
    padding: 8px 10px;
    font-size: 0.9rem;
    margin-right: 5px;
    margin-top: 6px;
}

#updatebtn, #backbtn {
    background: #ef8321;
    border: 1px solid #ef8321;
    border-radius: 4px;
    font-weight: 400;
    color: #fff;
    margin-right: 5px;
    font-size: 0.9rem;
    padding: 8px 10px;
    margin-top: 6px;
}

#btnsecondary:hover, .btnsecondary:hover, .btn-default:hover {
    background: #ffffff;
    border: 1px solid var(--brand-secondary);
    border-radius: 4px;
    font-weight: 400;
    color: var(--brand-secondary);
    padding: 8px 10px;
    font-size: 1.1rem;
    margin-right: 5px;
}

#btnsecondary, .btnsecondary, .btn-default {
    background: var(--brand-secondary);
    border: 1px solid var(--brand-secondary);
    border-radius: 4px;
    font-weight: 400;
    color: #fff;
    margin-right: 5px;
    font-size: 1.1rem;
    padding: 8px 10px;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border-color: #5f368d;
    border-bottom: 3px solid #ef8321;
}

.nav-tabs .nav-link {
    /* border: 1px solid transparent; */
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-width: 0 0 3px 0;
}

h6 {
    text-align: right;
}

.cmb-10 {
    margin-bottom: 10px;
}

#quantityfield, #barcodefield {
    border-bottom: 2px solid #ef8321;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    /*border-radius: 10px;*/
}

input [type="text"], #quantityfield, #barcodefield {
    outline: 0 !important;
    box-shadow: none;
    text-align: center;
}


#searchbarbtn {
    background: #ef8321;
    border: 1px solid #ef8321;
    border-radius: 40px;
    font-weight: 600;
    color: #fff;
    margin-left: 15px;
}

    #searchbarbtn:hover {
        background: #fff;
        color: #ef8321;
        border: 1px solid #ef8321;
    }

.row.sopickinglines {
    margin-bottom: 30px;
}

.row.sopickinglines h4 {
    margin-bottom: 0px;
}



.table {
    color: #636363 !important;
}

.userinitials {
    font-weight: 900;
    background: #fff;
    padding: 6px;
    border-radius: 20px;
    color: #ef8321;
}

.userinitials:hover {
    color: #ef8321;
    text-decoration: none;
}

.sidebar[b-6izfpeqxma] {
    /*    background: #f8f8f8 !important;
    border-left: 3px solid #ef8321 !important;
    border-right: 3px solid #ef8321 !important;*/
}

a, .btn-link {
    color: #0366d6;
}

.login h2 {
    margin-bottom: 30px;
    padding: 10px;
    color: #636363;
    /*box-shadow: 0 10px 30px 0 rgb(0 0 0 / 8%);*/
    font-size: 22px;
}

/*::-webkit-input-placeholder {
    text-align: center;
}*/

/*.login-form-wrapper {
    padding: 40px;
    box-shadow: 0 10px 30px 0 rgb(0 0 0 / 8%);
    margin-top: 50px;
}*/

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/*.fa-refresh:before {
    content: "\f021";
    font-weight: 900;
    background: #fff;
    padding: 8px;
    border-radius: 20px;
    color: #ef8321;
    margin: 0px;
}*/

.nav-item a.active {
    background-color: #f8f8f8 !important;
    color: var(--brand-primary) !important;
}

.main-col {
    padding: 0px !important;
}

#searchbox {
    border-bottom: 2px solid #ef8321;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
}
/*.content {
    padding-top: 1.1rem;
}*/
.loader-wrapper {
    padding: 50% 0;
    text-align: center;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.login-form-wrapper {
    margin-top: 60px;
}

.login-footer {
    margin-top: 100px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/*.containers {
    margin-top: 5%;
    margin-bottom: 5%;
}*/


input [type="text"], #searchbox {
    outline: 0 !important;
    box-shadow: none;
}

/*input::-webkit-input-placeholder {
    text-align: center
}*/

.table td, .table th {
    padding-left: 1rem;
    padding-right: 1rem;
}

.table-pointer tbody tr {
    cursor: pointer;
}

.page-item.active .page-link {
    background-color: #ef8321;
    border-color: #ef8321;
    color: #fff !important;
}
.page-link {
    color: #636363 !important;
}

h4 {
    font-size: inherit !important;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-body{
    padding: 5px !important;
}

[role=tab] span {
    color: #495057 !important;
}
.nav-tabs {
    border: 1px solid #dee2e6 !important;
}
/*@media (min-width: 641px) {
    .sidebar[b-1gsd14h1ov] {
        height: unset !important;
    }
}
*/
.dxbl-text-edit.dxbl-lg {
    --dxbl-text-edit-line-height: 2 !important;
    font-size: 12px !important;
}

.input-group-prepend {
    margin-right: -1px;
}
.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}
.loader-wrapper {
    padding: 50% 0;
    text-align: center;
}
.loginfield:focus {
    outline: none;
}

.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    height: 100vh;
    font-family: "Segoe UI",Roboto,"Helvetica Neue","-apple-system",BlinkMacSystemFont,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

    .splash-screen .spinner-border {
        border: .2em solid;
        border-color: #2d2d2d #bfbfbf #bfbfbf;
        border-radius: 60px;
        width: 120px;
        height: 120px;
    }

.splash-screen-caption {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.splash-screen-text {
    color: #a1a1a1;
    margin-top: .5rem;
}
.dxbl-grid .dxbl-grid-table > tbody > tr > td,
.dxbl-grid .dxbl-grid-table > tbody > tr > th{
    line-height: 2rem !important;
}
.cw-320 {
    max-width: 450px;
}

.blazored-typeahead {
    width: 320px;
    max-width: 450px;
}
.card-h4 {
    background-color: #efefef;
    padding: 9px;
    max-width: 590px;
    border-radius: 2px;
    border: 1px solid #efefef;
    margin-bottom: 15px;
    margin-top: 31px;
}
@media (min-width: 576px) {
    .blazored-toast-container {
        top: 0rem;
        right: 0rem;
    }
}

@media (min-width: 641px) {
    .main-col h4, h4span {
        margin-top: 0px;
    }
    .card-h4 {
        max-width: 75%;
    }
}
@media (min-width: 800px) {
    .main-col h4, h4span {
        margin-top: 0px;
    }

    .card-h4 {
        max-width: 800px;
    }
}
@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-6izfpeqxma] {
        display: flex !important;
    }

    .cw-320 {
        max-width: 700px;
    }
    .blazored-typeahead {
        max-width: 700px;
    }
    .card-h4 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 20px;
    }

    .cw-320 {
        max-width: 700px;
    }
    .blazored-typeahead {
        max-width: 700px;
    }
    .card-h4 {
        max-width: 100%;
    }
}
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-dialog-content {
    /*    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    width: 30%;
    user-select: none;*/
    background-color: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    width: 30%;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-dialog-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.custom-dialog-text {
    margin-bottom: 10px;
    font-size: 1.2rem;
    /*padding: 10px;*/
}


@media (max-width: 1368px) {

    .custom-dialog-content {
        width: 38%;
    }
}

@media (max-width: 1000px) {

    .custom-dialog-content {
        width: 48%;
    }
}

@media (max-width: 641px) {

    .custom-dialog-content {
        width: 70%;
    }
}

    /* ================================================== */
    /* Order Card - {Orders page, Home page} */
    /* ================================================== */

    .order-card {
        border-radius: 5px;
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 92%;
        background-color: white;
        border: 1px solid var(--bs-gray-200);
        cursor: pointer;
        height: 100%;
    }

    .order-card-details {
        padding: 5px;
    }

    .order-card-header {
        padding: 8px;
        border-radius: 5px;
        width: 100%;
        color: white;
        height: fit-content;
        display: flex;
        align-items: center;
        justify-content: space-around;
        opacity: 0.7;
    }

    .header-status {
        display: flex;
        gap: 8%;
        align-items: center;
        width: 60%;
    }

/*.order-card-images {
    width: 100%;
    height: 210px;
    object-fit: contain;
    margin-top: 5px;
    padding: 0px;
    display: grid;
    gap: 5px;
    position: relative;
}*/

.order-card-images {
    width: 100%;
    height: 210px;
    margin-top: 5px;
    padding: 0;
    display: grid;
    gap: 5px;
    position: relative;
}

        .order-card-images img {
            border-radius: 5px;
        }

    .order-images {
        border-radius: 5px;
    }

    .order-card-images.one {
        grid-template-columns: 1fr;
    }

        .order-card-images.one img {
            width: 100%;
            height: 210px;
            object-fit: cover;
        }

    .order-card-images.two {
        grid-template-columns: 1fr 1fr;
    }

        .order-card-images.two img {
            width: 100%;
            height: 210px;
            object-fit: cover;
        }

/* When more images exist */
.order-card-images.more {
    grid-template-columns: 1fr 1fr;
}

    .order-card-images.more img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        
    }

        /* Target the second visible image */
        .order-card-images.more img:nth-child(2) {
            position: relative;
        }

            /* Backdrop applied ONLY when .more is active */
            .order-card-images.more img:nth-child(2)::before {
                content: "";
                position: absolute;
                inset: 0;
                background: rgba(0, 0, 0, 0.45);
                border-radius: inherit;
                border-radius: 5px;
            }

        /* Ensure grid alignment: image 2 and overlay share space */
        .order-card-images.more img:nth-child(2),
        .order-card-images.more .more-overlay {
            grid-row: 1;
            grid-column: 2;
        }

/* Overlay is hidden by default */
.more-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.30);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

/* Overlay is shown only when .more is applied */
.order-card-images.more .more-overlay {
    display: flex;
}

    /*container*/

    .order-card-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 5px;
    }

    .container {
        display: grid;
        gap: 6px;
    }

        .container.one img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .container.two {
            grid-template-columns: 1fr 1fr;
        }

            .container.two img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .container.three {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
        }

            .container.three img:nth-child(1) {
                grid-column: 1;
                grid-row: 1;
            }

            .container.three img:nth-child(2) {
                grid-column: 1;
                grid-row: 2;
            }

            .container.three img:nth-child(3) {
                grid-column: 2;
                grid-row: 1 / span 2;
            }

            .container.three img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

    .card-view-item {
        /*    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 92%;
    background-color: white;
    border: 1px solid var(--bs-gray-200);
    cursor: pointer;
    height: 100%;*/

        border-radius: 5px;
        padding: 5px;
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 95%;
        background-color: white;
        border: 1px solid var(--bs-gray-200);
        cursor: pointer;
        height: 100%;
    }

        .card-view-item:hover {
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
        }

    .card-view-product-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 5px;
    }

    .order-price {
        display: flex;
        align-items: center;
        font-size: 1.1rem;
    }

    .card-view-status-column {
        /*    padding: 8px;
    border-radius: 5px;
    width: 92%;
    color: white;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-around;
    opacity: 0.7;
    margin-top: 4%;*/

        padding: 8px;
        border-radius: 5px;
        width: 100%;
        color: white;
        height: fit-content;
        display: flex;
        align-items: center;
        justify-content: space-around;
        opacity: 0.7;
    }

    .date-header {
        color: white;
    }

    .status-header {
        display: flex;
        gap: 8%;
        align-items: center;
        width: 60%;
    }

    .product-image-orders {
        width: 100%;
        height: 100%;
        object-fit: contain;
        margin-top: 5px;
    }

    .order-number {
        font-size: 18px;
        max-width: 93%;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .order-details {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .order-card-footer {
        display: flex;
        width: 100%;
        margin-top: 5px;
    }

    .order-img-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .reorder-btn {
        width: 100%
    }

    .general-text {
        font-size: 16px;
    }


    .product-details-container {
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .dialog {
        /*         display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        margin-top: 5px; */

        display: none;
        position: absolute;
        top: -25%;
        right: 105%;
        z-index: 1000;
        margin-top: 5px;
    }

        .dialog.show {
            display: block;
        }

    .dialog-content {
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        min-width: 200px;
    }

    .dialog-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .close-button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        padding: 0 5px;
    }

    .dialog-body {
        font-size: 14px;
    }

    .confirm-button {
        background-color: darkorange;
    }

    .show-order {
        display: block;
    }

    .modal-header-container {
        display: flex;
        justify-content: space-between;
    }

    .trash-button {
        border: none;
        background: none;
        padding: 8px 12px;
        cursor: pointer;
        color: #666;
    }

    .empty-div {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15%;
        width: 100%;
    }

    .centered-item {
        display: flex;
        justify-content: center;
    }



    .variant-info {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 5px;
        max-width: 95%;
    }

    .variant-info-modal {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 5px;
        max-width: 95%;
    }

    .standard-logo {
        width: 140px;
    }

    /* ----------------------------- */
    /* PAGE HEADER */
    /* ----------------------------- */

    .page-header-div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: linear-gradient(180deg, var(--brand-secondary) 0%, var(--brand-tertiary) 50%);
    }

    .page-header {
        /*    margin-top: 35px;
    margin-bottom: 35px;*/
        display: flex;
        width: 90%;
        align-items: center;
        justify-content: space-between;
    }

    .logo-div {
        width: 14%;
        display: flex;
        justify-content: flex-start;
        padding: 20px;
    }

        .logo-div img {
            height: auto;
            width: 70%;
        }

    .toolbar-right {
        display: flex;
        align-items: center;
        gap: 20%;
        width: 14%;
        justify-content: flex-end;
    }

    @media (max-width: 1600px) {
        .logo-div {
            width: 20%;
        }
    }

    @media (max-width: 1000px) {
        .logo-div {
            width: 25%;
        }
    }

    @media (max-width: 800px) {

        .page-header {
            flex-direction: column;
        }

        .logo-div {
            width: 45%;
            display: flex;
            justify-content: center;
        }

        .toolbar-right {
            justify-content: center;
            padding: 20px;
        }
    }

    /*@media (max-width: 600px) {
    .logo-div {
        width: 35%;
    }
}*/

    .view-toggle {
        display: flex;
        justify-content: flex-end;
    }

    .edit-form {
        display: flex;
        justify-content: center;
        background-color: var(--bs-gray-200);
        align-items: center;
        width: 105px;
        height: 55px;
        border-radius: 8px;
        gap: 5px;
    }

    .st-toggle-button {
        display: flex;
        justify-content: center;
        background-color: var(--bs-gray-200);
        align-items: center;
        width: 70px;
        height: 55px;
        border-radius: 8px;
        gap: 5px;
    }

    .st-toggle-button-inner {
        cursor: pointer;
        font-size: 16px;
        width: 60px;
        height: 45px;
        border: 2px solid transparent;
        display: flex;
        /*padding-right: 6px;*/
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        color: var(--app-primary);
        font-weight: 600;
    }

        .st-toggle-button-inner:hover {
            background-color: white;
            color: var(--brand-secondary);
        }

    .cart-container {
        /*    border-radius: 10px;
    padding: 15px;
    display: flex;
    background-color: var(--brand-secondary);
    color: white;
    width: 60px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 8px;*/

        border-radius: 5px;
        padding: 15px;
        display: flex;
        background-color: var(--app-secondary);
        color: white;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 24px;
        gap: 8px;
    }

        .cart-container:hover {
            opacity: 0.9;
        }

    .cart-container-pagination {
        border-radius: 4px;
        padding: 15px;
        display: flex;
        background-color: var(--app-secondary);
        color: white;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 16px;
        /*gap: 8px;*/
        opacity: 0.75;
    }

    .cart-count {
        /*    border-radius: 50%;
    background-color: var(--brand-primary);
    position: absolute;
    top: 32px;
    right: 40px;
    font-size: 11px;
    height: 15px;
    width: 15px;
    display: flex;
    align-items: center;
    justify-content: center;*/

        border-radius: 50%;
        background-color: var(--app-primary);
        position: absolute;
        top: 16px;
        right: 35px;
        font-size: 11px;
        height: 15px;
        width: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .info-container {
        display: none;
        border-radius: 10px;
        padding: 15px;
        /*display: flex;*/
        background-color: var(--brand-secondary);
        color: white;
        width: 60px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 16px;
    }

    /* ----------------------------- */
    /* CARD VIEW */
    /* ----------------------------- */

    .grid-header-div {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background-color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        gap: 1%;
        margin-top: 50px;
    }

    .card-view-div {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 8px;
        row-gap: 1.6%;
        justify-items: center;
        background-color: white;
        margin-bottom: 135px;
        margin-top: 72px;
        user-select: none;
    }

    @media (min-width: 1800px) {
        .card-view-div {
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
            margin-bottom: 175px;
        }
    }

    @media (min-width: 1500px) {
        .card-view-div {
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
            margin-bottom: 175px;
        }
    }

    @media (max-width: 1200px) {
        .card-view-div {
            grid-template-columns: 1fr 1fr 1fr;
            margin-bottom: 175px;
        }
    }

    @media (max-width: 800px) {
        .card-view-div {
            grid-template-columns: 1fr 1fr;
            row-gap: 0.6%;
        }
    }

    @media (max-width: 500px) {
        .card-view-div {
            grid-template-columns: 1fr;
        }
    }

    /* ================================================== */
    /* View Switch */
    /* ================================================== */

    .radio-button {
        /*    cursor: pointer;
    font-size: 16px;
    width: 45px;
    border: 2px solid transparent;
    display: flex;
    padding-right: 6px;
    align-items: center;
    justify-content: center;*/

        cursor: pointer;
        font-size: 16px;
        width: 45px;
        height: 45px;
        border: 2px solid transparent;
        display: flex;
        padding-right: 6px;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        color: var(--app-primary);
    }

        .radio-button.selected {
            /*        background-color: var(--brand-secondary);
        color: white; */
            background-color: white;
            color: var(--brand-secondary);
        }

    .hidden-radio {
        display: none;
    }

    .radio-button i {
        font-size: 24px;
        margin-left: 5px;
    }

    .radio-button:hover {
        background-color: white;
        color: var(--brand-secondary);
    }


    /* ================================================== */
    /* Quantity Control */
    /* ================================================== */

    .quantity-control-modal {
        display: flex;
        align-items: center;
        width: 65%;
        border: 2px solid var(--brand-secondary);
        border-radius: 4px;
        background-color: var(--brand-secondary);
        justify-content: space-evenly;
        font-size: 17px;
    }

        .quantity-control-modal button {
            border: none;
            background: none;
            padding: 8px 12px;
            cursor: pointer;
            color: white;
            font-size: 17px;
            width: 35%;
        }

        .quantity-control-modal input {
            width: 30%;
            border: none;
            text-align: center;
            font-size: 17px;
            background-color: var(--brand-secondary);
            color: white;
            height: 35px;
        }

    .quantity-control-buttons {
        width: 40px;
        border: none;
        text-align: center;
        font-size: 17px;
        background-color: var(--brand-secondary);
        color: white;
        border-radius: 5px;
        margin-left: 2px;
    }

    .popup-grid-buttons {
        width: 40px;
        border: none;
        text-align: center;
        font-size: 17px;
        background-color: var(--brand-secondary);
        color: white;
        height: 39px;
        border-radius: 5px;
        margin-left: 2px;
    }


    .quantity-control-cart {
        display: flex;
        align-items: center;
        width: 50%;
        border: 2px solid var(--brand-secondary);
        border-radius: 4px;
        background-color: var(--brand-secondary);
        justify-content: space-evenly;
        font-size: 17px;
    }

        .quantity-control-cart button {
            border: none;
            background: none;
            padding: 8px 12px;
            cursor: pointer;
            color: white;
            font-size: 17px;
            width: 35%;
        }

        .quantity-control-cart input {
            width: 100%;
            border: none;
            text-align: center;
            font-size: 17px;
            background-color: var(--brand-secondary);
            color: white;
            height: 35px;
        }

    /* ================================================== */
    /* General */
    /* ================================================== */

    .centered-header {
        display: flex;
        justify-content: center;
    }


    .top-right-div {
        width: fit-content;
        display: flex;
        justify-content: center;
        gap: 3%;
    }

    /* ================================================== */
    /* Info Popup */
    /* ================================================== */

    .info-modal {
        background-color: white;
        width: 35%;
        height: fit-content;
        border-radius: 9px;
        border: 3px solid #f4f4f4;
        padding: 10px;
    }

    /* ================================================== */
    /* Orders Page */
    /* ================================================== */

    @media (max-width: 1400px) {

        .order-details-container {
            width: 65% !important;
        }
    }

    @media (max-width: 1024px) {

        .dx-floating-label {
            width: 100px;
        }

        /*    .dx-select {
        width: 100px;
    }*/

        .dx-select input {
            width: 70px;
        }

        .order-details-container {
            width: 85% !important;
        }
    }

    @media (max-width: 600px) {

        /*    .grid-container {
        width: 100%;
    }
*/
        .order-details-container {
            width: 95% !important;
            flex-direction: column;
            max-height: 600px;
            overflow: auto;
        }

        .right-section {
            max-height: unset !important;
        }

        .order-details-body {
            flex-direction: column;
        }

        .order-details-left {
            width: 100% !important;
        }

        .order-details-right {
            width: 100% !important;
            margin-top: 10px;
        }
    }

    @media (min-width: 1925px) {

        .grid-container-orders {
            max-width: 1300px;
        }
    }

    /*
warehouse shit*/

    .warehouse-instock-div {
        display: flex;
        gap: 5px;
        width: 100%;
        align-items: center;
    }

    .warehouse-tag-modal {
        padding: 6px;
        background-color: #f4f4f4;
        border-radius: 5px;
        width: fit-content;
        display: flex;
        justify-content: center;
    }



/*    .new-release-tag {
        padding: 5px;
        opacity: 0.7;
        background-color: rebeccapurple;
        border-radius: 5px;
        color: white;
        display: flex;
        justify-content: center;
    }*/


    /* ================================================== */
    /* CUSTOM COMPONENETS */
    /* ================================================== */

    /* ================================================== */
    /* Floating Label Input */
    /* ================================================== */

    .floating-input {
        position: relative;
        display: inline-block;
        width: 100%;
        font-family: inherit;
        height: 50px;
    }

        .floating-input input {
            width: 100%;
            padding: 12px 8px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 6px;
            outline: none;
            background: white;
            transition: border-color 0.2s ease;
            padding-left: 15px;
        }

            .floating-input input:focus {
                border-color: var(--brand-secondary); /* Accent color */
            }

        .floating-input label {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            background: transparent;
            padding: 0 4px;
            color: #888;
            font-size: 16px;
            pointer-events: none;
            transition: all 0.2s ease;
            border-radius: 4px;
        }

        /* Float label when input has focus or value */
        .floating-input input:focus + label,
        .floating-input input:not(:placeholder-shown) + label {
            top: 0px;
            left: 15px;
            font-size: 12px;
            color: var(--brand-secondary);
            background: white;
            /*border: 1px solid var(--brand-secondary);*/
        }

        .floating-input input.validation-error:focus + label,
        .floating-input input.validation-error:not(:placeholder-shown) + label {
            color: #dc3545;
        }

        .floating-input.validation-error .floating-input label {
            color: #dc3545;
        }

    .validation-error {
        border-color: #dc3545 !important;
        background-color: #fff3f3 !important;
    }

    .validation-message {
        color: #dc3545;
        font-size: 12px;
        margin-top: 4px;
        margin-left: 15px;
        display: flex;
        gap: 10px;
        position: absolute;
        top: -32px;
        /* left: 0px; */
        right: 8px;
        align-items: baseline;
        padding: 5px;
    }


    /* ================================================== */
    /* ST Text area */
    /* ================================================== */

    .st-text-area {
        position: relative;
        display: inline-block;
        width: 100%;
        font-family: inherit;
        height: 50px;
    }

        .st-text-area input {
            width: 100%;
            padding: 12px 8px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 6px;
            outline: none;
            background: white;
            transition: border-color 0.2s ease;
            padding-left: 15px;
        }

            .st-text-area input:focus {
                border-color: var(--brand-secondary); /* Accent color */
            }

        /* TextArea styles - matching input styles */
        .st-text-area textarea {
            width: 100%;
            padding: 12px 8px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 6px;
            outline: none;
            background: white;
            transition: border-color 0.2s ease;
            padding-left: 15px;
            padding-top: 15px;
            font-family: inherit;
            resize: vertical; /* Allows vertical resize only */
            min-height: 100px;
        }

            .st-text-area textarea:focus {
                border-color: var(--brand-secondary);
            }

        .st-text-area label {
            position: absolute;
            top: 20%;
            left: 15px;
            transform: translateY(-50%);
            background: transparent;
            padding: 0 4px;
            color: #888;
            font-size: 16px;
            pointer-events: none;
            transition: all 0.2s ease;
            border-radius: 4px;
        }

        /* Float label when input has focus or value */
        .st-text-area input:focus + label,
        .st-text-area input:not(:placeholder-shown) + label {
            top: 0px;
            left: 15px;
            font-size: 12px;
            color: var(--brand-secondary);
            background: white;
            /*border: 1px solid var(--brand-secondary);*/
        }

        /* Float label when textarea has focus or value */
        .st-text-area textarea:focus + label,
        .st-text-area textarea:not(:placeholder-shown) + label {
            top: 0px;
            left: 15px;
            font-size: 12px;
            color: var(--brand-secondary);
            background: white;
        }

        /* Validation error states for input */
        .st-text-area input.validation-error:focus + label,
        .st-text-area input.validation-error:not(:placeholder-shown) + label {
            color: #dc3545;
        }

        /* Validation error states for textarea */
        .st-text-area textarea.validation-error:focus + label,
        .st-text-area textarea.validation-error:not(:placeholder-shown) + label {
            color: #dc3545;
        }

        .st-text-area.validation-error .st-text-area label {
            color: #dc3545;
        }

    .validation-error {
        border-color: #dc3545 !important;
        background-color: #fff3f3 !important;
    }

    .validation-message {
        color: #dc3545;
        font-size: 12px;
        margin-top: 4px;
        margin-left: 15px;
        display: flex;
        gap: 10px;
        position: absolute;
        top: -32px;
        /* left: 0px; */
        right: 8px;
        align-items: baseline;
        padding: 5px;
    }

    /* Adjust floating-input height for textarea containers */
    .st-text-area:has(textarea) {
        height: auto;
        min-height: 100px;
    }


    /* ================================================== */
    /* Custom Drop Down */
    /* ================================================== */

    .dropdown-container {
        position: relative;
        width: 200px;
        max-width: 100%;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        background: white;
        transition: border-color 0.2s ease;
        height: 50px;
        display: grid;
        align-items: center;
        box-sizing: border-box;
        flex-shrink: 0;
    }

        .dropdown-container.dropdown-focused {
            border-color: var(--brand-primary);
        }

        /* Validation styles */
        .dropdown-container.dropdown-error {
            border-color: #dc3545;
            background-color: #fff3f3;
        }

            .dropdown-container.dropdown-error.dropdown-focused {
                border-color: #dc3545;
                background-color: #fff3f3;
            }

    .dropdown-label {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        font-size: 16px;
        transition: all 0.2s ease;
        pointer-events: none;
        background: transparent;
        padding: 0 4px;
        z-index: 1;
        border-radius: 4px;
    }

    .dropdown-label-floating {
        top: 0;
        transform: translateY(-50%);
        font-size: 12px;
        color: var(--brand-primary);
        background-color: white;
    }

    .dropdown-container.dropdown-focused .dropdown-label-floating {
        color: var(--brand-primary);
        background: white;
    }

    /* Error label styling */
    .dropdown-container.dropdown-error .dropdown-label,
    .dropdown-container.dropdown-error .dropdown-label-floating {
        color: #dc3545;
    }

    .dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
        padding: 12px 15px;
        min-height: 24px;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        overflow: hidden;
    }

    .dropdown-value {
        font-size: 16px;
        color: #333;
        flex: 1;
        margin-right: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .dropdown-arrow {
        transition: transform 0.2s ease;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #666;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .dropdown-arrow-up {
        transform: rotate(180deg);
    }

    .dropdown-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ccc;
        border-top: none;
        border-radius: 0 0 6px 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: 150px;
        overflow-y: auto;
    }

    .dropdown-item {
        padding: 12px 15px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.15s ease;
    }

        .dropdown-item:hover {
            background-color: #f5f5f5;
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

    .dropdown-item-selected {
        background-color: #e6f3ff;
        color: #0066cc;
    }

        .dropdown-item-selected:hover {
            background-color: #d9edff;
        }

    .dropdown-placeholder {
        color: #999;
    }

    .dropdown-no-items {
        padding: 12px 15px;
        color: #999;
        font-style: italic;
        text-align: center;
    }

    .dropdown-readonly {
        cursor: default;
        opacity: 0.8;
    }

        .dropdown-readonly .dropdown-header {
            cursor: default;
        }

    /* Validation error message styles */
    .dropdown-error-message {
        color: #dc3545;
        font-size: 12px;
        margin-top: 4px;
        margin-left: 15px;
        display: flex;
        gap: 10px;
        position: absolute;
        top: -32px;
        /* left: 0px; */
        right: 8px;
        align-items: baseline;
        padding: 5px;
    }

    /* ================================================== */
    /* CUSTOM STYLING */
    /* ================================================== */

    .control-header {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
        height: 100px !important;
        height: 60px;
        background-color: white;
        color: white;
        box-sizing: border-box;
        padding: 25px;
        user-select: none;
    }

    .ch-left-btn {
        z-index: 1;
        gap: 65px;
        display: flex;
    }

    .ch-right-btn {
        z-index: 1;
        display: flex;
        gap: 10px;
    }

    .ch-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .CH1 {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-size: 2.5rem;
        color: var(--brand-primary);
    }

    .CH2 {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        /* letter-spacing: 3px; */
        font-size: 1.8rem;
        color: var(--brand-secondary);
    }

    .CH3 {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        /* letter-spacing: 3px; */
        font-size: 0.8rem;
        color: var(--brand-secondary);
    }

    .LBL1 {
        color: var(--brand-secondary);
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 1.2rem;
    }

    .LBL2 {
        color: var(--brand-secondary);
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 1rem;
    }

    .APP-LBL2 {
        color: var(--app-secondary);
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 1rem;
    }

    .VL1 {
        font-family: 'Roboto Mono', monospace;
        font-weight: 400;
        font-size: 1.2rem;
        color: #000;
    }

    .VL2 {
        font-family: 'Roboto Mono', monospace;
        font-weight: 200;
        font-size: 0.95rem;
        color: #000;
    }

    .TA1 {
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        background: white;
        transition: border-color 0.2s ease;
        min-height: 50px;
        display: flex;
        align-items: center;
        min-height: 150px;
        padding: 10px;
    }

    .st-heading1 {
        color: var(--app-secondary);
        font-size: 1.8rem;
    }

    .st-heading2 {
        /*font-family: 'Roboto Mono', monospace;*/
        color: var(--app-secondary);
        font-size: 2.2rem;
    }

    .ST-BTN1 {
        padding: 0.7rem 1.2rem;
        display: flex;
        gap: 10px;
        background-color: var(--brand-secondary);
        color: white;
        font-size: 1.2rem;
        height: 50px !important;
        width: fit-content;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        align-items: center;
    }

        .ST-BTN1:hover {
            box-shadow: 0 2px 6px rgba(228, 113, 38, 0.5);
        }

    .st-primarybtn {
        font-weight: 600;
        padding: 0.7rem 1.2rem;
        display: flex;
        gap: 10px;
        background-color: var(--bs-gray-200);
        color: var(--app-secondary);
        font-size: 1.2rem;
        height: 35px !important;
        width: 100%;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        align-items: center;
        justify-content: center;
    }

        .st-primarybtn:hover {
            /*        box-shadow: 0 2px 6px rgba(228, 113, 38, 0.5);*/
            /*background-color: white;*/
            color: var(--brand-secondary);
        }

    .ST-PBTN1 {
        padding: 0.7rem 1.2rem;
        display: flex;
        gap: 10px;
        background-color: var(--brand-secondary);
        color: white;
        font-size: 1.2rem;
        height: 50px !important;
        width: fit-content;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        align-items: center;
    }

        .ST-PBTN1:hover {
            box-shadow: 0 2px 6px var(--brand-secondary);
        }

    .st-btn2 {
        padding: 0.7rem 1.2rem;
        display: flex;
        justify-content: center;
        gap: 10px;
        background-color: var(--app-secondary);
        color: white;
        font-size: 1.2rem;
        width: fit-content;
        height: 37px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        align-items: center;
    }

        .st-btn2:hover {
            opacity: 0.9;
            /*box-shadow: 0 0 3px 3px var(--brand-primary);*/
            /*box-shadow: 0 0px 3px 1px var(--brand-secondary);*/
            box-shadow: 1.5px 1.5px 1px var(--brand-secondary);
            outline: none;
            /*transform: translateY(-2px);*/
        }


    .st-company-header {
        background-color: var(--brand-tertiary);
        /*    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);*/
        display: flex;
        align-content: space-between;
        justify-content: space-between;
        align-items: center;
        padding-left: 30px;
        padding-right: 30px;
        user-select: none;
    }

    .st-page-header {
        height: 71px;
        background: #f8f8f8;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
        display: flex;
        align-content: space-between;
        justify-content: space-between;
        align-items: center;
        padding-left: 30px;
        padding-right: 30px;
        user-select: none;
    }

    .st-header-customer {
        font-weight: 500;
        font-size: 24px;
        cursor: pointer;
    }

    .st-header-text {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px;
        font-weight: 500;
        font-size: 24px;
        gap: 5px;
    }

.promo-tag {
    color: white;
    padding: 6px;
    background-color: var(--brand-secondary);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    width: fit-content;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 9px;
    font-weight: 600;
    font-size: 11px;
}

.promo-tag-lv {
    color: white;
    padding: 6px;
    background-color: var(--brand-secondary);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    width: fit-content;
    align-items: center;
    font-weight: 600;
    font-size: 11px;
}

.limited-stock-tag {
    color: white;
    padding: 6px;
    background-color: #F59E0B;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    width: fit-content;
    align-items: center;
    font-weight: 600;
    font-size: 11px;
}

.new-release-tag {
    color: white;
    padding: 6px;
    background-color: #1ecb19bd;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    width: fit-content;
    align-items: center;
    font-weight: 600;
    font-size: 11px;
}

.custom-text {
    font-size: 12px;
    margin-left: 5px;
    color: var(--brand-secondary);
}

/*
fukin filter container*/

.product-container-settings {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    border-radius: 8px;
    margin-top: 25px;
}

.product-toggle-container {
    display: flex;
    gap: 10px;
}

.product-filter-div {
    display: flex;
    gap: 10px;
}

.st-textbox {
    width: 200px;
}

@media (max-width:1580px) {

    .product-container-settings {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}


@media (max-width: 800px) {

    .product-container-settings {
        align-items: flex-end;
        flex-direction: row;
    }
}

@media (max-width: 500px) {

    .product-container-settings {
        flex-direction: column !important;
        align-items: center !important;
    }

    .product-toggle-container {
        width: 100%;
        align-items: center !important;
    }

    .st-textbox {
        width: 100%;
    }

    .dropdown-container {
        width: 100%;
    }

}