html,
body {
    font-family: 'Source Sans Pro', sans-serif;
    padding: 0;
    margin: 0 !important;
    /* height: 100%; */
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    body {
        font-size: 16px;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    background-color: #E7F3FD;
    /* margin-bottom: 15px; */
    /* position: relative; */
    z-index: 1000;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
    }
}

.navbar .logo img {
    width: 156px;
}

.navbar h1 {
    font-size: 1.6em;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin: 0;
}

@media (max-width: 992px) {
    .navbar h1 {
        font-size: 1.2em;
    }
}

.navbar-icons {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

@media (max-width: 992px) {
    .navbar-icons {
        margin-top: 10px;
    }
}

.navbar a {
    float: left;
    display: block;
    color: #000;
    text-align: center;
    padding: 0 10px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.navbar a:hover {
    border-bottom: 1px solid #238F42;
}

.navbar a.active {
    border-bottom: 1px solid #238F42;
}

.navbar a .icon {
    height: 39px;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    cursor: pointer;
    font-size: 16px;  
    border: none;
    outline: none;
    color: #000;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; 
    margin: 0; 
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 30px;
    background-color: #f9f9f9;
    min-width: 276px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #F0F2F6;
}

.dropdown-content a:hover:first-child {
    background-color: #F0F2F6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.dropdown-content a:hover:last-child {
    background-color: #F0F2F6;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* loading */

/* Estilos para o Spinner */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Leve transparência no fundo */
    z-index: 9999; /* Garante que o loading esteja sempre por cima */
    
    /* Usando Flexbox para centralizar o conteúdo */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spinner com rastro e movimento */
.spinner {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Cria um círculo */
    border: 10px solid rgba(35, 143, 66, 0.2); /* Cor #238F42 com transparência */
    border-top: 10px solid #238F42; /* Parte destacada que irá girar */
    animation: spin 1.2s linear infinite; /* Animação de rotação */
}

/* Efeito de rastro e movimento dentro do círculo */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsividade - ajusta o tamanho do spinner em telas menores */
@media (max-width: 768px) {
    .spinner {
        width: 60px;
        height: 60px;
        border-width: 10px;
    }
}

@media (max-width: 480px) {
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}


/* conteudo */

.filtros-metricas {
    margin-top: 80px;
    width: 100%;
    /* padding: 0 15px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 992px) {
    .filtros-metricas {
        margin-top: 170px;
    }
}


.filtros-metricas .metrica {
    font-size: 1em;
    font-weight: 400;
    color: #000;
    min-width: 30px;
    width: auto;
    padding: 0 5px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    padding: 0 15px;
}

.filtros-metricas .metrica:hover {
    color: #238F42;
    border-bottom: 2px solid #238F42;
}

.filtros-metricas .metrica.active {
    color: #238F42;
    border-bottom: 2px solid #238F42;
}

.container {
    width: 100%;
    margin-top: 15px;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
}

@media (min-width: 1400px) {
    .container {
        justify-content: space-around;
    }
}

.flash-messages {
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}


.container .box {
    margin: 5px;
    background-color: #fff;
    color: white;
    text-align: left;
    padding: 5px;
    box-sizing: border-box;
    border: 0.5px solid #F2F2F2;
    border-radius: 8px;
    transition: background-color 0.3s;
    min-height: 200px;
    height: auto;
    width: 100%;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container .box {
        max-width: 45%;
    }
}

@media (min-width: 1200px) and (max-width: 1729px) {
    .container .box {
        max-width: 32%;
    }
}

@media (min-width: 1730px) {
    .container .box {
        max-width: 550px;
    }
}


@media (min-width: 1850px) {
    .container .box {
        max-width: 32%;
        min-height: 378px;
        height: auto;
    }
}

/* .container .box .box-body {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
} */

/* Garantir que o contêiner do gráfico ocupe todo o espaço disponível */
.container .box .box-body {
    display: flex; /* Usa flexbox */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    width: 100%;
    height: 100%;
    padding: 0;
    position: relative;
}

.container .box .box-body.graph_bar {
    height: 290px;
}

/* Estilização do loader (círculo animado) */
.container .box .box-body .loader {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Cria um círculo */
    border: 10px solid rgba(35, 143, 66, 0.2); /* Cor #238F42 com transparência */
    border-top: 10px solid #238F42; /* Parte destacada que irá girar */
    animation: spin 1s linear infinite; /* Animação de rotação */
    z-index: 10;
    
    /* CENTRALIZAÇÃO ABSOLUTA */
    /* top: 50%;
    left: 50%; */
    transform: translate(-50%, -50%);
}

/* Estiliza o iframe para ocupar todo o espaço disponível */
.container .box .box-body iframe {
    opacity: 0; 
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    height: 100%;
    min-height: 320px; /* Ajuste conforme necessário */
    border: none;
    display: block;
    transform: scale(0.95); /* Ajusta o gráfico sem cortá-lo */
    transform-origin: center;
}

/* Ajustar o gráfico Plotly para se adaptar */
.container .box .box-body .plotly-graph-div {
    width: 100% !important; /* Forçar largura total do contêiner */
    height: 100% !important; /* Forçar altura do contêiner */
    max-height: 70vh; /* Limitar a altura em relação à viewport */
    max-width: 100%; /* Evitar overflow horizontal */
}

.container .box .box-body.scrolar {
    overflow-y: auto;
    height: 350px;
}

/* .container .box .box-body .plotly-graph-div {
    position: relative;
    display: flex;
    width: 100%;
} */

.container .box .box-body.scrolar::-webkit-scrollbar {
    width: 6px;
}

.container .box .box-body.scrolar::-webkit-scrollbar-track {
    background: #E7F3FD;
}

.container .box .box-body.scrolar::-webkit-scrollbar-thumb {
    /* background: #A3C7E4; */
    background: transparent;
    border-radius: 10px;
}

.container .box .box-body.scrolar::-webkit-scrollbar-thumb:hover {
    background: #8BB8E0;
}

.container .box .box-body.scrolar {
    scrollbar-width: thin;
    /* scrollbar-color: #A3C7E4 #E7F3FD; */
    scrollbar-color: #E7F3FD #fff;
}

.container .box-header .header-title1,
.container .box-header .header-title2,
.container .box-header .header-title3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.container .box-header .header-title1 p {
    font-size: 1.15em;
    font-weight: 500;
    color: #252525;
    margin: 0;
}

.container .box-header .header-title1 p:last-child {
    font-size: 1em;
}

.container .box-header .header-title2 p.total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.container .box-header .header-title1 span,
.container .box-header .header-title2 span {
    color: #008933;
}

.container .box-header .header-title2 p {
    font-size: 1.15em;
    font-weight: 500;
    color: #062B4C;
    margin: 0;
}

/* Estilo do Tooltip */
.container .box-header .header-title2 .resultado_acumulado_percentual {
    position: relative;
    cursor: pointer;  /* Indica que o item é interativo */
}

/* Tooltip */
.container .box-header .header-title2 .resultado_acumulado_percentual::after {
    content: attr(data-tooltip);  /* O texto do tooltip vem do atributo data-tooltip */
    position: absolute;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(145deg, #6e7b8b, #5a6678);
    color: white;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 0.9em;
    max-width: 250px;  /* Limita a largura máxima do tooltip */
    width: max-content;  /* Ajusta a largura conforme o conteúdo */
    white-space: normal;  /* Permite quebra de linha */
    word-wrap: break-word;  /* Quebra palavras longas */
    overflow-wrap: break-word;  /* Garantir quebra de palavras longas */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 10;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Exibe o tooltip ao passar o mouse */
.container .box-header .header-title2 .resultado_acumulado_percentual:hover::after {
    opacity: 1;
    visibility: visible;
}

.container .box-header .header-title3 p {
    width: 100%;
    font-size: 1.2em;
    font-weight: 500;
    color: #000;
    margin: 0;
    border-top: 0.5px solid #F2F2F2;
}

.container .box-header .header-title4 p {
    font-size: 1.7em;
    font-weight: 500;
    color: #000;
    margin: 0;
}



/* Conteúdo geral */
.content-filters {
    margin-left: 300px; /* Espaço reservado para a largura da sidebar */
    padding: 0 50px 0 40px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 300px); /* Calcula a largura total menos a sidebar */
    box-sizing: border-box; /* Inclui padding e borda no cálculo da largura */
    margin-top: 125px;
}

@media (max-width: 1200px) {
    .content-filters {
        margin-left: 250px;
        padding: 20px 15px 0 15px;
        width: calc(100% - 250px);
    }
}

@media (max-width: 992px) {
    .content-filters {
        margin-left: 0;
        width: 100%;
        margin-top: 135px;
        align-items: center; /* Centralizar em telas menores */
    }
}

@media (max-width: 768px) {
    .content-filters {
        margin-left: 0;
        width: 100%;
        margin-top: 155px;
        align-items: center; /* Centralizar em telas menores */
    }
}

/* EXPORTAR DADOS */
.content-filters .exportar {
    position: relative;
    display: inline-block; /* Permite que o dropdown seja alinhado corretamente */
    /* left: 0; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.content-filters .exportar a {
    color: #003158;
    text-decoration: none;
}

.content-filters .exportar a:hover {
    color: #073964;
    text-decoration: none;
}

.content-filters .exportar a .icon{
    color: #062B4C;
    font-size: 2em;
    height: 39px;
    margin-left: 15px;
}

.content-filters .exportar .dropdown-export {
    position: relative; /* Posiciona o dropdown em relação ao contêiner */
    display: inline-block; /* Permite que o dropdown seja alinhado corretamente */
}

/* Estilo do botão */
.content-filters .dropbtn-export {
    background-color: #003158; /* Azul */
    color: white;
    padding: 10px 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;    
    border-radius: 5px; /* Bordas arredondadas */
    transition: background-color 0.3s; /* Efeito de transição suave */
}

.content-filters .dropbtn-export:hover {
    background-color: #003158; /* Azul escuro quando passar o mouse */
}

/* Estilo do conteúdo do dropdown */
.content-filters .dropdown-content-export {
    display: none; /* Oculta o conteúdo inicialmente */
    position: absolute; /* Posiciona o conteúdo em relação ao contêiner */
    background-color: #f9f9f9; /* Fundo claro */
    width: 100%; /* Largura mínima do menu */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Sombra */
    z-index: 10; /* Garante que o menu esteja acima de outros elementos */
    border-radius: 5px; /* Bordas arredondadas */
    flex-direction: column; /* Adiciona a direção de coluna */
}

/* Estilo dos links dentro do dropdown */
.content-filters .dropdown-content-export a {
    color: black; /* Cor do texto */
    padding: 12px 5px; /* Espaçamento interno */
    text-decoration: none; /* Remove o sublinhado */
    display: flex; /* Faz com que cada link ocupe toda a largura do menu */
    transition: background-color 0.3s; /* Efeito de transição suave */
    width: 100%; /* Garante que o link ocupe toda a largura do dropdown */
    box-sizing: border-box;
}

.content-filters .dropdown-content-export a:hover {
    display: flex;
    background-color: #f1f1f1; /* Fundo claro ao passar o mouse */
}

/* Exibe o conteúdo do dropdown quando o botão é clicado */
.content-filters .dropdown-export:hover .dropdown-content-export {
    display: flex; /* Exibe o conteúdo do menu */
    flex-direction: column; /* Alinha os links verticalmente */
    width: 100%;
}

/* Abas */
.content-filters .tabs {
    display: flex;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.content-filters .tab {
    padding: 10px 15px;
    margin-right: 5px;
    background-color: #E7F3FD;
    font-size: 1em;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
}

@media (max-width: 992px) {
    .content-filters .tabs {
        flex-wrap: wrap; /* Quebra de linha em telas menores */
    }

    .content-filters .tab {
        margin-bottom: 5px;
    }
}

.content-filters .tab:hover {
    color: #238F42;
    border-bottom: 3px solid #238F42;

}

.content-filters .tab.active {
    color: #062B4C;
    border-bottom: 3px solid #238F42;
}

/* Conteúdo da aba */
.content-filters .tab-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid #d8d5d5;
    border-radius: 8px;
    padding: 20px 20px 0 20px;
    width: 100%;
    max-width: 100%; /* Removendo a restrição de largura */
    box-sizing: border-box; /* Garantir que o padding e as bordas não aumentem a largura */
    /* overflow: hidden; */
}

@media (max-width: 768px) {
    .content-filters .tab-content {
        flex-direction: column; /* Melhor organização em telas menores */
        padding: 10px;
    }
}

.tab-content .box {
    display: none; /* Esconde todas as abas por padrão */
}

.tab-content .box.active {
    display: block; /* Exibe apenas a aba ativa */
}

.content-filters .box {
    width: 100%; /* Garantir que o box ocupe 100% da largura do contêiner */
}

/* Garantir que o contêiner do gráfico ocupe todo o espaço disponível */
.content-filters .box-body {
    align-items: center;
    width: 100%;
    min-height: 80vh;
    height: auto;
    max-height: 75vh; /* Altura máxima em telas menores */
    padding: 0;
}

.content-filters .box-body.graph-container {
    width: 100%;
    height: 100%;
    min-height: 650px; /* Define um tamanho mínimo */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Estilização do loader (círculo animado) */
.content-filters .box-body.graph-container .loader {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Cria um círculo */
    border: 10px solid rgba(35, 143, 66, 0.2); /* Cor #238F42 com transparência */
    border-top: 10px solid #238F42; /* Parte destacada que irá girar */
    animation: spin 1s linear infinite; /* Animação de rotação */
    z-index: 10;
}

/* Animação do loader */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estiliza o iframe para ocupar o tamanho total do container */
.content-filters .box-body.graph-container iframe {
    opacity: 0; 
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    height: 100%;
    min-height: 650px; /* Ajuste conforme necessário */
    border: none;
    display: block;
    transform: scale(0.95); /* Ajusta o gráfico sem cortá-lo */
    transform-origin: center;
}

@media (min-width: 1400px) and (max-width: 1920px) {
    .content-filters .box-body.graph-container {
        height: 100%;
        min-height: 650px;
    }
    .content-filters .box-body.graph-container iframe {
        height: 100%;
        min-height: 650px;
    }
}

@media (min-width: 769px) and (max-width: 1400px) {
    .content-filters .box-body.graph-container {
        height: 350px;
        min-height: 350px;
    }
    .content-filters .box-body.graph-container iframe {
        height: 350px;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .content-filters .box-body.graph-container {
        height: 250px;
        min-height: 250px;
    }
    .content-filters .box-body.graph-container iframe {
        height: 250px;
        min-height: 250px;
    }
}


/* Ajustar o gráfico Plotly para se adaptar */
.content-filters .box-body .plotly-graph-div {
    width: 100% !important; /* Forçar largura total do contêiner */
    height: 100% !important; /* Forçar altura do contêiner */
    max-height: 70vh; /* Limitar a altura em relação à viewport */
    max-width: 100%; /* Evitar overflow horizontal */
}

.content-filters .box-body .plotly-graph-div .user-select-none {
    width: 100% !important;
    max-width: 100%;
}

/* Ajustes para telas pequenas */
@media (max-width: 768px) {
    .content-filters .box-body .plotly-graph-div {
        max-height: 55vh; /* Diminuir altura máxima em telas menores */
    }
}

.content-filters .box .header-title4 p {
    font-size: 1.7em;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.toggle-button {
    cursor: pointer;
    margin-left: 1rem;
    display: none;
}

@media (max-width: 992px) {
    .toggle-button {
        display: block;
    }
}

/* menu lateral */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: calc(100% - 90px); 
    padding-top: 90px;
    background-color: #E7F3FD;
    z-index: 9;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
    .sidebar {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        padding-top: 135px;
        width: 300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #E7F3FD;
}

.sidebar::-webkit-scrollbar-thumb {
    /* background: #A3C7E4; */
    background: transparent;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #8BB8E0;
}

.sidebar {
    scrollbar-width: thin;
    /* scrollbar-color: #A3C7E4 #E7F3FD; */
    /* scrollbar-color: transparent #E7F3FD; */
    scrollbar-color:  rgb(0, 49, 86, 0.5) #E7F3FD;
}



.sidebar.open {
    transform: translateX(0);
}

.sidebar.closed {
    transform: translateX(-100%);
}

.reopen-sidebar {
    position: fixed;
    top: 175px; /* Ajuste a posição conforme necessário */
    left: 0; /* Ajuste a posição conforme necessário */
    background-color: #E7F3FD;
    color: #000;
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10; /* Certifique-se de que ele está acima de outros elementos */
    display: block; /* Inicialmente aparece */
}

.menu-content {
    padding: 0 20px 20px 20px;
}

@media (max-width: 1400px) {
    .menu-content {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 992px) {
    .menu-content {
        padding: 20px 10px 10px 10px;
    }
}

.menu-content .close {
    display: none;
}

@media (max-width: 992px) {
    .toggle-button {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .menu-content .close {
        display: flex;
        width: 100%;
        justify-content: flex-end;
        position: relative;
        top: 25px;
        right: 15px;
    }
}

.tabs-filters {
    display: flex;
    cursor: pointer;
    margin-bottom: 10px;
}

.tab-filters {
    /* padding: 10px 15px; */
    margin-right: 5px;
    background-color: #E7F3FD;
    font-size: 1.5em;
    font-weight: 500;
    
}

.tab-filters.active {
    color: #062B4C;
    /* border-bottom: 3px solid #92A7BA; */
}

.filter-select {
    margin-bottom: 15px;
}

.filter-select .filter-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
    margin: 15px 0;
}

.filter-header span {
    font-size: 1em;
    font-weight: 500;
    color: #000;
    min-width: 75px;
    width: auto;
    padding: 0 5px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.filter-header span:hover {
    color: #238F42;
    border-bottom: 2px solid #238F42;
}

.filter-header span.active {
    color: #238F42;
    border-bottom: 2px solid #238F42;
}

.filter-select h3 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 10px;
}

.custom-select {
    position: relative;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    min-height: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.arrow-icon {
    position: absolute;
    right: 10px; 
    font-size: 14px;
    color: #666;
    pointer-events: none; 
}

.custom-select span {
    display: block;
    color: #666;
}

select {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    padding-right: 20px;
    white-space: normal;
    word-wrap: break-word; /* Quebra palavras longas */
}

.selected-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
    z-index: 10;
    margin-right: 20px;
}

.badge {
    background-color: #238F42;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.badge .fa {
    margin-left: 5px;
    cursor: pointer;
}

.radio-group {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.radio-group label {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.7em;
}

.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-group .radio {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    border: 2px solid #ccc;
    background-color: white;
    border-radius: 50%;
}

.radio-group input[type="radio"]:checked + .radio {
    background-color: #238F42;
    border: 2px solid #238F42;
}

.radio-group input[type="radio"]:checked + .radio::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    width: 8px; 
    background-color: black;
    border-radius: 50%;
}

.custom-select input[type="date"] {
    border: none;
    width: 100%;
    height: 100%;
    background-color: transparent;
    cursor: pointer;
    font-size: 1em;
}

.styled-date-input {
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 10px;
    font-size: 1em;
    width: 100%;
    background-color: #E7F3FD;
    color: #000;
    cursor: pointer;
}

.styled-date-input:focus {
    outline: none;
}

/* Página de erro 404 */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 16px 40px;
}

.error-card {
    background-color: #ffffff;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); */
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    padding: 48px 32px;
    color: #1C2A3A;
}

.error-card h1 {
    font-size: 4rem;
    margin: 0 0 16px;
    color: #238F42;
}

.error-card p {
    font-size: 1.1rem;
    margin: 0 0 32px;
    line-height: 1.5;
}

.error-card .error-action {
    display: inline-block;
    padding: 12px 28px;
    background-color: #238F42;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.error-card .error-action:hover {
    background-color: #1a6f33;
}
