/* Variáveis globais */
:root {
    --btn-bg-color: #48B9A1;
    --btn-bg-hover-color: #68C6B3;
    --btn-text-color: #ffffff;
    --btn-radius: 50px;
}

html,
body {
    background: #fbfbfb;
    width: 100%;
    height: 100%;
    float: left;
}

html body.swal2-height-auto {
    height: inherit !important;
}

.scroll-effect {
    scroll-behavior: smooth;
}

.bg-radial-gradient {
    background: radial-gradient(circle, rgb(6, 129, 119) 0%, #48b9a1 35%, rgba(0, 212, 255, 1) 100%);
}

.bg-linear-gradient {
    background: linear-gradient(to left top, #00b1de, #48b9a1);
}

.wrap-content {
    width: 100%;
    height: auto;
    min-height: 100%;
    float: left;
    padding-bottom: 30px;
}

.wrap-content-dashboard {
    height: auto;
    min-height: 100%;
    background-image: url('/img/fundo-novo.jpg');
    background-attachment: fixed;
    background-size: auto 50%;
}

#content-body-dashboard {
    height: auto;
    min-height: 100%;
}

.footer-custom {
    height: 30px;
    margin-top: -30px;
    background-color: #00000082;
}

.footer-custom span {
    font-size: 12px;
}

a.bg-sinapse:hover,
a.bg-sinapse:focus,
button.bg-sinapse:hover,
button.bg-sinapse:focus {
    background-color: #237ad6 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.gj-datepicker .gj-icon {
    top: 6px !important;
}

.page-item.active .page-link {
    background-color: #1458a0;
    border-color: #1458a0;
}

.date-pill {
    max-width: 250px;
    position: relative;
    top: -15px;
    left: -40px;
    text-align: center;
    font-weight: bold;
    border-radius: 30px;
}

#navbar-home .card-img-overlay {
    background-image: url('/img/bg-transparent.png');
}

.bem-vindo {
    color: #1458a0;
    position: relative;
    top: 40%;
    margin-top: -2.5rem;
}

.valores .barra {
    width: 1080px;
    height: auto;
    display: flex;
    background-image: url("/img/barra-branca.png");
    background-position-y: 38px;
    background-repeat: no-repeat;
    background-position-x: 170px;
    background-size: 800px 10px;
}

.valores p {
    font-size: 14px;
}


.nav-tabs.border-secondary,
.tab-content.border-secondary {
    border-color: #dee2e6 !important;
}

.progresso-pedido {
    height: 63px;
    float: left;
    margin: 0;
    padding: 0;
}

.progresso-pedido li {
    width: 200px;
    height: 10px;
    background: #f2f2f2;
    text-align: left;
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
}

.progresso-pedido li.active {
    background-color: #1d68b9;
    z-index: 1000;
}

.progresso-pedido li .circulo {
    width: 150px;
    top: -15px;
    left: 50%;
    margin-left: -75px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.progresso-pedido li span {
    font-size: 13px;
    color: #000;
    position: relative;
    top: 30px;
    text-align: center;
}

.progresso-pedido li.inactive .circulo {
    background-image: url("/img/circulo-desmarcado.png");
}

.progresso-pedido li.active .circulo {
    background-image: url("/img/circulo-marcado.png");
}

table.dataTable thead th,
table.dataTable.no-footer {
    border-bottom: none;
}

.dataTables_filter input {
    border-radius: 5px;
    border: solid 1px #d6d6d6;
    height: 35px;
}

.dataTable,
.dataTable tr,
.dataTable th,
.dataTable td,
.dataTable thead,
.dataTable tbody {
    /* border: solid 1px #d6d6d6 !important; */
}

.dataTable {
    /* border-collapse: collapse !important; */
}

table.dataTable,
table.dataTable th,
table.dataTable td {
    box-sizing: border-box;
}

.dataTables-custom tbody,
.dataTables-custom thead,
.dataTables-custom tr,
.dataTables-custom td {
    /* border: none !important; */
}

td,
td p,
th {
    white-space: nowrap;
}

.notificacoes-cards .dataTables_length {
    display: none !important;
}

.home-notificacao .box {
    height: 90px;
}

.home-notificacao .box span {
    font-size: 35px;
    line-height: 35px;
    font-weight: bold;
}

.home-notificacao a:hover {
    text-decoration: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #FFFFFF !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #FFFFFF !important;
    border: none !important;
    background: #237ad6 !important;
}

.paginate_button {
    padding: 3px 10px !important;
    border-radius: 5px !important;
}

.paginate_button.current {
    background: #1458a0 !important;
}

.bg-imagen {
    background-color: none;
    background-position: 24% 80%;
    background-size: 600px;
}

.bg-venda {
    background-image: url('/img/icone-venda.png');
}

.bg-carta-acordo {
    background-image: url('/img/icone-carta-acordo.png');
}

.bg-tabela-preco {
    background-image: url('/img/icone-table.png');
}

.estoque legend:first-child {
    border: 1px solid #dee2e6;
    margin-bottom: 0px;
    border-bottom: 0px;
    background-color: #dee2e6;
}

.notificacoes-cards .col-md-6 .bg-primary {
    background-color: #FFFFFF !important;
}

.notificacoes-cards .col-md-6 .bg-primary h3,
.notificacoes-cards .col-md-6 .bg-primary p {
    color: rgb(52, 58, 64) !important;
}

.no-wrap {
    white-space: nowrap !important;
}

.texto-atendimento-pendencias {
    font-size: 11px;
    margin-top: 5px;
}

.texto-atendimento {
    font-size: 14px;
    margin-top: 2px;
}

.min-width150 {
    min-width: 150px !important;
}

@media (max-width: 768px) {
    #navbar-home {
        height: 300px !important;
    }

    #navbar-home .card-img {
        width: 320%;
        margin-left: -400px;
        position: relative;
        /*display: none;*/
    }

    .bem-vindo {
        font-size: 22px;
        top: 25%;
    }

    .logo-sinapse-menu {
        display: none;
    }

    .valores p {
        font-size: 15px;
    }

    .valores .barra {
        width: 320px;
        display: block;
        background-image: none;
    }
}


#modal_filtro_us .select2 {
    width: 100% !important;
}

.select2-container--open {
    z-index: 9999999
}

.spinner {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 30%;
}

.sort {
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    padding: 10px 18px !important;
}

.sorting {
    background-image: url(../img/sort_both.png);
}

.sorting_asc {
    background-image: url(../img/sort_asc.png);
}

.sorting_desc {
    background-image: url(../img/sort_desc.png);
}

#paginas-content {
    min-height: 100%;
    padding-top: 195px;
    margin-top: -175px
}

.not-rounded-right {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

#detalhe-pedido.nav-pills .nav-link.active {
    color: #FFF;
    background-color: #0033cc;
}

.nav-pills .nav-link.active {
    color: #000;
    background-color: rgb(230, 230, 230);
}

.nav-pills .nav-link {
    color: #000;
}

.thead-dark tr th {
    background-color: #929292 !important;
    border-color: #929292 !important;
}

.popover {
    max-width: 350px;
}

.list-group-popover {
    width: 500px;
}

.nav-button {
    width: 40px !important;
    height: 40px !important;
    text-align: center;
}

.nav-button .badge {
    width: 20px !important;
    height: 20px !important;
    padding-top: 4px;
    padding-left: 0;
    padding-right: 0;
    font-size: 10px;
    top: -3px;
}

/******************************************/
/******** BOTAO FLUTUANTE PEDIDO NEW *********/
/****************************************/

/*.scale-transition { transition: opacity 2.0s ease-in !important; }*/

.scale-transition.scale-out {
    transform: scale(0);
}

.scale-transition.scale-in {
    transform: scale(1);
}

.zoom {
    position: fixed;
    bottom: 45px;
    right: 24px;
    height: 70px;
}

.zoom-fab {
    display: inline-block;
    width: 52px;
    height: 52px;
    line-height: 52px;
    border-radius: 50%;
    background-color: #F90;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    transition: 0.2s ease-out;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: #FFF;
}

.zoom-fab:hover {
    color: #fff;
    background-color: #b56d01;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

.zoom-btn-large {
    width: 60px;
    height: 60px;
    line-height: 60px;
}

.zoom {
    z-index: 1000 !important;
}

.zoom-menu.hide {
    display: none;
}

.zoom-menu {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 500px;
    list-style: none;
    text-align: right;
    z-index: 1000;
}

.zoom-menu li {
    /*display: inline-block;*/
    margin-bottom: 10px;
}

.zoom-card {
    position: absolute;
    right: 150px;
    bottom: 70px;
    transition: box-shadow 0.25s;
    padding: 24px;
    border-radius: 2px;
    background-color: #009688;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    color: #FFF;
}

.zoom-card ul {
    -webkit-padding-start: 0;
    list-style: none;
    text-align: left;
}

/******************************************/
/******** BOTAO FLUTUANTE PEDIDO *********/
/****************************************/
.btn-group-fab {
    position: fixed;
    width: 50px;
    height: auto;
    right: 30px;
    bottom: 20px;
}

.btn-group-fab div {
    position: relative;
    width: 100%;
    height: auto;
}

.btn-group-fab .btn {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    display: block;
    margin-bottom: 4px;
    width: 40px;
    height: 40px;
    margin: 4px auto;
}

.btn-group-fab .btn-main {
    width: 50px;
    height: 50px;
    right: 50%;
    z-index: 9;
    font-size: 32px;
    display: flex;
    margin-bottom: 35px;
}

.btn-main>i {
    margin-left: -4px;
    margin-top: 2px;
}

body.dragging,
body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

ol.example li.placeholder {
    position: relative;
    /** More li styles **/
}

ol.example li.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
}


/*
 * Detalhe de pedidos
 */
.input-group-desconto {
    width: 170px;
}

.input-quantidade,
.input-quantidade-bonificada,
.desconto-produto {
    width: 100px !important;
}

.btn-enviar-pedido {
    margin-left: auto;
}

@media (max-width: 768px) {
    .btn-enviar-pedido {
        margin-left: unset;
        width: 100%;
    }

    .btn-voltar-pedido {
        margin-left: unset;
        width: 100%;
    }
}

.tooltip-inner {
    min-width: 230px;
}

.hide {
    display: none !important;
}

/* for sm */

.custom-switch.custom-switch-sm .custom-control-label {
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.custom-switch.custom-switch-sm .custom-control-label::before {
    height: 1rem;
    width: calc(1rem + 0.75rem);
    border-radius: 2rem;
}

.custom-switch.custom-switch-sm .custom-control-label::after {
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    border-radius: calc(1rem - (1rem / 2));
}

.custom-switch.custom-switch-sm .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(calc(1rem - 0.25rem));
}

/* for md */

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 2rem;
    padding-bottom: 1.5rem;
}

.custom-switch.custom-switch-md .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch-md .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

/* for lg */

.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.custom-switch.custom-switch-lg .custom-control-label::before {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}

.custom-switch.custom-switch-lg .custom-control-label::after {
    width: calc(2rem - 4px);
    height: calc(2rem - 4px);
    border-radius: calc(3rem - (2rem / 2));
}

.custom-switch.custom-switch-lg .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(calc(2rem - 0.25rem));
}

/* for xl */

.custom-switch.custom-switch-xl .custom-control-label {
    padding-left: 4rem;
    padding-bottom: 2.5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::before {
    height: 2.5rem;
    width: calc(4rem + 0.75rem);
    border-radius: 5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::after {
    width: calc(2.5rem - 4px);
    height: calc(2.5rem - 4px);
    border-radius: calc(4rem - (2.5rem / 2));
}

.custom-switch.custom-switch-xl .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(calc(2.5rem - 0.25rem));
}

.switch-danger.custom-control-input:checked~.custom-control-label::before {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
}

.lista-produtos-contrato {
    height: 450px !important;
    overflow-y: auto;
}

.agrupamento {
    width: 250px;
}

#distribuidor-produtos-relacionados .card-body {
    height: 450px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.text-nowrap {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.rs-picker-popup-daterange {
    z-index: 3000 !important;
}

@media (min-width: 576px) {
    .modal-timeline {
        max-width: 98vw;
    }
}

@media (min-width: 992px) {
    .modal-timeline {
        max-width: 98vw;
    }
}

@media (min-width: 1200px) {
    .modal-timeline {
        max-width: 1140px;
    }
}

#pendencia,
#notificacao {
    height: 400px;
    overflow-y: auto;
}

#search-box-input input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#search-box-input button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


.dashboard-status-pedido {
    border-radius: 5px;
}

.dashboard-status-pedido .status-pedido {
    display: none;
}

.dashboard-status-pedido:hover {
    width: 100% !important;
    padding-right: 13px;
}

.dashboard-status-pedido:hover .status-pedido {
    display: inline-block !important;
}

#dadosPessoaisPedido {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#box-flutuante {
    width: 400px;
    height: 50px;
    position: fixed;
    bottom: 45px;
    left: 50%;
    margin-left: -200px;
    text-align: center;
}

.controle-flutuante {
    border-radius: 5px;
    padding: 8px 13px;
}

#acoes-rapidas {
    width: 150px !important;
    border-radius: 15px !important;
}

.cards-informes {
    min-height: 550px;
}

.btn-login {
    background-color: var(--btn-bg-color);
    color: var(--btn-text-color);
    border-radius: var(--btn-radius);
    padding: 6px 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.btn-login:hover {
    background-color: var(--btn-bg-hover-color);
    text-decoration: none;
    color: var(--btn-text-color);
}

/** BANNER **/
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-carousel .owl-nav button {
    pointer-events: all;
    background: var(--btn-bg-color);
    border: none;
    border-radius: 50%;
    padding: 15px 20px; 
    margin: 0 10px;
    color: #FFF;
    font-size: 6.5rem; 
}

.owl-carousel .owl-nav button i {
    font-size: 6.5rem; /* garante que o ícone também aumente */
    color: var(--btn-bg-color);
}

.owl-carousel .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Remove o espaço abaixo */
.owl-dots, .slick-dots {
    position: absolute;
    bottom: 15px; /* joga por cima do banner */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

@media (max-width: 768px) {
    .owl-carousel .owl-nav button,
    .owl-carousel .owl-nav button i {
        font-size: 2rem;
        padding: 10px 14px;
    }
}

/** Menu Home **/
.menu-horizontal {
    display: flex;
    gap: 20px; /* espaço entre itens */
    justify-content: center; /* centraliza */
}

.menu-horizontal a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.menu-horizontal a:hover {
    color: var(--btn-bg-color); /* cor do hover */
}
