@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

:root{
    --verde: #e0f1c9;
    --verde-200: #D1EAAC;
    --verde-escuro: #6fc01e;
    --verde-800: #8af81c;
    --verde-900: #33491E;
    --verde-claro: #8af81c;
    --azul-gov: #005CA9;
    --texto: #2C3E50;
    --cinza: #95A5A6;
    --cinza-claro: #DFE4E4;
    --vermelho: #ff000d;
    --azul-claro: #DFEFFF;
    --azul-gov-50: #F0F7FF;
    --amarelo-50: #FFFAEB;
    --amarelo-900: #792F0E;
}
*{
    font-family: 'Mulish', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    color: var(--texto);
    margin: none;
    text-decoration: none;
}
body{
    padding: 4.75rem 1rem 1rem 1rem;
    height: 100dvh;
}
.select-container{
    display: flex;
    width: 100%;
    position: relative;
}
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
}
.select-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 18px;   /* Width of your custom arrow image */
    height: 18px;  /* Height of your custom arrow image */
    background: url('../images/dropdown-arrow.svg') no-repeat center center;
    pointer-events: none;
    transform: translateY(-50%);
}
.select-container-blue::after {
    background: url('../images/dropdown-arrow-blue.svg') no-repeat center center;
}
.logo-bg{
    position: fixed;
    top: 20dvh;
    right: 0;
    transform: translateX(50%);
    height: 90vh;
    width: auto;
    max-width: 200%;
    z-index: -1; /* Ensure watermark stays behind the content */
    pointer-events: none;
}
header{
    width: 100dvw;
    height: 3.75rem;
    margin: auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    background-color: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0px 3px 5px 0px rgba(9, 36, 61, 0.15);
    z-index: 10;
    color: var(--texto);
    font-size: 12px;
    padding-right: 50px;
    padding-left: 25px;
}
header button{
    width: fit-content;
    cursor: pointer;
    background: none;
    border: none;
}
.current-page-header{
    font-weight: 700;
}
header a{
    display: flex;
    height: 100%;
    align-items: center;
}
header a img{
    height: 50%;
}
.red-box{
    position: absolute;
    right: 0;
    width: 20px;
    height: 100%;
    background-color: var(--vermelho);
}
.green-box{
    position: absolute;
    right: 25px;
    width: 8px;
    height: 100%;
    background-color: var(--verde);
}
.header-links{
    display: none;
    align-items: center;
    gap: 3rem;
}
.sair-container-header{
    display: flex;
    align-items: center;
    justify-content: center;
}
select{
    background-color: #FFF;
}
.header-menu-button{
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-links-menu{
    display: none;
    background-color: #FFF;
    width: 100dvw;
    height: fit-content;
    box-shadow: 0px 3px 5px 0px rgba(9, 36, 61, 0.15);
    flex-direction: column;
    padding: .95rem;
    position: fixed;
    top: 3.75rem;
    left: 0;
    z-index: 11;
    gap: 10px;

}
.header-links-menu a{
    display: flex;
    width: 100%;
    color: var(--azul-gov);
    padding: 10px 12px;
    font-size: 14px;
}
.menu-header h3{
    color: var(--texto);
    font-size: 18px;
}
.menu-header a{
    width: 34px;
}
.menu-header{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px 10px 5px;
    border-bottom: 1px solid var(--cinza-claro);
}
@media (min-width: 720px) {
    .red-box{
        position: absolute;
        right: 0;
        width: 45px;
        height: 100%;
        background-color: var(--vermelho);
    }
    .green-box{
        position: absolute;
        right: 55px;
        width: 15px;
        height: 100%;
        background-color: var(--verde);
    }
    .header-links{
        display: flex;
    }
    body{
        padding: 7.25rem 3rem 3rem 3rem;
    }
    header{
        padding-left: 15%;
        padding-right: 85px;
        justify-content: space-between;
        flex-direction: row;
        height: 5rem;
        font-size: 14px;
    }
    .header-menu-button{
        display: none;
    }
}


















/* Estilo básico do modal */
.modal-background {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 11; /* Sit on top */
    left: 0;
    top: 0;
    padding: 0 1rem;
    width: 100dvw; /* Full width */
    height: 100dvh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    backdrop-filter: blur(2px);
    align-content:center;
    justify-content:center;
}

.modal-conteudo {
    background-color: #FFF;
    margin: none;
    border-radius: 20px;
    width: 90dvw;
    max-width: 380px;
    padding: 10px;
    margin: auto;
    z-index: 12;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between; /* Aligns children to each side */
    align-items: center; /* Vertically centers the content in the header */
    position: relative;
    padding: 10px 15px 15px 15px;
    height:fit-content;
    gap:10px;
    margin:0;
    border-bottom: 1px solid var(--cinza-claro);
}



/* Mostrar o modal quando #modalHistorico está no URL */
#modalHistorico:target {
    display: block;
}
