﻿
@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;
    
    --bg-modal: #FBF9F6;
    --ink: #26211D;
    --ink-soft: #6B6259;
    --ink-faint: #A79E92;
    --line: #E6E0D5;
    --ember: #BD5B34;
    --ember-tint: #F4E4D9;
    --savings: #4B7A5B;
    --savings-tint: #E5EEE8;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #636363;
    font-size: 13px;
    width: 100% !important;
}

#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;
}

.table {
    color: #636363 !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-item a.active {
    background-color: #f8f8f8 !important;
    color: var(--brand-primary) !important;
}

#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;
    }

.table td, .table th {
    padding-left: 1rem;
    padding-right: 1rem;
}

h4 {
    font-size: inherit !important;
    font-weight: 600;
    margin-bottom: 5px;
}

.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;
}

.blazored-typeahead {
    width: 320px;
    max-width: 450px;
}

/*@media (max-width: 640.98px) {

    .blazored-typeahead {
        max-width: 700px;
    }

}*/

@media (max-width: 768px) {

    .cart-count {
        top: 76px !important;
        right: 16px !important;
    }

    .st-page-header {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

}

/* ================================================== */
/* Modals - General */
/* ================================================== */

.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

/* ================================================== */
/* Order Card - {Orders page, Home page} */
/* ================================================== */

.orders-price {
    display: flex;
    gap: 5px;
    align-items: baseline;
    font-size: 18px;
}

    .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%;
    }

.typeshi {
    width: 100%;
    height: 210px;
    /*margin-top: 5px;*/
    padding: 0;
    gap: 5px;
}

.order-status-tag {
/*    display: flex;
    justify-content: center;*/
    position: absolute;
    z-index: 1;
}

.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;
        }

.order-card-images.more {
    grid-template-columns: 1fr 1fr;
}

    .order-card-images.more img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        
    }

        .order-card-images.more img:nth-child(2) {
            position: relative;
        }

            .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;
            }

        .order-card-images.more img:nth-child(2),
        .order-card-images.more .more-overlay {
            grid-row: 1;
            grid-column: 2;
        }


.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;
}

.order-card-images.more .more-overlay {
    display: flex;
}

    .card-view-item {
        border-radius: 5px;
        padding: 5px;
        display: flex;
        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-div {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px), 1fr));
    padding: 8px;
    row-gap: 1.6%;
    justify-items: center;
    background-color: white;
    margin-bottom: 135px;
    margin-top: 72px;
    user-select: none;
}

.order-grid {
    display: grid;
    align-items: center;
    row-gap: 15px;
    padding: 35px;
    width: 100%;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.card-view-product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

/* Status now reads as plain colored text against the strip, so it can
      run the full width of the card and wrap to a second line for
      longer labels like "Work In Progress" instead of being squeezed
      into a fixed-size pill. */
.card-view-status-column {
    width: 100%;
    padding-bottom: 6px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
    color: color-mix(in srgb, var(--status-color) 70%, black);
}

    .status-header i {
        font-size: 11px;
        flex-shrink: 0;
    }

/* Date lives next to the order number now instead of competing with
      status for header space. */
.order-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #9297a0;
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}


.order-number {
    font-size: 20px;
    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;
    margin-top: 6px;
}

.order-card-footer {
    display: flex;
    width: 100%;
    margin-top: 7px;
    padding-top: 5px;
    border-top: 1px solid #f0f1f3;
}

.order-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.product-details-container {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
 
 

    /*A1*/
    .dialog {
        display: none;
        position: absolute;
        top: -25%;
        right: 105%;
        z-index: 1000;
        margin-top: 5px;
    }

        .dialog.show {
            display: block;
        }

    .modal-header-container {
        display: flex;
        justify-content: space-between;
    }

    .centered-item {
        display: flex;
        justify-content: center;
    }

/* ----------------------------- */
/* 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 {
        display: flex;
        width: 90%;
        align-items: center;
        justify-content: space-between;
    }*/

/*    .toolbar-right {
        display: flex;
        align-items: center;
        gap: 20%;
        width: 14%;
        justify-content: flex-end;
    }*/

/*    @media (max-width: 800px) {

        .page-header {
            flex-direction: column;
        }

        .toolbar-right {
            justify-content: center;
            padding: 20px;
        }

    }*/

    .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;


    cursor: pointer;
    font-size: 16px;
    color: var(--app-primary);
    font-weight: 600;
}

    .st-toggle-button:hover {
        background: darkgray;
        color: var(--brand-secondary);
    }

.floating-label-wrapper {
    position: relative;
    width: fit-content;
    display: inline-flex;
}

.pdate-label {
    position: absolute;
    top: 0;
    left: 14px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    background-color: white;
    padding: 0 4px;
    pointer-events: none;
    z-index: 10;
    line-height: 1;
    white-space: nowrap;
}

.date-div {
    width: 100%;
}

.st-dxdate-input {
    padding: 0px 0px 0px 4px;
}

    .cart-container {
        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;
        opacity: 0.75;
    }

    .cart-count {
        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;
        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;
        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: 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 */
    /* ================================================== */


    /* ================================================== */
    /* Info Popup */
    /* ================================================== */


    /* ================================================== */
    /* Orders Page */
    /* ================================================== */

    @media (max-width: 1400px) {

        .order-details-container {
            width: 65% !important;
        }
    }

    @media (max-width: 1024px) {

        .order-details-container {
            width: 85% !important;
        }
    }

    @media (max-width: 600px) {

        .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;
        }
    }

    /*
warehouse shit*/

    .warehouse-tag-modal {
        padding: 6px;
        background-color: #f4f4f4;
        border-radius: 5px;
        width: fit-content;
        display: flex;
        justify-content: center;
    }

/* ========================================================================================= */
/* ST GENERAL CSS */
/* ========================================================================================= */


/* -------------------------------------------------- */
/* PAGE LAYOUT */
/* -------------------------------------------------- */

    .header-information-div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        margin-top: 18%;
    }

    .st-company-header {
        background-color: var(--brand-tertiary);
        display: flex;
        align-content: space-between;
        justify-content: space-between;
        align-items: center;
        padding: 30px;
        user-select: none;
    }

.st-page-header {
    height: 71px;
    background: #f8f8f8;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.10);
    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;
    }


    /* -------------------------------------------------- */
    /* TEXT */
    /* -------------------------------------------------- */

    .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;
        font-size: 1.8rem;
        color: var(--brand-secondary);
    }

    .CH3 {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        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 {
        color: var(--app-secondary);
        font-size: 2.2rem;
    }

    .st-header-text {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px;
        font-weight: 500;
        font-size: 24px;
        gap: 5px;
    }
    
    /* -------------------------------------------------- */
    /* CONTROLS */
    /* -------------------------------------------------- */

    .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 {
            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: 1.5px 1.5px 1px var(--brand-secondary);
            outline: none;
        }

    /* -------------------------------------------------- */
    /* OTHER STYLING */
    /* -------------------------------------------------- */

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

/* Red sale tag */
.tag-sale {
    background: #4d1717;
    color: #ff7d7d;
}

/* Amber limited tag */
.tag-limited {
    background: #4b3600;
    color: #f5b000;
}

/* Green new release tag */
.tag-new {
    background: #113d12;
    color: #00c000;
}

    .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);
    }

.product-info-footer {
    display: flex;
    align-content: flex-end;
    width: 100%;
    justify-content: center;
}

.diagonal-line {
    position: relative;
    display: inline-block;
    color: black;
    opacity: 0.7;
}

    .diagonal-line:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: black;
        transform: rotate(170deg);
        transform-origin: center;
        pointer-events: none;
    }

.left-column {
    display: flex;
    align-items: baseline;
}

.right-column {
    padding-left: 30px;
}

/* ========================================================================================= */
/* ST PAGE CSS */
/* ========================================================================================= */

/* -------------------------------------------------- */
/* LOGIN PAGE */
/* -------------------------------------------------- */

    .login-page-div {
        display: flex;
        width: 100%;
        justify-content: center;
        height: 100vh;
        align-items: center;
        background-color: var(--app-secondary);
    }

.login-page-details {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 6px;
    border: 1px solid lightgray;
    background-color: white;
    max-height: 800px;
    width: 350px;
    padding: 10px;
    gap: 15px;
    justify-content: space-around;
    user-select: none;
    text-align: center;
}

    .login-form {
        display: grid;
        gap: 15px;
    }

    .login-customer-logo {
        max-width: 348px;
    }

    .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 {
        max-width: 200px;
    }

/* -------------------------------------------------- */
/* PRODUCTS & PRODUCT MODAL PAGE */
/* -------------------------------------------------- */

.product-modal {
    background-color: white;
    width: 50%;
    height: fit-content;
    border-radius: 9px;
    padding: 0px 20px;
    max-height: 550px;
    max-width: 850px;
    overflow: auto;
    overscroll-behavior: contain;
    user-select: none;
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0px 10px;
}

.header-text {
    font-size: 2rem;
}

.product-info-container {
    display: grid;
    grid-template-columns: 170px 70%;
    margin-top: 10px;
}

.product-info-left {
    grid-row: span 2;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-info-right {
    padding: 10px;
    display: flex;
    align-items: flex-start;
}

.product-info-category {
    margin-bottom: 5px;
}

.product-info-right-bottom {
    font-size: 16px;
    padding: 10px;
    align-items: end;
}

.product-detail-description {
    max-height: 150px;
}

.product-detail-long-description {
    max-height: 200px;
}

.quantity-column {
    display: flex;
}

.dialog {
    display: none;
    position: absolute;
    top: -25%;
    right: 105%;
    z-index: 1000;
    margin-top: 5px;
}

.modal-product-image-header {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.price-column {
    font-size: 16px;
    display: flex;
    align-items: baseline;
}

/* both */
.modal-grid-container {
    width: 100%;
    gap: 9px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}
/* both */
.modal-items-div {
    display: flex;
    align-items: center;
    gap: 15px;
}
/* both */
.modal-card-right {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* both */
.modal-item-image {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 5px;
}

.modal-variant-line {
    width: 98%;
    color: gray;
}

.modal-product-info-div {
    width: 100%;
}

.modal-inventory-name {
    font-size: 20px;
    max-width: 98%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quantity-control {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 4px;
    justify-content: space-evenly;
    font-size: 22px;
    border-radius: 4px;
    height: 35px;
    background-color: var(--bs-gray-200);
}

    .quantity-control button {
        width: 30%;
        border: none;
        padding: 8px 12px;
        cursor: pointer;
        color: var(--app-secondary);
        background-color: white;
        font-size: 22px;
        background-color: transparent;
        border-radius: 5px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .quantity-control button:hover {
            color: var(--brand-secondary);
        }

    .quantity-control input {
        width: 30%;
        border: none;
        text-align: center;
        font-size: 20px;
        color: var(--app-secondary);
        background-color: transparent;
        height: 35px;
        border-radius: 5px;
    }

        .quantity-control input:hover {
            color: var(--brand-secondary);
        }

        .quantity-control input:focus {
            border: none;
        }

@media (max-width: 800px) {

    .product-toggle-container {
        flex-direction: column;
        align-items: flex-end;
    }

    .lv-items-card {
        display: flex;
        flex-direction: column;
    }

    .modal-items-div {
        flex-direction: column;
    }

    .modal-product-info-div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stock-level {
        justify-content: center;
    }

}

/* ================================================== */
/* Bulk Discounts */
/* ================================================== */

/*.bulk-div {
    padding: 10px;
    display: flex;
    width: 100%;
    border-radius: 5px;
    height: fit-content;
}*/

/*.bulk-body {
    gap: 2%;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 12%;
}*/

/*.bulk-card {
    display: flex;
    justify-content: space-around;
    border: 1px solid #ededed;
    border-radius: 5px;
    padding: 8px;
    width: 160px;
}*/
/*
.price-header {
    display: flex;
    gap: 10px;
    align-items: center;
}*/

/*.popup-header {
    display: flex;
    width: 100%;
    gap: 10px;
    flex-direction: column;
}*/

/*.bulk-tag-modal {
    color: white;
    padding: 6px;
    background-color: palevioletred;
    border-radius: 5px;
    display: flex;
    width: fit-content;
    opacity: 0.9;
    align-items: center;
    font-size: 10px;
    justify-content: center;
}*/

/* ================================================== */
/* Media Queries */
/* ================================================== */



@media (max-width: 600px) {

    .order-details-container {
        width: 95% !important;
        flex-direction: column;
        max-height: 600px;
        overflow: auto;
    }
}

    @media (max-width: 1400px) {

        .product-modal {
            width: 65%;
        }
    }

    @media (max-width: 1024px) {

        .product-modal {
            width: 85%;
        }
    }

    @media (max-width: 641px) {

        .product-modal {
            width: 95%;
            max-width: 600px;
            overflow: auto;
            height: 70%;
        }

        .variant-info-modal {
            flex-direction: column;
        }

        .product-info-container {
            display: flex;
            flex-direction: column;
        }

        .desktop-only {
            display: none;
        }

    }

    /* -------------------------------------------------- */
    /* ORDERS MODAL PAGE */
    /* -------------------------------------------------- */

    .exit-button {
        padding: 7px;
        border-radius: 50%;
    }

    .order-details-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        background-color: white;
        width: 50%;
        border-radius: 9px;
        border: 3px solid #f4f4f4;
        padding: 15px 0px;
        max-height: 550px;
        max-width: 850px;
        overflow: auto;
        user-select: none;
        overscroll-behavior: contain;
    }

    .order-details-header {
        width: 95%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .order-details-body {
        width: 95%;
        display: flex;
        gap: 4%;
    }

    .order-details-left {
        width: 33%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .order-details-right {
        width: 63%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .left-section {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 8px;
        border: 1px solid var(--bs-gray-200);
    }

    .right-section {
        max-height: 407px;
        overflow: auto;
        padding: 0px 16px;
        margin-bottom: 12px;
        border-radius: 8px;
        overscroll-behavior: contain;
    }

    .ordered-product-container {
        display: flex;
        height: 125px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--bs-gray-200);
        margin-top: 8px;
    }

    .order-line {
        width: 100%;
        border-top: 1px solid var(--bs-gray-200);
        height: 1px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .ordered-produt-left {
        display: flex;
        align-items: center;
        gap: 10%;
        width: 80%;
    }

    .ordered-product-img {
        position: relative;
        display: inline-block;
    }

    .product-img {
        height: 100px;
        width: 100px;
        border: 1px solid lightgray;
        border-radius: 9px;
        object-fit: cover;
    }

    .product-number {
        position: absolute;
        top: -13px;
        right: -13px;
        background: var(--app-secondary);
        color: white;
        border-radius: 50%;
        padding: 5px 11px;
        font-size: 12px;
        display: flex;
        align-items: center;
        height: 32%;
        width: 32%;
        justify-content: center;
    }

    .ordered-product-details {
        display: flex;
        flex-direction: column;
        width: 70%;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        display: -webkit-box;
    }

    .order-field {
        display: flex;
        flex-direction: column;
    }

    .order-date-field {
        margin-bottom: 10px;
    }

    .date-label {
        color: #272424;
        font-weight: bold;
    }

    .field-div {
        position: relative;
        margin: 0.8rem 0;
        font-family: sans-serif;
    }

    .field-label {
        position: absolute;
        top: -0.75rem;
        left: 0.75rem;
        background: white;
        padding: 0 0.25rem;
        font-size: 0.85rem;
        color: #555;
    }

    .subtotal-container {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .subtotal-field {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .subtotal-field-bold {
        display: flex;
        justify-content: space-between;
        font-weight: bold;
        font-size: 18px;
        width: 100%;
    }

    /* -------------------------------------------------- */
    /* ST MEDIA QUERIES */
    /* -------------------------------------------------- */

    @media (max-height: 599px) and (max-width: 750px) {

        .login-page-details {
            display: flex;
            width: unset;
        }

        .APP-LBL2 {
            display: none;
        }

        .login-customer-logo {
            width: 100%;
            display: flex;
            align-items: center;
        }

        .login-form {
            width: 100%;
        }
    }

    @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%;
            max-width: unset;
        }

        .dropdown-container {
            width: 100%;
        }

        .st-dropdown-container {
            width: 100% !important;
        }
    }