#root {
    height: 100vh;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font: 'Figtree', sans-serif;
    overflow: hidden;
    /* Ensure the app takes the full height of the viewport */
}

.main-content {
    height: 100%;
    display: flex;
    overflow: hidden;
    background-color: #ebf2ebc3;
}

/* .content {
    overflow-y: scroll;
    overflow-x: hidden;
    flex-grow: 1;
    width: 100%;
    border-radius: 10px;
    background-color: white;
} */

.content {
    overflow-y: scroll;
    overflow-x: hidden;
    flex-grow: 1;
    width: 100%;
    border-radius: 10px;
    background-color: white;
    margin: 0 .25%;
    display: flex;
    flex-direction: column;
}

body {
    font: 'Figtree', sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.auth-btn {
    appearance: none;
    outline: 0;
    background-color: #313131;
    border: 0;
    padding: 10px 5px;
    color: whitesmoke;
    border-radius: 3px;
    width: 175px;
    height: auto;
    font-size: medium;
}

.MuiDataGrid-columnHeadersInner * {
    font-family: 'Figtree', sans-serif;
}

.MuiDataGrid-toolbarContainer .MuiButtonBase-root {
    border: solid #1fb6ff;
    padding: 5px 10px;
    border-width: 1px;
    color: #1fb6ff;
    font-weight: 400;
    font-family: Figtree, sans-serif;
    font-size: small;
}

.MuiDataGrid-root * {
    font-family: 'Figtree', sans-serif;
}

/* .MuiDataGrid-row {
    border-bottom: solid lightgray;
} */

.MuiDataGrid-cell {
    border-right: solid lightgray;
    border-width: 1px;
}

.container {
    position: relative;
    top: 35px;
    left: 35%
}

.pg-spin {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* Ensures that the container takes up the full height of the viewport */
    margin: 0;
}

.pg-hdr {
    padding: 10px 0 5px 5px;
    /* border: solid gray; */
    border-width: .5px;
    border-radius: 5px;
    margin: 0 6px;
    align-items: center;
    position: sticky;
    /* width: 98%; */
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: white;
}

.sidebar {
    width: 250px;
    height: 100%;
    min-height: 100vh;
    /* background-color: #ebf2ebc3; */
    padding: 20px;
    font-size: smaller;
}

.mbl {
    position: fixed;
    z-index: 10000;
    background: #ebf2eb;
    opacity: 1;
}

.sidebar a:hover {
    background-color: lightgray;
    margin-right: 10px;
    width: 220px;
    border-radius: 10px;
    color: black;
}

.sidebar a {
    width: 220px;
    display: block;
    font-size: larger;
    text-decoration: none;
    border-radius: 50%;
    color: #333;
    border: #333;
    border-width: 2px;
    border-radius: 5%;
}

.sidebar-name {
    margin-top: 5px;
    padding-bottom: 5px;
}

.sidebar a.active {
    background-color: #B6EDFF;
    margin-right: 10px;
    border-radius: 10px;
    color: black;
}

.sidebar-collapsed {
    width: 60px;
    height: 100%;
    min-height: 100vh;
    padding: 20px;
    font-size: smaller;
}

.sidebar-collapsed a:hover {
    background-color: lightgray;
    margin-right: 10px;
    width: 40px;
    border-radius: 10px;
    color: black;
}

.sidebar-collapsed a {
    width: 40px;
    display: block;
    font-size: larger;
    text-decoration: none;
    border-radius: 50%;
    color: #333;
    border: #333;
    border-width: 2px;
    border-radius: 5%;
}

.header {
    background-color: #ebf2ebc3;
    /* background-color: #E0EFDA; */
    width: 100%;
    height: 80px;
    color: black;
    padding: 10px;
    text-align: center;

}

.logo {
    width: 220px;
    position: relative;
    right: 20px;
    margin-top: 10px;
}



.acct-sidebar {
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 60vh;
    text-decoration: none;
    padding-right: 0;
    font-size: medium;
    border-right: solid;
    position: relative;
    left: 15%;
    top: 15%;
}

.acct-content {
    height: 100vh;
    display: flex;
}

#act-cntnt {
    width: 52.5%;
    position: relative;
    top: 15%;
}

.acct-sidebar a {
    text-decoration: none;
    padding-top: 5px;
    font-size: medium;
    color: black;
}

.acct-sidebar a:hover {
    background-color: lightgray;
    border-radius: 10px;
    color: black
}

.acct-sidebar a.active {
    background-color: #B6EDFF;
    border-radius: 10px;
    color: black;
}

.acct-sidebar :last-child {
    margin-top: auto;
}

.acct-sidebar-name {
    padding-bottom: 5px;
}

.act-sbr-lnks {
    width: 96%;
}

.wlcm {
    border: solid #1fb6ff;
    border-width: 0.75px;
    border-radius: 10px;
    background-color: white;

}

.rst-pss {
    justify-content: center;
}

.login-container {
    width: 90%;
    max-width: 992px;
    background: white;
    padding: 20px;
    border: solid gray;
    border-width: .5px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    border-radius: 5px;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#add-itm-row {
    position: relative;
    left: 85%;
}

.add-item {
    background-color: white;
    border: solid #1fb6ff;
    border-width: 1px;
    border-radius: 20px;
    width: 153px;
    height: 40px;
    align-content: center;
    font-size: 17px;
}

.add-item:hover {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.btn-txt {
    font-size: 17px;
    width: 90%;
    margin: 0 0 0 15px;
    color: #1fb6ff;
}

.menu-list {
    height: 50vh;
    width: 98%;
    margin: 20px 0 0 0;
    font-family: 'Figtree', sans-serif;
    font-size: small;
    padding-right: 0;
}

.dt {
    width: 98%;
    height: 75vh
}

.mu-det {
    padding-left: 25px;
    padding-bottom: 15px;
}

#add-item-pop {
    height: 50vh;
}

.MuiAutocomplete-root {
    padding: 0px;
    border-radius: 5px;
    border: none;
    font-family: 'Figtree', sans-serif;
}

#pop-up .MuiPaper-root {
    border-radius: 5px;
}

.submit {
    background: #1fb6ff;
    border: none;
    color: white;
    height: 42px;
    border-radius: 5px;
    margin: 0 0 0 10px;
}

.submit:hover {
    background: #14a9f3;
}

.submit:disabled {
    background-color: white;
    border: solid lightgray;
    color: lightgray;
    box-shadow: none;
}

.dis {
    background: white;
    border: solid lightgray;
    border-width: .5px;
    color: lightgray;
    height: 42px;
    border-radius: 5px;
    margin: 0 0 0 10px;
}

.ingredient-block {
    justify-content: space-evenly;
    border-width: .5px;
    border-radius: 10px;
    background-color: rgba(211, 211, 211, 0.419);
    font-weight: 400;
}

#ingredient-block {
    margin: 15px 0;
    justify-content: space-evenly;
    height: fit-content;
}

.ing-menu-mods {
    border: solid gray;
    border-width: .5px;
    height: auto;
    border-radius: 5px;
    margin: 20px 0 20px 0;
    overflow-y: scroll;
    width: 47%;
}

.ing-inf {
    border: solid gray;
    border-width: .5px;
    height: auto;
    border-radius: 5px;
    margin: 20px 0 20px 0;
    width: 97%;
    overflow-y: scroll;
}

.date-filter {
    height: 20%;
    border-radius: 20px;
    justify-content: center;
    width: 95%;
    position: relative;
    top: 10px;
}


.dts {
    height: 100%;
    margin-left: 10%;
}

.blank-bttn {
    border: none;
    background: none;
}

#action-bttn {
    border: 1px solid #4798e9;
    padding: 5px 10px;
    color: white;
    font-weight: 400;
    font-family: Figtree, sans-serif;
    font-size: small;
    background: #1eb2ff;
    border-radius: 5px;
    height: 32px;
    display: flex;
    align-items: center;
}

#action-bttn:hover {
    background-color: #1ca8ee
}

#invoice-add-bttn {
    border: 1px solid #1fb6ff;
    width: fit-content;
    position: relative;
    margin: 20px 0 0 0;
    margin-bottom: 30px;
    left: 88%;
    padding: 5px 10px;
    color: #1fb6ff;
    font-weight: 400;
    font-family: Figtree, sans-serif;
    font-size: small;
    background: white;
    border-radius: 5px;
}

#invoice-add-bttn:hover {
    background-color: rgba(25, 118, 210, 0.04);
}

.recipe-bttn {
    border: 1px solid #1fb6ff;
    padding: 5px 10px;
    color: #1fb6ff;
    font-weight: 400;
    font-family: Figtree, sans-serif;
    font-size: small;
    background: white;
    border-radius: 5px;
}

.recipe-dis {
    border: 1px solid lightgray;
    padding: 5px 10px;
    color: lightgray;
    font-weight: 400;
    font-family: Figtree, sans-serif;
    font-size: small;
    background: white;
    border-radius: 5px;
}

.recipe-bttn:hover {
    background-color: rgba(25, 118, 210, 0.04);
}

.delete-bttn {
    border: 1px solid #FF474D;
    padding: 5px 10px;
    color: #f95f5ffe;
    font-weight: 400;
    font-family: Figtree, sans-serif;
    font-size: small;
    background: white;
    border-radius: 5px;
}

.delete-dis {
    border: 1px solid lightgray;
    padding: 5px 10px;
    color: lightgray;
    font-weight: 400;
    font-family: Figtree, sans-serif;
    font-size: small;
    background: white;
    border-radius: 5px;
}

.delete-bttn:hover {
    background-color: rgba(25, 118, 210, 0.04);
}

#sbt-dt {
    position: relative;
    top: 15%;
    right: 120%;
    border-width: 0.1px;
    border-color: #1fb6ff;
}

#ing-tbl {
    margin-left: 1%;
    border: none;
}

.in-st {
    border: solid black;
    border-width: 0.5px;
    border-radius: 10px;
    margin-left: 10%;
    height: 10vh;
}

.inv-hdr {
    background-color: #f0f0f0;
    margin-bottom: 5px;
}

#inv-tot {
    align-items: end;
    justify-content: end;
    margin-top: 10px;
    margin-right: 25px;
}

.vndr {
    width: 25%;
    margin: 5px 0 0 5%;
}

#dt-rng {
    position: relative;
    left: 5%;
    top: 25%;
    height: 100%;
}

#mnu-dt {
    position: relative;
    left: 3%;
}

.dsh {
    border-radius: 10px;
    border: solid lightgray;
    border-width: .75px;
}

.dsh-hd {
    /* height: auto; */
    max-height: 150px;
    width: 270px;
    margin-top: 5px;
    padding-left: 0;
    border-width: 1px;
}

.dsh-tbl {
    height: 50vh;
    width: 45.5%;
    border-width: 1px;
}

.dsh-grph {
    width: 97%;
    height: 400px;
    border-width: 1px;
}

.dsh-dt {
    justify-content: flex-end;
    align-items: center;
}

.dsh-hr-ttl {
    color: gray;
    font-weight: bold 900;
    margin-bottom: 10px;
}

.MuiChartsAxis-root .MuiChartsAxis-label {
    transform: translate(12px, 5px);
    font-family: 'Figtree', sans-serif
}

.MuiChartsAxis-left .MuiChartsAxis-label {
    transform: translate(-25px, 5px);
    font-family: 'Figtree', sans-serif
}

.MuiDataGrid-cellContent {
    color: #3f3f3f;
    font-size: 13px;
    font-weight: 600;
}

input button {
    background-color: none;
    border-radius: 10px;
}

.no-select-inp {
    margin-right: 12px;
}

.MuiPaper-root {
    overflow-x: hidden !important;
}

.MuiDialogContent-root {
    overflow-x: hidden !important;
}

#add-ingredient-togo {
    border-right: solid gray;
    border-width: 0.5px;
    margin-right: 10px;
}

#stck-order-marg {
    margin-left: 30px;
}

.settings-bttn {
    position: fixed;
    top: 79.5%;
    height: 4%;
}

.grid-cell-wrap {
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: 2.4em;
}

#cat-head {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: small;
}

#sku-draw {
    height: 82vh;
    border-bottom: solid #a7a5a54b;
}

.receipt {
    width: 95%;
    background: white;
    left: 2%;
    overflow: hidden;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
    position: relative;
    border-radius: 5px;
}

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

/* @media (max-width: 1580px) {
    #dt-rng {
        left: 3%;
    }

    #sbt-dt {
        right: 5px;
    }

    .dts {
        margin: 0;
        font-size: small;
    }

    .no-select-inp {
        margin-right: 5px;
    }

    .settings-bttn {
        position: fixed;
        top: 80.5%;
        height: 4%;
    }

    #sku-draw {
        height: 90vh;
    }

} */

/*
-------------------------------------------------------------------------------------------
*/
@media (max-width: 1240px) {
    .login-container {
        max-width: 400px;
    }

    #colpse-sdbr {
        width: 12.333%;
    }

    .sidebar {
        width: 180px;
        height: 100%;
        min-height: 100vh;
        background-color: #ebf2ebc3;
        padding: 20px;
        font-size: smaller;
    }

    .sidebar a:hover {
        background-color: lightgray;
        margin-right: 10px;
        border-radius: 10px;
        color: black;
        width: 155px;
    }

    .sidebar a {
        width: 155px;
        display: block;
        font-size: larger;
        text-decoration: none;
        color: #333;
        border: #333;
        border-width: 2px;
        border-radius: 10px;
    }

    .sidebar-name {
        margin-top: 5px;
        padding-bottom: 5px;
        text-wrap: nowrap;
    }

    .in-st {
        height: 12vh;
    }

    .mu-det {
        margin-left: 5%;
        padding-bottom: 15px;
    }

    #add-itm-row {
        position: relative;
        left: 85%;
    }

    .ing-inf {
        width: 95%;
        height: auto;
        margin-left: 0;
    }

    .date-filter {
        width: 60%;
        position: relative;
        left: 20%;
        height: 45px;
    }

    #dt-rng {
        left: 0;
    }

    #sbt-dt {
        position: relative;
        top: 10%;
        border-width: 0.1px;
        border-color: #1fb6ff;
    }

    #mnu-dt {
        position: relative;
        left: 0;
        margin-right: 15px;
    }

    #df-sub {
        margin-right: 10px;
    }

    .dt {
        width: 98%;
        height: 65vh
    }

    #inv-tot {
        margin-top: 10px;
    }

    .dsh-hd {
        height: auto;
        width: 350px;
        margin-top: 5px;
    }

    .ing-inf .MuiOutlinedInput-input {
        font-size: small;
    }

    .ing-menu-mods {
        width: 95%;
        border: solid gray;
        border-width: .5px;
        height: auto;
        border-radius: 5px;
        margin: 20px 0 20px 0;
        overflow-y: scroll;
    }

    .ing-gph-rng {
        margin-right: 35px;
    }

    .dsh-tbl {
        width: 90%;
    }

    .MuiDataGrid-cellContent {
        color: #3f3f3f;
        font-size: 11px;
    }

    #invoice-add-bttn {
        left: 82%;
    }

    #action-bttn {
        margin-right: 30px;
    }

    #add-ingredient-togo {
        min-width: 50%;
        border-right: solid gray;
        border-width: 0.5px;
        margin-right: 10px;
    }

    #stck-order-marg {
        margin: 0;
    }

    #cat-head {
        font-size: 11px;
    }

    #sku-draw {
        overflow-y: hidden;
        height: 82vh;
    }
}

@media (max-width: 769px) {
    #add-ingredient-togo {
        min-width: 70%;
    }

    #sku-draw {
        height: 90vh;
    }
}

@media (max-width: 480px) {
    .sidebar {
        background: #ebf2eb;
        border-radius: 10px;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

    .rst-pss {
        position: relative;
        left: 2.92%;
        width: 100%;
    }

    .login-container {
        width: 100%;
        padding: 15px;
        border: none;

        /* Adjust padding to fit smaller screens better */
    }

    .login-form {
        margin: 0;
        /* padding: 0; */
        padding-right: calc(var(--bs-gutter-x)* .5);
        padding-left: calc(var(--bs-gutter-x)* .5);
    }
}