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

:root {
    --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: var(--brand-primary) #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: 1024px) {
    .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.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-dialog-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    width: 32%;
}

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


.container {
    display: grid;
    gap: 6px;
    /*background: #eee;*/
    /*margin-bottom: 20px;*/
}

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

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

        .container.two img {
            width: 100%;
            height: 100%;
/*            max-width: 90%;
            max-height: 90%;*/
            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%;
/*            max-width: 90%;
            max-height: 90%;*/
            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 #EDEDED;
/*    padding-bottom: 15px;*/
    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: 10px;
}

.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%;
}

.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: 7%;
}

.order-images {
    border: 1px solid lightgray;
    border-radius: 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: 95%;
    margin-top: 10px;
    margin-left: 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%;
    }

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

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

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

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

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20%;
}

.edit-form {
    /*         width: 5%;
        border-radius: 5px; */
    display: flex;
    border: 2px solid var(--brand-secondary);
    border-radius: 5px;
    /*         align-items: center;
        position: relative;
        right: 16%;
        bottom: -12px; */
}

.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;
    font-size: 16px;
    gap: 8px;
}

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

.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;
}

@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;
}

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

.hidden-radio {
    display: none;
}

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

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


/* ================================================== */
                /* 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;
}

.limited-stock-tag {
    padding: 5px;
    opacity: 0.7;
    background-color: orangered;
    border-radius: 5px;
    color: white;
    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;
}