: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-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;
}

/*------------------------------------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;
}

.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;
}

.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);
}

/* Component Image Upload
------------------------------------------------------------------------------------------------------------- */

.component-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.image-upload-container {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    padding: 20px;

    border: 2px dashed rgba(0, 79, 159, 1);
    border-radius: 5px;

    background: #f8f9fa;
}

.component-upload-area {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    background: transparent;
}

.component-upload-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.component-browse-button {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

.component-browse-button:hover {
    background: #3a7bc8;
}

.component-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    height: 100%;
}

.component-image-preview {
    width: 100%;
    max-height: 220px;
    border-radius: 5px;
    object-fit: contain;
}

.component-remove-button {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.upload-prompt i {
    color: rgba(0, 79, 159, 1);
    font-size: 30px;
}

.upload-prompt p {
    color: rgba(0, 79, 159, 1);
    font-weight: bold;
}

#modalBodymodalImage {
    display: flex;
    background: #f8f9fa;
}

#modalBodycustomCropModal>div {
    background-color: #f8f9fa;
}

.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;

    padding: 40px;
}

#cropperCanvas {
    display: block;
    max-width: 100%;
    border: 2px dashed rgba(0, 79, 159, 1);
    padding: 10px;
    cursor: move;
}

.avaliacao-estrela {
    direction: rtl;
    unicode-bidi: bidi-override;
    font-size: 2rem;
}
.avaliacao-estrela input {
    display: none;
}
.avaliacao-estrela label {
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}
.avaliacao-estrela input:checked ~ label,
.avaliacao-estrela label:hover,
.avaliacao-estrela label:hover ~ label {
    color: #f5b301; 
}

html {
        overflow-y: scroll;
    }    

body.modal-open {
    padding: 0 !important;
}