:root {
    --ebara-menu-background: rgba(0, 79, 159, 1);
    --ebara-menu-brand-background: rgba(0, 79, 159, 1);
    --ebara-menu-collapsed: white;
    --ebara-menu-icon: white;
    --ebara-menu-expanded: white;
    --ebara-menu-title: white;
    --ebara-menu-title-active: black !important;
    --ebara-menu-hover: black;
    --ebara-btn-primary: rgba(0, 79, 159, 1) !important;
    --ebara-btn-primary-focus: rgba(0, 79, 159, 0.8) !important;
    --ebara-text-primary: rgba(0, 79, 159, 1) !important;
    --ebara-table-hover: rgba(0, 79, 159, 0.9) !important;
    --ebara-table-selected: rgba(0, 79, 159, 0.8) !important;
    --ebara-overlay-text: black !important;
}


html {
    zoom: 0.875;
}

.bg-ebara {
    background-color: var(--ebara-table-hover) !important;
    color: white;
}



/*------------------------------------DISABLE ELEMENTS------------------------------ */

.disableElements button,
.disableElements a {
    pointer-events: none;
}


/*------------------------------------ALERTAS------------------------------ */

#alertaTopo,
#alertaTopoAjax {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    width: 99%;
    z-index: 1000;
}


/*------------------------------------CARD SILVA------------------------------ */

.cardSilva {
    cursor: pointer;
    transition: 0.3s;
}

.cardSilva:hover {
    filter: brightness(0.9);
}

/* Adicionando estilos para a seta e o contêiner de progresso */
.progress-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.progress-container span {
    position: relative;
    /* ajuste o posicionamento horizontal conforme necessário */
    left: 2%;
    transform: translateX(-50%);
}

.progress-bar.bg-danger {
    background: red;
    /* cor de fundo para navegadores que não suportam gradientes */
    background: -webkit-linear-gradient(left, red, yellow, green);
    background: -o-linear-gradient(right, red, yellow, green);
    background: -moz-linear-gradient(right, red, yellow, green);
    background: linear-gradient(to right, red, yellow, green);
}

.progress {
    position: relative;
    overflow: visible;
}

.arrow {
    position: absolute;
    z-index: 1;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid black;
    /* cor da seta */
    top: -15px;
    /* ajuste a posição vertical da seta conforme necessário */
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

/*------------------------------------DATATABLES------------------------------ */

.datatableTheadEbara {
    background-color: var(--ebara-table-hover) !important;
    color: white;
}

table.dataTable tbody tr.even {
    background-color: #eee;
}

table.dataTable tbody tr th {
    vertical-align: middle;
}

table.dataTable tbody tr td {
    vertical-align: middle;
}

table.dataTable thead tr th {
    border-color: rgb(32, 24, 19, 0.3);
    border-bottom-color: rgb(32, 24, 19, 0.3);
}

table.dataTable tbody tr td {
    border-color: rgb(32, 24, 19, 0.15) !important;
    border-bottom-color: rgb(32, 24, 19, 0.15) !important;
}

table.dataTable tbody tr:hover td {
    background-color: var(--ebara-table-hover) !important;
    color: white;
}

.datatable-row-selected {
    background-color: var(--ebara-table-selected) !important;
    color: white;
}

.page-item.active .page-link {
    background-color: var(--ebara-btn-primary) !important;
    color: white;
}

.paginate_button .page-item.active a {
    color: white;
}

.page-item.active .page-link {
    background-color: var(--ebara-btn-primary) !important;
    color: white;
}

.page-item:not(.active) .page-link:hover {
    color: var(--ebara-text-primary) !important;
}

@media(max-width:768px) {
    div.dt-button-collection>div.dropdown-menu {
        margin-top: 10px;
        display: flex !important;
        flex-direction: row !important;
        background-color: #74788d;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
}

@media(min-width:769px) {
    div.dt-button-collection>div.dropdown-menu {
        margin-top: 10px;
        display: flex !important;
        flex-direction: row !important;
        background-color: #74788d;
        flex-wrap: wrap;
        width: 100em;
        box-sizing: border-box;
    }
}

div.dt-button-collection .dt-button {
    flex: 200px;
    min-width: 200px;
    max-width: 200px;
    flex-grow: 2;
    margin: 5px;
    box-sizing: border-box;
    border-radius: 4px !important;
    align-items: center;
    color: black;
}

.buttons-columnVisibility {
    background-color: #D3D3D3 !important
}

.buttons-columnVisibility::before {
    content: '✅';
    margin-right: 10px;
    visibility: hidden;
}

.buttons-columnVisibility.show::before {
    visibility: visible;
}

.buttons-columnVisibility:hover {
    background-color: var(--ebara-table-hover) !important;
    color: white !important;
}

/*------------------------------------DATATABLE SPINNER------------------------------ */
.spinner-text {
    font-size: 24px;
    color: var(--ebara-text-primary);
    display: inline-block;
    text-align: center;
}

@keyframes pulseDatatableOverlay {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.spinner-text:nth-child(1) {
    animation: pulseDatatableOverlay 0.75s infinite alternate;
}

.spinner-text:nth-child(2) {
    animation: pulseDatatableOverlay 0.75s infinite alternate 0.25s;
}

.spinner-text:nth-child(3) {
    animation: pulseDatatableOverlay 0.75s infinite alternate 0.5s;
}


/*------------------------------------OVERLAY------------------------------ */

.bg-overlay {
    background-color: rgb(0, 79, 159, 0.3) !important;
}

.bg-overlay-text {
    color: var(--ebara-overlay-text);
    opacity: 0.9 !important;
}


/*------------------------------------BORDER------------------------------ */

.border-primary {
    border-color: rgb(0, 79, 159, 0.8) !important;
}


/*------------------------------------BACKGROUND------------------------------ */

.ebara-primary {
    background-color: var(--ebara-menu-background) !important;
    color: white;
}

.ebara-background-img {
    background-image: url(../../images/background.png) !important;
    background-size: cover;
    background-position: top
}

.auth-full-bg .bg-overlay {
    background: url(../../images/background.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.btnGoogleAuth {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #4285f4;
    width: 100%;
    padding: 2px;
    transition: 0.3s;
    padding-right: 20px;

    max-width: 208px;
    border: 0;
}

.btnGoogleAuth>img {
    background: #fff;
    height: 35px;
    padding: 7px;
}

.btnGoogleAuth>span {
    color: #fff;
    font-weight: bold;
}

.btnGoogleAuth:hover {
    filter: brightness(0.8);
}

#infoContasMeuCron>div {
    cursor: pointer;
    transition: 0.3s;
}

#infoContasMeuCron>div:hover {
    filter: brightness(0.9);
}

#getUltimosPedidosGraficos,
#getVendaPorTipoPedido,
#backgroundColorGrafico,
#getFollowUp {
    background: var(--bs-body-bg);
}

#getUltimosPedidosGraficos .progress,
#backgroundColorGrafico .progress {
    background: var(--bs-gray-400);
}

#overlay {
    position: fixed !important;
}

@media (max-width:1199px) {
    .auth-full-bg .bg-overlay .logo {
        margin-top: 1rem;
        max-height: 5rem;
        vertical-align: middle
    }

    #infoContasMeuCron {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width:1200px) {
    .auth-full-bg .bg-overlay .logo {
        margin-top: 13rem;
        max-height: 13rem;
        vertical-align: middle
    }
}

@media (min-width:1800px) {
    .auth-full-bg .bg-overlay .logo {
        margin-top: 15rem;
        max-height: 16rem;
        vertical-align: middle
    }
}

@media(max-width:768px) {
    #relatoriosMeuCron>div {
        flex-direction: column;
    }

    #evolucoesMeuCron {
        flex-direction: column;
    }

    #infoContasMeuCron {
        display: flex !important;
        flex-direction: column !important;
    }
}

/*------------------------------------BUTTON------------------------------ */

.btn-primary {
    color: #fff;
    background-color: var(--ebara-btn-primary) !important;
    border-color: var(--ebara-btn-primary) !important;
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--ebara-btn-primary-focus) !important;
    border-color: var(--ebara-btn-primary-focus) !important;
}

.intputSearchCod {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

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

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

.btnInputSearchPesquisar {
    margin-left: -1px;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.btnTopbar {
    min-width: 100px;
}

.btnModal {
    min-width: 100px;
}

.btnModalForm {
    min-width: 100px;
}

.btnForm {
    min-width: 100px;
}

/*------------------------------------TABS------------------------------ */

.checkout-tabs .nav-pills .nav-link.active {
    background-color: var(--ebara-btn-primary-focus) !important;
}

.checkout-tabs .nav-pills .nav-link:hover {
    color: var(--ebara-text-primary) !important;
}


.invalid-feedback {
    order: 2;
}

#showPassword {
    order: 1;
    border: 1px solid #ced4da;
}

.swal2-toast-shown .swal2-container {
    z-index: 1100;
    width: 100% !important;
    max-width: 400px !important;
}

.swal2-icon.swal2-error {
    border-color: #e74c3c !important;
    color: #e74c3c !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: #07bc0c !important;
    color: #07bc0c !important;
}

.swal2-icon.swal2-warning {
    border-color: #f1b44c !important;
    color: #f1b44c !important;
}

.swal2-icon.swal2-info {
    border-color: #50a5f1 !important;
    color: #50a5f1 !important;
}

.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
    background-color: #e74c3c !important;
}

.swal2-popup.swal2-toast.swal2-icon-error.swal2-show .swal2-timer-progress-bar {
    background-color: #e74c3c !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #07bc0c !important;
}

.swal2-popup.swal2-toast.swal2-icon-success.swal2-show .swal2-timer-progress-bar {
    background-color: #07bc0c !important;
}

.swal2-icon.swal2-warning [class^=swal2-warning-line] {
    background-color: #f1b44c !important;
}

.swal2-popup.swal2-toast.swal2-icon-warning.swal2-show .swal2-timer-progress-bar {
    background-color: #f1b44c !important;
}

.swal2-icon.swal2-info [class^=swal2-info-line] {
    background-color: #50a5f1 !important;
}

.swal2-popup.swal2-toast.swal2-icon-info.swal2-show .swal2-timer-progress-bar {
    background-color: #50a5f1 !important;
}

.btn-success-secondary:focus+.btn-success-secondary,
.btn-success-secondary:focus,
.btn-success-secondary:hover {
    color: #fff !important;
    background-color: #2ca67a !important;
    border-color: #2a9c72 !important;
}

.btn-success-secondary {
    color: #fff !important;
    background-color: #34c38f !important;
    border-color: #34c38f !important;
}

div.is-invalid {
    border: 1px solid #f46a6a;
    border-radius: .25rem;
}

button.is-invalid {
    border-color: #f46a6a !important;
}

span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

span.select2-selection__arrow {
    height: 34px !important;
}

.select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
    height: 36.53px !important;
}

.select2-dropdown {
    position: initial !important;
}

.modal-fullscreen {
    width: 114.5vw;
}

.modal-xxl {
    width: 90.5vw;
    min-width: 90.5vw;
}

.modalebas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 120vw;
    height: 120vh;
    background-color: #000;
}

.modalebas-backdrop.show {
    opacity: .5;
}


@media(min-width:769px) {
    .containerHorizon {
        margin-top: 3.5rem !important;
    }
}

.topbarHorizon {
    background-color: var(--ebara-menu-brand-background) !important;
    min-height: 70px;
    z-index: 0;
    color: white !important;
}

.topbarHorizon .navbar-header>div>button>i {
    color: white !important;
}

.topbarHorizon .navbar-header .dropdown span {
    color: white !important;
}

.topbarHorizon .navbar-header .dropdown i {
    color: white !important;
}

.map-tooltip {
    position: absolute;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    transform: translate(15px, 15px);
}

.dashboard-check {
    transform: scale(1.5);
    cursor: pointer;
}

.logo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 30px; 
    font-weight: 600; 
    color: #fff; 
    text-transform: uppercase;
    letter-spacing: 4px; 
    margin-top: 16px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); 
}

.dashboard-card {
    border-radius: 20px;
    padding: 30px 10px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,#ffffff,#eef3f9);
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-bottom: 4px solid;
    border-color: rgba(0, 79, 159, 1);
}

.dashboard-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 55px rgba(0,0,0,0.18);
}

.dashboard-icon-circle{
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 15px auto;
    font-size:30px;
    background:rgba(0, 79, 159, 1); 
    color:white; 
    box-shadow:0 8px 20px rgba(47,111,237,0.35);
}

.dashboard-icon-circle::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(15px);
    z-index: -1;
}

.dashboard-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #2c3e50;
}

.dashboard-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 100%;
}

.dashboard-card::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -60%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.45), transparent);
    transform: rotate(25deg);
}

.btn-permissoes{
    background-color: #2f6fed !important;
    color: white !important;
    border: none !important;
}

.btn-permissoes:hover{
    background-color: #1e4ec7 !important;
    color: white !important;
}
