body {
    background-color: #0b0d1a;
    color: white;
    font-family: Arial, sans-serif;
    height: 100%;
    justify-content: center;
    align-items: center;

}

.bloqueado {
    position: relative;
}

.bloqueado::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5);
    z-index: 10;
    cursor: not-allowed;
}


.container {
    background-color: #0e1223;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: none;
    width: 300px;
}

.container.active {
    display: block;
}

.form-control,.form-select {
    background-color: #d3d3d3;
    border: none;
    border-radius: 20px;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #3a7ca5;
    border: none;
    border-radius: 20px;
    width: 100%;
}

.bgPersonalizado-btn-primary {
    background-color: #3a7ca5;
    border: none;
    color: white;
}

.btn-link {
    color: #3a7ca5;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.back-button {
    color: white;
    cursor: pointer;
    margin-bottom: 20px;
}

.error-message {
    color: red;
    display: none;
}

h2,
h3 {
    font-size: 1.25rem;
    /* Adjusted font size */
}

/* Estilos da sidebar */
.ListaDemandas {
    width: 24rem;
    height: calc(100% - 70px);
    /* Corrige o cálculo da altura */
    position: fixed;
    top: 0;
    left: 3.5rem;
    background-color: #f8f9fa;
    margin-top: 70px;
    overflow: hidden;
    overflow-y: auto;
    transition: 0.3s;
}


.btn-toggle::before {
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.3s ease-in-out;
    /* Animação da rotação */
}

.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
    /* Gira a seta para baixo */
}

.btn-toggle-nav {
    padding-left: 1.5rem;
    /* Espaçamento para alinhar subitens */
}

.div_menus {
    border: #949494;
    border-style: outset;
    border-width: 0px;
    border-radius: 20px;
}


.painel-detalhes {
    margin-top: 71px;
    height: calc(100vh - 71px);
    overflow-y: auto;
    scroll-behavior: smooth;
}



/* Estilo da barra de rolagem para navegadores compatíveis */
.painel-detalhes::-webkit-scrollbar {
    width: 8px;
    /* Largura da barra de rolagem */
}

.painel-detalhes::-webkit-scrollbar-thumb {
    background: #6c757d;
    /* Cor da "mãozinha" */
    border-radius: 10px;
    /* Cantos arredondados */
}

.painel-detalhes::-webkit-scrollbar-thumb:hover {
    background: #495057;
    /* Cor ao passar o mouse */
}

.painel-detalhes::-webkit-scrollbar-track {
    background: #e9ecef;
    /* Cor do fundo da barra de rolagem */
    border-radius: 10px;
}

@media (min-width: 768px) {
    .col-md-calculado {
        flex: 0 0 auto;
        width: calc(8.33333333% * var(--colunas));
    }
}

.Divisor_titulo {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

.Divisor_titulo::before,
.Divisor_titulo::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #ccc;
    margin: 0 10px;
}

.Divisor_subtitulo {
    display: flex;
    align-items: center; /* Alinha o texto verticalmente no centro */
    text-align: center;
    margin: 1px 0;
    color: #333;
    font-weight: bold;
    font-size: 1.0rem;
}

.Divisor_subtitulo::before,
.Divisor_subtitulo::after {
    content: "";
    flex: 1; /* Faz com que as linhas se estendam nas extremidades */
    border-bottom: 1px solid #ccc; /* Cor e espessura do sublinhado */
    margin: 0 10px; /* Espaço entre o título e as linhas */
}

.Divisor_subtitulo span {
    padding: 5px 15px; /* Espaço ao redor do texto */
    background-color:  #ececec; /* Cor de fundo para esconder a linha sob o texto */
    border-radius: 10px; /* Bordas arredondadas */
    border: 2px solid #ececec; /* Borda ao redor do quadrado */
    /*box-shadow: 2px 2px 5px rgba(244, 243, 243, 0.1); /* Sombra para dar efeito de profundidade */
}

.subtitulos_divs{
    background-color:  #ececec; /* Cor de fundo para esconder a linha sob o texto */
    border-radius: 10px; /* Bordas arredondadas */
}

.item_anexo {
    cursor: pointer;
    user-select: none;
}

#loadingOverlay,#salvando_Overlay {
    display: none; /* Substitui d-none para manipulação via JS */
}


.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0;
}

#Tab_Select_Observacoes {
    max-height: 200px; /* Altura máxima da área expandida */
    overflow-y: auto; /* Adiciona rolagem quando necessário */
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }


.observacao-item{
    border: 0;
    border-radius: 10px;
    border-top: 1px solid rgba(120, 119, 119, 0.1);
    border-left: 1px solid rgba(120, 119, 119, 0.1);
    border-right: 1px solid #7877771a;
    padding: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}



.div_agenda {
    color: #0b0d1a;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    width: 100%;
}	

.div_tabela_agenda {
    height: 65vh;
    max-height: 65vh;
    overflow-y: auto; /* Permite rolagem vertical */
    /* Para permitir rolagem mesmo com overflow-y: hidden, use JavaScript para rolar o conteúdo */
}

.tabela_agenda {
    width: 100%;
    border-collapse: collapse;
}

.tabela_agenda th {
    background: #8e9193;
}


.btn-voltar {
    background-color: #3a7ca5;
    border: 1px solid #3a7ca5;
    color: white;
}

.btn-voltar:hover {
    background-color: #2d6085;
    border-color: #2d6085;
    color: white;
}

.btn-voltar::before {
    content: "\f060";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
}

.btn-voltar::after {
    content: "Voltar";
}


.fundo_com_borda{
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f8f9fa;
}

.Item_Ativo_das_Demandas {
    background-color: #0d6efd !important;
    color: white !important;
    border: 2px solid #064f7d !important; /* Add a border to highlight the selection */
    border-radius: 10px !important  ;
    box-shadow: 0 0 10px rgba(9, 104, 163, 0.5) !important; /* Add a glowing effect */
}

.bg-Divisor_titulo{
    background-color:  #e4e4e4; /* Cor de fundo para esconder a linha sob o texto */
    border-radius: 10px; /* Bordas arredondadas */
    margin-left: 5px;
}