﻿/*
	LOADER
*/
:root {
    --c-gray: #f7f7f7;
    --c-gray1: #c9c9c9;
    --c-gray2: #efeeed;
    --c-gray3: #666666;
    --c-orange1: #F66602;
    --c-orange2: #fc7800;
    --c-orange3: #f14500;
    --c-yellow1: #f3d335;
    --c-yellow2: #fed92a;
    --c-blue1:#3498db;
    --c-black: #000000;
    --c-black1: #000000;
    --c-black2: #333333;
    --c-white: #ffffff;
    --c-check: #1cb111;
    --c-error: #d71414;
}
     


.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid #3498db;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*
    BANNER INICIO - IMAGEM DE FUNDO PARA LOGIN
*/

.banner-inicio {
    background-image: url("../img/img-fundo-login.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 4rem 3rem;
}

    .banner-inicio h2 {
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .banner-inicio h2,
    .banner-inicio h5 {
        color: #fff;
    }

/*
    Notificações
*/
.toast {
    max-width: 800px !important;
}

.toast-title {
    margin-bottom: 5px !important;
}

.toast-top-right-custom {
    top: 12px;
    right: 12px;
    width: 30%;
}
.toast-top-right-custom {
    top: 12px;
    right: 12px;
    width: 30%;
}
#toast-container.toast-top-right-custom > div {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

.toast-bottom-right-custom {
    bottom: 12px;
    right: 12px;
    width: 500px;
}
#toast-container.toast-bottom-right-custom > div {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

label.error, literal.error {
    display: block;
    font-size: 14px;
    color: #c50000 !important;
    font-weight: bold;
    margin: 0 0 0 5px !important;
}


.form-control {
    margin: 22px 0 6px 0;
    position: relative;
    z-index: 1;
}

    .form-control:focus {
        border-color: rgba(52,58,64,1);
        box-shadow: none;
    }

    .form-control.error, .select2-container.error .select2-selection {
        border-color: #c50000 !important;
    }

/*.cadastro-cliente .form-control {
    margin: 22px 0 6px 0;
}
*/

.has-search .form-control-feedback {
    position: absolute;
    display: block;
    float: right;
    right: 15px !important;
    width: 46px;
    height: 46px;
    top:18px;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    color: #808080;
    z-index: 5;
    font-size: 23px;
}


.form-control {
    height: auto !important;
    border-radius: 0.7rem !important;
    border: none;
    margin: 15px 0px 6px 0px;
    line-height: 1.1rem !important;
    padding: 0.9rem !important;
}

/*    .form-control:focus {
        background: var(--c-gray1);
    }*/

select.form-control {
    height: auto !important;
    border-radius: 0.7rem !important;
    border: none;
    margin: 15px 0px 6px 0px;
    line-height: 1;
    /*background: var(--c-gray2);*/
    padding: 0.78rem !important;
}

    select.form-control:focus {
        /*background: var(--c-gray2);*/
    }

/*
    Campos texto
*/
.form-control:disabled, .form-control[readonly], input:read-only, input[readonly] {
    background: var(--c-gray1);
    color: #303030 !important;
}

textarea.form-control {
    resize: none;
    height: auto !important;
    border-radius: 0.7rem !important;
    border: none;
    margin: 15px 0px 6px 0px;
    line-height: 1;
    /*background: var(--c-gray1);*/
}

    textarea.form-control:focus {
        /*border: 2px solid #ffffff!important;*/
        /*border: 2px solid #d2010d!important;*/
    }


.float-placeholder {
    font-size: 1rem;
    line-height: 1;
    text-align: left;
    font-weight: 700;
    color: var(--c-black2);
    border-radius: 2px;
    padding: 0 5px;
    display: block;
    position: absolute;
    background-color: #f3f3f3;
    top: 7px;
    left: 1.6rem;
    z-index: 2001;
}

.cupom-desconto .float-placeholder {
    top:0;
}
/* Select2 */
.select2-container {
    display: block !important;
    width: auto !important;
}

.select2-container--default .select2-selection--single:focus {
    outline-color: #ffd998;
}

.select2-container--default .select2-selection--single {
    padding: 0.57rem !important;
    height: auto !important;
    border-radius: 0.7rem !important;
    border: 2px solid rgba(0.443, 0.49, 0.467, 0.2) !important;
    outline-color: #069B50;
    background: transparent !important;
    margin: 15px 0px 6px 0px !important;
    font-size: 1rem !important;
    line-height: 1.1rem !important;
    /*background: var(--c-gray) !important;*/
    font-weight: 400 !important;
    color: #717D77 !important;
    width: 100%;
    overflow: hidden;
    outline-width: 0;
    outline-offset: 0;
    outline-style: solid;
    transition: all 0.3s ease-in-out;
}

.select2-container--open .select2-dropdown {
    top: -1px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    word-break: break-all !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    font-weight: 400;
    font-size: 18px;
    border-radius: 0.7rem;
    border: 2px solid rgba(0.443, 0.49, 0.467, 0.2);
    background: #e9e9e9;
    outline: none;
    padding: 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    position: relative;
    /*    top: -7px;*/
    color: #717D77 !important;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    text-shadow: none;
    text-transform: none;
    letter-spacing: var(--form-control-letter-spacing);
    text-align: left;
    padding-left: 0 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    overflow: hidden;
    word-break: break-all;
    white-space: initial;
}

.select2-container--default .select2-results__option--disabled {
    color: var(--c-black) !important;
    background: var(--c-gray2) !important;
    /*padding: 1rem !important;*/
    font-weight: 400 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    opacity: 0;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    color: var(--c-black) !important;
    background: var(--c-yellow1) !important;
    /*padding: 1rem !important;*/
    font-weight: 400 !important;
}

.select2-results__option--selectable {
    color: var(--c-black);
    font-size: 14px;
    /*padding: 1rem !important;*/
    font-weight: 400 !important;
}

.select2-results__option {
    color: var(--c-black);
    font-weight: 400;
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 1;
    text-shadow: none;
    text-transform: none;
}

.select2-dropdown {
    border: 0px solid #ffffff !important;
    border-radius: 50rem;
    overflow: hidden;
    z-index: 2001 !important;
}

.select2-results ::-webkit-scrollbar-thumb {
    background: var(--c-yellow1) !important;
    border-radius: 0.7rem !important;
    /*border-radius: 5rem !important;*/
}


.floating-button {
    position: fixed;
    bottom: 5%;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #087D42;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 12;
}
    .floating-button:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    .floating-button.adjust {
        right: auto;
        left: 20px;
        background-color: #c85300;
    }

.btn.btn-circle {
    position: relative;
    width: 38px;
    height: 38px;
    background-color: #c50000;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: inline-block;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 12;
    padding: 0;
    margin-left:5px;
}
    .btn.btn-circle[data-view] {
        background-color: #3498db;
    }
    .btn.btn-circle:active, .btn.btn-circle:hover {
        filter: brightness(0.8);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

.print-button {
    position: sticky;
    float: right;
    top: 10px;
    right: 5px;
    width: 60px;
    height: 60px;
    background-color: #08147d;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
}
    .print-button:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    .print-button.adjust {
        right: auto;
        left: 20px;
        background-color: #c85300;
    }

.hasDatepicker {
    z-index: 2001 !important;
}

.btn.up-down {
    width: 350px;
    /*background-color: #087D42;*/
    border-bottom: solid 1px gray;
    border-left: solid 1px gray;
    border-right: solid 1px gray;
    border-radius: 0.7rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.folder {
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 0.7rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: auto;
    position: relative;
}

.folder-tab {
    background-color: #f0f0f0;
    border-bottom: 2px solid #ccc;
    padding: 0;
    text-align: center;
    font-weight: bold;
    position: absolute;
    top: -20px;
    left: 10px;
    width: calc(100% - 20px);
    border-radius: 5px 5px 0 0;
}

.folder-content {
    padding: 12px;
    background-color: #fff;
    overflow-x: hidden;
}

.folder-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #07713c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

    .folder-button:hover {
        background-color: #0056b3;
    }

.grupo-produtos thead tr td {
    border-radius: .7rem !important;
}

.grupo-produtos thead .nome {
    font-size: 16px;
    font-weight: normal;
}

.grupo-produtos thead .valor {
    font-size: 16px;
    font-weight: normal;
    text-align: center;
}

.grupo-produtos thead .quantidade {
    font-size: 16px;
    font-weight: normal;
    text-align: right;
}

.grupo-produtos tr.categoria {
    margin-top: 5px;
    cursor:pointer;
}
.grupo-produtos tr.categoria {
    font-size: 18px;
    font-weight: bold;
    background-color: rgba(17, 173, 95, 1) !important;
    color: #fff !important;
}

    .grupo-produtos tr.categoria td {
        font-size: 18px;
        font-weight: bold;
        --bs-table-accent-bg: #11ad5f;
        color: #fff !important;
        /*        background-color: #11ad5f;
*/
    }

.grupo-produtos .sinal-incrementar, .grupo-produtos .sinal-decrementar {
    width: 32px;
    height: 32px;
    background-color: #06d86f !important;
    color: #000 !important;
    border: none;
    font-size: 14px;
    border-radius: 50%;
}

.grupo-produtos .produto .nome span:first-of-type {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
}
.grupo-produtos .produto .nome span:last-of-type {
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: normal;
}
.grupo-produtos .produto .valor {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
.grupo-produtos .produto .quantidade {
    text-align: right;
    vertical-align: middle;
}
    .grupo-produtos .produto .quantidade .numero.numero-modificado {
        font-size: 16px;
        padding: 0 5px;
    }

input[type="number"]::-webkit-inner-spin-button {
    width: 20px; /* Aumenta a largura dos botões */
    height: 20px; /* Aumenta a altura dos botões */
}

/* Estilo para navegadores baseados em Gecko (Firefox) */
input[type="number"]::-moz-inner-spin-button {
    width: 20px; /* Aumenta a largura dos botões */
    height: 20px; /* Aumenta a altura dos botões */
}

.adjust-margin {
    margin: 8px 0 !important;
}

.modal {
    z-index: 2001;
}

.modal-title {
    font-weight: 900;
}

.status-venda, .btn.status-venda {
    display: inline-block;
    background-color: #cb0202;
    border-radius: 0.7rem;
    color: #fff;
    padding: 5px 15px;
    margin: 8px 30px 0 30px;
    position: relative;
    line-height: 1.5;
}
    .btn.status-venda:hover {
        background-color: #c85300;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

.table.align-middle td {
    vertical-align:middle;
}

.table.align-middle th {
    vertical-align:middle;
    text-align:center;
}

div.rolagem {
    max-height:470px;
    overflow-y: auto;
    overflow-x: hidden;
}

.table-vendas .estornada td {
    text-decoration: line-through;
}

input.valor-fechamento {
    margin: 14px 0 !important;
}

.ocultar {
    position: absolute;
    top: 0;
    right: 0;
    width: 0px;
    height: 0px;
}

.bg-total-pagto {
    background-color: #666666 !important;
    color: #fff !important;
}