:root {
    --azul-secundario: #323e8d;
    --azul-terciario: #5f6bb8;
    --azul-quaternario: #172375;
    --cinza-claro: #c1c1c1;
    --cinza-escuro: #858585;
    --c-gray: #ccc;
    --c-gray1: #868686;
    --c-gray2: #282828;
    --c-white: #ffffff;
    --c-black: #000000;
    --c-yellow1: #deda1a;
    --c-fieldfocus: #fffed7;
    --c-colordisabled: #000;
    --c-fielddisabled: #e2e2e2;
}

/*
	LOADER
*/

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    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;
    top: auto;
    left: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*
    BANNER INICIO - IMAGEM DE FUNDO PARA LOGIN
*/

.banner-inicio {
    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;
    }

/*
    Campos texto
*/
input:read-only {
    background-color: #e2e2e2 !important;
    color: #121212 !important;
}

input[readonly] {
    background-color: #e2e2e2 !important;
    color: #121212 !important;
}

.form-control.destaque {
    background-color: transparent !important;
    border: solid 1px #000 !important;
    font-size: 1.5rem !important;
    font-weight: bold;
}

.form-control.destaque.red {
    color: #c50000 !important;
}

/*
    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 {
    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) !important;
        box-shadow: none;
        background: var(--c-fieldfocus) !important;
    }

    .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: relative;
    display: block;
    float: right;
    right: 15px !important;
    width: 46px;
    height: 46px;
    top: 52px;
    text-align: center;
    cursor: pointer;
    color: #808080;
    z-index: 5;
    font-size: 23px;
}


.form-control {
    /* height: auto !important; */
    border-radius: 5px !important;
    border: none;
    margin: 15px 0px 6px 0px;
    line-height: 1.1rem !important;
    padding: 0.6rem 0.9rem !important;
}


select.form-control {
    /* height: auto !important; */
    border-radius: 5px !important;
    border: none;
    margin: 15px 0px 6px 0px;
    line-height: 1;
    background: var(--c-gray1);
    padding: 0.6rem 0.9rem !important;
    cursor: pointer;
}


.form-control:disabled, .form-control[readonly] {
    background: var(--c-fielddisabled) !important;
    color: var(--c-colordisabled) !important;
    opacity: 0.5 !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);
}

.float-placeholder {
    font-size: 1rem;
    text-align: left;
    font-weight: 500;
    color: var(--c-white);
    border-radius: 2px;
    padding: 0 5px;
    display: table;
    position: relative;
    background-color: var(--cinza-escuro);
    top: 1.7rem;
    left: 0.7rem;
    z-index: 2001;
    margin-top: -1.5rem;
}

.has-search .float-placeholder {
    top: 3.5rem;
}

/* 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: 5px !important;
    border: 1px solid #d9dee3 !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-colordisabled) !important;
    background: var(--c-fielddisabled) !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: 2002 !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;
    }

.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;
    }

.termo-button {
    position: relative;
    float: right;
    top: 10px;
    right: 5px;
    width: 38px;
    height: 38px;
    font-size: 18px;
    background-color: #0018e3;
    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;
    margin-left: 1rem;
    margin-top: 1.5rem;
}

    .termo-button:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    }

.hasDatepicker {
    z-index: 2000 !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 td {
        font-size: 18px;
        font-weight: bold;
        background-color: #11ad5f;
        color: #fff;
    }

.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-title {
    font-weight: 900;
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    padding: 1rem !important;
}

div.card .dt-container {
    width: 100%;
    overflow-x: auto;
}

.table-rel-vendas thead th {
    text-align: center !important;
    vertical-align: middle !important;
    border: solid 1px grey !important;
}

.table-rel-vendas tbody td {
    border: solid 1px grey !important;
    vertical-align: middle !important;
}

.table-rel-vendas tbody tr.tr-mes {
    background-color: #8a95dd !important;
    cursor: pointer;
}

    .table-rel-vendas tbody tr.tr-mes:hover {
        background-color: #c4c4c4 !important;
    }

    .table-rel-vendas tbody tr.tr-mes:nth-child(odd) {
        background-color: #a3afff !important;
        cursor: pointer;
    }

        .table-rel-vendas tbody tr.tr-mes:nth-child(odd):hover {
            background-color: #c4c4c4 !important;
        }

    .table-rel-vendas tbody tr.tr-mes td {
        font-weight: bold;
    }

        .table-rel-vendas tbody tr.tr-mes td span {
            position: relative;
            right: 0;
        }

            .table-rel-vendas tbody tr.tr-mes td span i {
                font-size: 12px;
            }

.select-line {
    padding: 15px 0;
}

    .select-line:hover {
        background-color: #dcdcdc;
        font-weight: bold;
        cursor: pointer;
    }

    .select-line.selected {
        background-color: #fff7ca;
        font-weight: bold;
    }


.texto-riscado {
    text-decoration: line-through;
}


img.preview-list, div.preview-list, video.preview-list {
    max-width: 300px;
    margin-top: 5px;
    margin-bottom: 5px;
}

img.preview {
    display: none;
    max-width: 100%;
    margin-top: 10px;
}

input[type='file'] {
    display: none;
}

.btn.btn-file {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.tipo-imagem {
    margin-top:20px;
}


#videoInput {
    display: none;
}

video.preview {
    display: none;
    width: 100%;
    max-width: 500px;
    margin-top: 10px;
}

.copy-container {
    position: relative;
    display: inline-block;
}

.copy-input {
    padding-right: 40px; /* espaço para o botão */
}

.copy-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    z-index: 2;
}

    .copy-button:hover {
        color: #007bff;
    }

.select2-selection--multiple {
    height: auto !important;
    min-height: 46px !important;
}

/* Total de valores */
.content-valores {
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 4px;
}

    .content-valores.total {
        background-color: #c2ffb8;
    }

    .content-valores:first-of-type {
        border-top: 1px solid #D9D9D9;
    }

    .content-valores div {
        vertical-align: middle;
        align-content: center;
    }

    .content-valores .has-search input {
        margin: 6px 0px 6px 0px;
    }

    .content-valores .has-search .form-control-feedback {
        top: 7px;
    }

    .content-valores p,
    .content-valores label {
        color: #005a2c;
        font-size: 1.2rem;
        display: block;
        width: 100%;
        text-align: left;
        vertical-align: middle;
        margin: 16px 0 !important;
    }

    .content-valores span {
        color: #005a2c;
        font-weight: 700;
        font-size: 1.4rem;
        display: block;
        width: 100%;
        text-align: right;
        vertical-align: middle;
        border-radius: 0.7rem;
        background-color: #fff;
        margin: 0 0 !important;
        margin: 4px 0 !important;
        padding: 12px !important;
    }
        .content-valores .red {
            color: #c50000 !important;
        }
