:root {
    --ebara-menu-background: #004f9f;
    --ebara-menu-brand-background: #004f9f;
    --ebara-menu-collapsed: #ffffff;
    --ebara-menu-icon: #ffffff;
    --ebara-menu-expanded: #ffffff;
    --ebara-menu-title: #ffffff;
    --ebara-menu-title-active: #000000 !important;
    --ebara-menu-hover: #000000;
    --ebara-btn-primary: #004f9f !important;
    --ebara-btn-primary-focus: #004f9fcc !important;
    --ebara-text-primary: #004f9f !important;
    --ebara-table-hover: #004f9fe6 !important;
    --ebara-table-selected: #004f9fcc !important;
    --ebara-overlay-text: #000000 !important;
}

html {
    zoom: 0.875;
}

.text-ebara {
    color: var(--ebara-text-primary) !important;
}

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

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


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

.cardSilva {
    cursor: pointer;
    transition: 0.3s;
    z-index: 999;
}

.custom-tooltip-wrapper {
    position: relative;
}

.custom-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff !important;
    color: #666;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    z-index: 999;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -20px;
    border-width: 20px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}


.custom-tooltip-wrapper:hover .custom-tooltip {
    display: block;
}

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

.progress-bar {
    height: 100%;
}

.progress-bar.bg-danger {
    background: #ff0000;
    width: 27%;
}

.progress-bar.bg-warning {
    background: #ffff00;
    width: 13%;
}

.progress-bar.bg-success {
    background: #008000;
    width: 60%;
}

.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 #000000;
    top: -15px;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

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

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

table.dataTable tbody tr.totalizer {
    font-weight: bold;
}

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

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

table.dataTable tbody tr {
    height: 50px;
}

table.dataTable thead tr th {
    border-color: #2018134d;
    border-bottom-color: #2018134d;
}

table.dataTable tbody tr td {
    border-color: #20181326 !important;
    border-bottom-color: #20181326 !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;
}

.dt-button-collection>.dropdown-menu {
    width: 200px;
}

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

.buttons-columnVisibility::after {
    float: right;
    right: 1em;
    content: '*';
    color: inherit;
    visibility: hidden;
}

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


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

.bg-overlay {
    background-color: #004f9f4d !important;
}

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


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

.border-primary {
    border-color: #004f9fcc !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);
}

#overlay {
    position: fixed !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.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;
}

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

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

.text-decoration-line-through-danger {
    text-decoration: line-through;
    text-decoration-color: var(--bs-danger);
}

/* Altera a cor da seta (setinha) do tooltip */
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #004f9f !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #004f9f !important;
}

.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #004f9f !important;
}

.tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: #004f9f !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;
}

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

.modal {
    padding-right: 0px !important;
}

.navbar-brand-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img_logo_egso_mobile_login,
.img_logo_mobile_login {
    display: none;
}

#logout {
    cursor: pointer;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

.badge-info {
    color: #ffffff;
    background-color: #17a2b8;
}

.badge-dark {
    color: #ffffff;
    background-color: #000000;
}

.badge-secondary {
    color: #ffffff;
    background-color: #6c757d;
}

#page-header-user-dropdown:hover,
#page-header-user-dropdown:focus {
    background: #f8f9fa !important;
}

.imagem_empresa {
    height: auto;
    border-radius: 5px;
    background: #fff;

    max-height: 40px;
}

.imagem_pais {
    height: auto;
    border-radius: 5px;
    background: #fff;
    max-height: 30px;
    max-width: 40px;
}

.imagem_empresa.active {
    position: fixed;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    z-index: 10010;
    max-height: 100%;
}

.progress-container {
    width: 50px;
    height: 50px;
    position: relative;

    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.progress-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#34c38f 0%, #34c38f 0%, #34c38f 0%, #34c38f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.progress-circle::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: #ffffff;
    border-radius: 50%;
}

.progress-value {
    z-index: 1;
}

.progress-circle.pulsing {
    animation: pulseBorder 2s infinite ease-in-out;
}

.pulse-icon {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0 #34c38f;
    }

    50% {
        box-shadow: 0 0 0 10px #34c38f00;
    }

    100% {
        box-shadow: 0 0 0 0 #34c38f;
    }
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#downloads_container {
    gap: 10px;
}

#downloads_container>div {
    gap: 10px;
}

#downloads_container>div>div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    min-height: 55px;
    border: 3px solid #34c38f;
    border-radius: 50%;
    background: #fff;
}

#downloads_container>div>div>i {
    font-size: 20px;
    color: #34c38f;
}

#downloads_container>div>div:last-child {
    justify-content: center;
    gap: 5px;
    width: 100%;
}

#downloads_container>div>div:last-child>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

#progress-dropdownMenu {
    display: block;
    position: absolute;
    width: 720px;
    max-height: 500px;

    position: absolute;
    top: 80px;
    left: 80px;

    border-radius: 10px;
    box-shadow: #64646f33 0px 7px 29px 0px;

    overflow-y: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.aprovadores-timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.aprovadores-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #007bff;
    transform: translateX(-50%);
}

.aprovadores-timeline-item {
    position: relative;
    width: 50%;
    padding: 20px;
}

.aprovadores-timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.aprovadores-timeline-item:nth-child(even) {
    left: 0%;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: calc(100% - 8px);
    width: 16px;
    height: 16px;
    background-color: #007bff;
    border-radius: 50%;
}

.aprovadores-timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-item {
    display: flex;
}

#downloads_container_span {
    overflow: hidden;
}

.limitador-texto {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-extension-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    background-color: #6c757d;
    text-transform: uppercase;
}

.file-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.file-item {
    cursor: pointer;
}

.file-list-selected {
    border: 1px solid var(--ebara-menu-background) !important;
}

.description_item {
    padding-top: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 300px;
}

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

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

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

    border: 2px dashed #004f9f;
    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%;
    border-radius: 5px;

    max-height: 220px;
    object-fit: contain;
}

.component-remove-button {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4d4d;
    color: #ffffff;
    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: #004f9f;
    font-size: 30px;
}

.upload-prompt p {
    color: #004f9f;
    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 #004f9f;
    padding: 10px;
    cursor: move;
}

/* Estilização do container principal de notificações */
.toast-container {
    width: 90%;
    max-width: 500px;
    right: 0;
    bottom: 50px !important;
}

.toast {
    border-radius: 16px;
    border: none;
    background-color: #ffffff;
    box-shadow: 0 4px 12px #0000001a;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 0;
    width: 100%;
}

.toast-header {
    background-color: #ffffff;
    border-bottom: none;
    padding: 16px 16px 0 16px;
    display: flex;
    align-items: center;
}

.toast-body {
    padding: 8px 16px 16px 16px;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    position: relative;
}

.toast-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #004f9f;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.toast-icon-container i {
    font-size: 20px;
    color: #ffffff;
}

.toast-header {
    background-color: #ffffff;
    border-bottom: none;
    padding: 16px 16px 0 16px;
    display: flex;
    align-items: center;
}

.toast-header .me-auto {
    font-weight: bold;
    font-size: 16px;
    flex-grow: 1;
    padding-left: 0 !important;
}

.toast-body .border-top {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    position: relative;
}

.toast .btn-success {
    position: absolute;
    top: -65px;
    right: 20px;
    background-color: transparent;
    border: none;
    color: #e74c3c;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: unset;
}

.toast .btn-success:hover {
    background-color: #e74c3c1a;
}

.toast .btn-success .fa-check:before {
    content: "×";
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
}

.toast-header::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #34c38f;
    margin-left: 10px;
}

.toast .btn-close {
    display: none;
}

/* --------------------------------------------------------------------------------------------------- */

#cardsDashboard {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    #formulaModal .modal-dialog {
        margin: 1rem auto;
        width: 95%;
        max-width: 95%;
    }

    #formulaModal .modal-content {
        max-height: 65vh;
        overflow-y: auto;
        border-radius: 1rem;
    }
}

@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:1400px) {
    #cardsDashboard {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px;
    }
}

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

    .ocultar_mobile {
        display: none;
    }

    .page_login_mobile {
        height: 100%;
    }

    .page_login_mobile_conteudo {
        height: 100dvh;
    }

    .img_logo_mobile_login {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 22px 0px 25px 0;
    }

    .img_logo_mobile_login img {
        width: 100%;
        height: 100%;
    }

    .img_logo_egso_mobile_login {
        display: flex !important;
        justify-content: center;
        align-items: end;
        padding-top: 45px;
    }

    .img_logo_egso_mobile_login img {
        display: flex;
        width: 300px !important;
    }


    #cardsDashboard {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px;
    }
}

@media(max-width:768px) {
    .img_logo_egso_mobile_login img {
        display: flex;
        width: 150px !important;
    }

    #progress-dropdownMenu {
        width: 100dvw;
        left: 7dvw;
        z-index: 1000;
    }

    #downloads_container>div>div:first-child {
        display: none;
    }

    .file-list>div>div {
        flex-direction: column;
        gap: 10px;
    }

    .file-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 90px;
    }

    #filters-dropbox {
        flex-direction: column;
        gap: 10px;
    }

    #menuBotoesForms {
        position: fixed;
        z-index: 1000;
        background: #004f9f;
        width: 100%;
        margin: 0px !important;
        left: 0;
        bottom: 0px;
        gap: 20px !important;
        padding: 20px 10px !important;
    }

    #menuBotoesForms>a {
        background: transparent !important;
        padding: 0;
        margin: 0;
        min-width: 50px !important;
        border: 0;
    }

    #menuBotoesForms>button {
        background: transparent !important;
        padding: 0;
        margin: 0;
        min-width: 40px !important;
        border: 0;
    }

    #formGlobalRegistrationInitial {
        margin: 0px !important;
        padding: 0px !important;
    }

    #cropperCanvas {
        touch-action: none;
    }

    .toast-container {
        bottom: 80px !important;
    }

    #cardsDashboard {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .component-download-button {
        font-size: 11px;
        padding: 5px 10px;
    }

    .component-download-button small {
        display: none;
    }
}

@media(max-width:468px) {
    #menuBotoesForms {
        gap: 10px !important;
    }
}


.sebastian-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 120px;
    box-shadow: 0 4px 8px #00000033;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.sebastian-container .close-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ff0000;
    z-index: 10000;
}

.sebastian-topbar {
    width: 48px;
    margin-top: 10px;
}

.sebastian-dialog {
    position: fixed;
    bottom: 120px;
    right: 150px;
    z-index: 9999;
    padding: 10px;
    box-shadow: 0 4px 8px #00000033;
    background-color: #D3D3D3;
    border-radius: 8px;
    overflow: hidden;
}

.ebara-gray {
    background: #212529;
    color: #fff;
}

.ebara-gray-1 {
    background: #85857E;
    color: #fff;
}

.cardChartByPeriod,
#cardChartByMap {
    background-color: #fff;
    color: #808080;
    font-weight: bold;
}

#cardChartByPeriod,
#gauge-chart {
    box-shadow: none !important;
    margin-bottom: 0px !important;
}

.gm-ui-hover-effect {
    display: none !important;
}

#chatModal .modal-footer>button {
    display: none !important;
}

.chat-input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.send-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.send-btn:hover {
    background: #0056b3;
}

.send-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.chat-message {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-left: 4px solid #007bff;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.user-details h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.user-details small {
    color: #6c757d;
}

.loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.loading-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #007bff;
    animation: loading 1.4s infinite ease-in-out both;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.response-message {
    background: #e3f2fd;
    border-left-color: #2196f3;
    margin-top: 15px;
}

.message-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.chat-history {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
}

#bodyAudioControls {
    background: #004f9f !important;
    padding: 10px;
    border-radius: 10px;
}

#bodyAudioControls button {
    width: 40px;
    height: 40px;
    background: #fff !important;
    border: #fff !important;
    border-radius: 50%;
}

#bodyAudioControls button i {
    color: #004f9f !important;
    font-size: 20px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.recording-animation {
    animation: pulse 1.5s infinite;
}

@keyframes border-expand {
    0% {
        transform: scale(1);
        border-width: 2px;
        opacity: 1;
    }

    100% {
        transform: scale(2);
        border-width: 5px;
        opacity: 0;
    }
}

.playing-animation {
    animation: pulse 1.5s infinite;
}

.progress-animation {
    animation: border-expand linear forwards;
}


.component-download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.component-download-button {
    border: 1px solid #007bff;
    color: #007bff;
    background-color: transparent;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.component-download-button:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
}

.component-download-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.component-download-button i {
    font-size: 14px;
}

.component-download-button small {
    font-size: 10px;
    margin-left: 5px;
}

.backgroundStatusIN {
    font-weight: bold;
}

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