/** ====================================================================
Tema: GarraXFood Theme Bootstrap Add-on
Desenvolvido por: GarraXFood
Descrição: Adiciona algumas classes novas temáticas sem influenciar 
na aplicação das classes Bootstrap já definidas.
==================================================================== **/
:root {

    --blue-munsell: #0388A5;
    --charcoal: #344054;
    --slate-gray: #667085;
    --noflash-white: #EEF2F6;
    --bittersweet: #F97066;
    --rust: #B93815;
    --jasmine: #FEDF89;
    --celadon: #ABEFC6;

    --light-blue: #E7F5FB;
    --light-yellow: #FFFAEB;
    --light-green: #ECFDF3;
    --light-gray: #EAECF0;
    --light-red: #FEE4E2;

}

body {
    background-color: var(--blue-munsell) !important;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

/* --- Bootstrap Add-ons ----------------- */

.rounded-start-5-lg {
    border-bottom-left-radius: 0rem !important;
    border-top-left-radius: 0rem !important;
}

.scroll-x-lg {
    display: none;
}

@media (min-width: 0px) {

    .w-xxl-100 {
        width: 100% !important;
    }

}

@media (min-width: 992px) {

    .w-lg-auto {
        width: auto !important;
    }

    .rounded-start-5-lg {
        border-bottom-left-radius: 2rem !important;
        border-top-left-radius: 2rem !important;
    }

    .scroll-x-lg {
        overflow-x: scroll;
        scrollbar-color: #2CA062 white;
        white-space: nowrap;
        border: 4px solid rgba(0, 0, 0, 0)
    }

}

/* --- CSS: Cores ------------------------ */
.color-blue {
    color: var(--blue-munsell) !important;
}

.color-bittersweet {
    color: var(--bittersweet) !important;
}

.color-charcoal {
    color: #344054 !important;
}

.color-rust {
    color: var(--rust) !important;
}

.color-slate-gray {
    color: #667085 !important;
}

.color-lg-gray {
    color: var(--light-gray) !important;
}

/* --- Cores de Fundo ------------------- */
.bg-blue {
    background-color: var(--blue-munsell) !important;
}

.bg-noflash-white {
    background-color: var(--noflash-white) !important;
}

.bg-light-blue {
    background-color: var(--light-blue) !important;
}

.bg-light-red {
    background-color: var(--light-red) !important;
}

.bg-lg-yellow {
    background-color: var(--light-yellow) !important;
}

.bg-lg-green {
    background-color: var(--light-green) !important;
}

/* --- Cores de Borda ------------------- */
.border-blue {
    border-color: var(--blue-munsell) !important;
}

.border-jasmine {
    border-color: var(--jasmine) !important;
}

.border-celadon {
    border-color: var(--celadon) !important;
}

.border-light-gray {
    border-style: solid;
    border-color: var(--light-gray) !important;
}

@media (min-width: 992px) {

    .border-lg-light-gray {
        border-style: solid;
        border-color: var(--light-gray) !important;
    }

}

/* --- Botões --------------------------- */
.btn-blue {
    background-color: var(--blue-munsell) !important;
    color: white !important;
}

.btn-blue:hover {
    background-color: var(--blue-munsell) !important;
}

.btn-outline-blue {
    color: var(--blue-munsell) !important;
    border: 1px solid var(--blue-munsell) !important;
}

.btn-outline-blue:hover {
    color: white !important;
    background-color: var(--blue-munsell) !important;
}

.btn-outline-blue:hover svg {
    fill: white !important;
    stroke: white !important;
}

/* --- CSS: Fonte ------------------------ */

.text-sm {
    font-size: small;
}


/* === CSS: Interface ==================== */
.main-container {
    background-color: white;
    position: relative;
    margin-top: 132px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    display: block;
    clear: both;
    float: unset;
    min-height: calc(100vh - 112px);
    transition: all 0.3s ease-in-out;
}

.content {
    position: relative;
    display: block;
}

/* === CSS: Modificações no Bootstrap ==== */

.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    color: var(--blue-munsell) !important
}

.nav-item-active {
    background-color: white !important;
    border-radius: 8px;
}

.nav-item-active svg,
.nav-item-active path {
    fill: var(--blue-munsell) !important;
}

/** CSS: Adicione novos estilos ==================================== **/

/* --- Views --------------------------- */

/*View: Login */
#login-painel {
    width: 100%;
    height: 100vh;
    background-color: white;
    margin: 0 0;
}

#login-painel+div {
    width: 100%;
}

@media (min-width: 992px) {

    #login-bg {
        width: 40%;
    }

    #login-painel {
        width: 60%;
    }

    #login-painel+div {
        width: 60%;
    }

}

/* -------------------------- */

/* Componente: Navbar */
#navbar-configuracoes p {
    margin-top: 8px;
    margin-bottom: 8px;
    color: #101828;
}

#hamburguer-menu {
    display: flex;
    flex-direction: column;
    width: 35px;
    cursor: pointer;
}

#hamburguer-menu .menu-line {
    background: #fff;
    border-radius: 10px;
    height: 3px;
    margin: 3px 0;
    transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);

}


#hamburguer-menu .menu-line:nth-of-type(1) {
    width: 50%;

}

#hamburguer-menu .menu-line:nth-of-type(2) {
    width: 100%;
}


#hamburguer-menu .menu-line:nth-of-type(3) {
    width: 75%;

}

/* View: Principal */
.mesa {
    width: fit-content;
    border: 10px solid #F79009
}

.mesa::before {
    border-top: 8px solid #E5E7EB;
    border-bottom: 8px solid #E5E7EB;
    content: "";
    border-radius: 4px;
    inset: -20px 2px;
    position: absolute;
}

.mesa::after {
    border-left: 8px solid #E5E7EB;
    border-right: 8px solid #E5E7EB;
    border-radius: 4px;
    content: "";
    inset: 2px -20px;
    position: absolute;
}

/* View: Configurações do Sistema */
.configuracoes-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.configuracoes-menu {
    margin-bottom: 24px;
}

.configuracoes-acoes button:first-of-type {
    margin-right: 24px;
}

/* View: Cardápio */

.cardapio-card {
    max-width: 400px;
    display: flex;
}

.cardapio-card img {
    width: 72px;
    height: 72px;
    border-radius: 5px;
    margin: 12px 12px 12px 0px;
}

@media (min-width: 992px) {

    .cardapio-card img {
        margin: 24px 24px 8px 24px;
    }

}

#modal-produto-header {
    height: 144px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;

}

/*#cardapio-card-selecao {
    width: 360px;
    padding: 0;
}

#cardapio-card-selecao .card-titulo {
    height: 56px;
    background-color: #2CA062;
}

.cardapio-card-selecao-qtde button {
    width: 24px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-width: 2px;
    border-radius: 8px;
}*/



/* ---------------------------------------- */

/* --- Componentes ------------------------ */

/* Modais */
.modal-header-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header-alt-icone {
    display: flex;
    border-width: 4px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.modal-footer-alt {
    text-align: center;
    justify-content: center;
    margin-top: 20px;
}

.modal-footer-alt button {
    margin-bottom: 12px;
}