.campo-comprador,
.campo-paciente {
    transition: all 0.3s ease;
}

.campo-oculto {
    display: none !important;
}

#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3E1FDD;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.bg-receita-azul {
    background-color: #cce5ff;
    padding: 4px 8px;
    border-radius: 4px;
}

.bg-receita-amarela {
    background-color: #fff3cd;
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-adicionar {
    background-color: #4CAF50;
    /* Verde claro */
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-adicionar:hover {
    background-color: #3e8e41;
    /* Verde mais escuro */
}

/* Botão Voltar */
.btn-voltar {
    background-color: #2196F3;
    /* Azul claro */
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-voltar:hover {
    background-color: #1976d2;
    /* Azul mais escuro */
}

.text-right {
    text-align: end
}

.img-container {
    position: relative;
    display: inline-block;
}

.mr-5 {
    margin-right: 5px !important;
}

.document-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.close-button {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.close-button.left {
    margin-left: 10px;
}

.close-button:hover {
    color: red;
    /* Altere a cor do ícone ao passar o mouse */
}

.submenu-link:hover,
.sidebar-link:hover {
    cursor: pointer;
}


.justify-center {
    justify-content: center
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Espaço entre as imagens */
}

.img-container img {
    max-width: 250px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Espaço entre as imagens */
}

.img-container img {
    max-width: 250px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

#tableContainer {
    width: 47.5%;
    /* Ajusta a largura do contêiner */
    margin-top: 5px;
    /* Ajusta a margem superior do contêiner */
}

#beforeAfterTable {
    width: 100%;
    /* Ajusta a largura da tabela */
    border-collapse: collapse;
    /* Remove espaço entre bordas das células */
    margin: 0 auto;
    /* Centraliza a tabela */
}

#beforeAfterTable td {
    width: 50%;
    /* Ajusta a largura das células */
    text-align: center;
    /* Centraliza o texto */
    vertical-align: middle;
    /* Centraliza o texto verticalmente */
    /*border: 01px solid #ccc;
    /* Adiciona uma borda fina às células */
    padding: 1px;
    /* Ajusta o espaçamento interno das células */
}

/* Tamanho da linha pode ser ajustado aqui */
#beforeAfterTable tr {
    height: 20px !important;
    /* Altere este valor para ajustar o tamanho da linha */
    /* Altere este valor para ajustar o tamanho da linha */
}

.legend {
    margin-bottom: 20px;
    padding: 10px 0;
}

.legend div {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-left: 20px;
}

.legend i {
    margin-right: 5px;
}

.popover-body {
    background-color: #e6eef5;
    /* Cor de fundo do popover */
    color: #000000;
    /* Cor do texto do popover */
    /* max-width: 300px !important;
    /* Largura máxima do popover */
    text-align: left;
    /* Justificar o texto para a esquerda */
    border-radius: 8px;
    /* Borda arredondada do popover */
    padding: 8px;
    /* Espaçamento interno do popover */
    font-size: 14px;
    /* Tamanho da fonte do popover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Sombra do popover */
}

/* Estilo para a seta do popover */
.popover-arrow {
    border-color: #3498db;
    /* Cor da borda da seta */
}

.custom-popover {
    max-width: 400px;
    /* Adjust width as needed */
}

.timeline {
    position: relative;
    padding-left: 50px;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background-color: #ccc;
}

.event {
    position: relative;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

.event::before {
    font-family: 'Font Awesome 5 Free';
    content: '\f024';
    /* Código Unicode do ícone fa-circle-check */
    font-weight: 900;
    /* Necessário para ícones sólidos */
    position: absolute;
    top: 50%;
    left: -35.5px;
    transform: translateY(-50%);
    color: #FFFFFF;
    /* Cor do ícone */
    font-size: 12px;
    /* Tamanho do ícone */
    z-index: 2;
    /* Garante que o ícone fique na frente do círculo */
}

.event::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -43.5px;
    /* Ajuste para alinhar o círculo com o ícone */
    width: 26px;
    /* Tamanho do círculo */
    height: 26px;
    /* Tamanho do círculo */
    border-radius: 50%;
    /* Forma do ponto de conexão (círculo) */
    background-color: #007BFF;
    /* Cor do ponto de conexão */
    transform: translateY(-50%);
    z-index: 1;
    /* Coloca o círculo atrás do ícone */
}

.event h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.event .date-time {
    margin-bottom: 10px;
    font-size: medium;
}

.event .date-time i {
    margin-right: 5px;
    font-size: larger;
}

.event .badge {
    background-color: #198754;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 5px;
}

.event .type {
    color: #BB2D3B;
    margin-right: 10px;
}

.event .info {
    margin-bottom: 0;
    font-size: medium;
}

.event .btn {
    margin-left: 5px;
}

.info-box {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

html[data-bs-theme=dark] .info-box {
    background-color: #1e1e2d;
}

.info-box i {
    font-size: 1.5rem;
}

.info-box h6 {
    margin-bottom: 0;
    font-size: 1rem;
}

.info-box p {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.sidebar-wrapper .menu .sidebar-item.active>.sidebar-link {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.list-group-item {
    border: 0 !important;
}

.btn-default {
    --bs-btn-color: #fff;
    --bs-btn-bg: #3E1FDD;
    --bs-btn-border-color: #3E1FDD;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #7e227c;
    --bs-btn-hover-border-color: #7e227c;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #7e227c;
    --bs-btn-active-border-color: #7e227c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #3E1FDD;
    --bs-btn-disabled-border-color: #3E1FDD
}

html[data-bs-theme=dark] .btn-default {
    --bs-btn-color: #fff;
    --bs-btn-bg: #3E1FDD;
    --bs-btn-border-color: #3E1FDD;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #7e227c;
    --bs-btn-hover-border-color: #7e227c;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #7e227c;
    --bs-btn-active-border-color: #7e227c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #3E1FDD;
    --bs-btn-disabled-border-color: #3E1FDD
}

.dash_chart {
    min-height: 310px !important;
}

.indicadores {
    display: flex;
    align-items: center;
    gap: 10px;
}