/* * {font-family: inherit; font-size: inherit;} */

:root {
    --cor-destaque: #062b4c;
    --cor-destaque-hover: #0b314e;
    --cor-marca: #238f42;
    --cor-marca-hover: #117246;
    --cor-fundo: #f5f7f8;
    --cor-texto: #0f172a;
    --cor-texto-claro: #334155;
    --cor-branco: #ffffff;
    --cor-borda: #e2e8f0;
    --fonte-principal: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
    border-bottom: none !important;
}

html,
body {
    font-size: inherit !important;
}

header *,
footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header a,
footer a {
    text-decoration: none;
}

header,
footer {
    font-family: var(--fonte-principal) !important;
}

header input {
    font-family: var(--fonte-principal) !important;
}

body {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

footer {
    width: 100%;
    flex-shrink: 0;
}

header a:link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

header a:visited {
    color: inherit;
}

header ul,
footer ul {
    list-style: none;
}

header button,
footer button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    height: inherit !important;
}

.conteiner-limite {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.cabecalho-principal {
    width: 100%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background-color: var(--cor-branco);
}

.barra-topo {
    background-color: var(--cor-destaque);
    color: var(--cor-branco);
    height: 85px;
    display: flex;
    align-items: center;
}

.barra-topo .conteiner-limite {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.acoes-usuario {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.botao-perfil-usuario-logado {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--cor-branco);
    font-weight: 600;
    font-size: 0.875rem;
}

.escondido {
    display: none !important;
}

.botao-perfil-usuario-deslogado {
    background-color: var(--cor-marca);
    color: var(--cor-branco);
    padding: 7px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-block;
    border: 1px solid transparent;
}

.botao-perfil-usuario-deslogado:hover {
    background-color: var(--cor-marca-hover);
    color: var(--cor-branco);
    text-decoration: none;
}

.botao-perfil-usuario-deslogado:active {
    transform: translateY(1px);
}

.avatar-circulo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: #00457A;
    font-size: 0.75rem;
}

.avatar-circulo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.barra-navegacao {
    background-color: var(--cor-marca);
    color: var(--cor-branco);
    min-height: 67px;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.barra-navegacao .conteiner-limite {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 23rem;
}

.itens-menu {
    display: flex;
    align-items: center;
    /* gap: 0.5rem; */
}

.item-navegacao {
    position: relative;
}

.link-navegacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.50rem;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.link-navegacao:hover,
.item-navegacao:hover .link-navegacao {
    color: var(--cor-branco);
    background-color: #399a55;
}

.link-navegacao i {
    font-size: 20px;
}

.menu-suspenso {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--cor-branco);
    color: var(--cor-texto);
    min-width: 250px;
    width: max-content;
    padding: 0;
    box-shadow: -5px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0.75rem 0.75rem;
    z-index: 1000;
    margin-top: 0;
}

.menu-suspenso:has(.item-com-submenu:hover) {
    border-bottom-right-radius: 0;
}

.item-navegacao:hover .menu-suspenso {
    display: block;
    animation: surgirSuave 0.2s ease-in-out;
}

.lista-suspensa {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 15px 0;
    position: relative;
}

.link-suspenso,
.link-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    margin: 2px 8px;
    border-radius: 6px;
    border-left: none;
}

.link-suspenso:hover,
.link-submenu:hover,
.item-com-submenu:hover>a {
    background-color: rgb(220 252 231);
}

.link-suspenso i,
.link-submenu i {
    font-size: 0.75rem;
    color: #999;
}

.submenu-lateral {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 280px;
    height: 100%;
    background-color: var(--cor-branco);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    border-left: none;
    border-radius: 0 0 0.75rem 0;
    padding: 0;
    z-index: 101;
    overflow-y: auto;
    /* height: auto; */
}

.submenu-lateral:has(.item-com-submenu:hover) {
    border-bottom-right-radius: 0;
}

.menu-suspenso:has(.item-com-submenu:hover)::before {
    content: "";
    position: absolute;
    left: 250px;
    width: 1px;
    background-color: #e0e0e0;
    height: 92%;
    top: 20px;
    transform: none;
    z-index: 1000;
}

/* .submenu-lateral {border-left: 1px solid #e0e0e0;} */

/* #subMenuSistema::before
{
    height: 1400px !important;
} */

/* .lista-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    background-color: #e0e0e0;
    height: 92%;
    top: 20px;
    transform: none;
    z-index: 5;
} */

.item-com-submenu:hover>.submenu-lateral {
    display: block;
    animation: surgirLateral 0.2s ease-in-out;
}

.cabecalho-submenu {
    padding: 20px 20px 10px 20px;
    margin-bottom: 5px;
}

.titulo-azul {
    color: #1e40af;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 0.1px solid #e0e0e0;
    display: block;
}

.lista-submenu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.link-submenu {
    color: #444;
}

.submenu-lateral.nivel-3 {
    z-index: 102;
}

.item-com-submenu {
    position: static;
}

.formulario-busca {
    display: flex;
    align-items: center;
    background-color: var(--cor-branco);
    border-radius: 0.375rem;
    height: 50px;
    width: 100%;
    max-width: 470px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.grupo-selecao-busca {
    position: relative;
    height: 100%;
    border-right: 1px solid var(--cor-borda);
}

.botao-selecao-busca {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    width: 160px;
    font-size: 0.875rem;
    color: var(--cor-texto);
}

.dropdown-busca {
    display: none;
    position: absolute;
    top: 95%;
    left: 0;
    width: 100%;
    background-color: var(--cor-branco);
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    overflow: hidden;
    border: 1px solid var(--cor-borda);
    border-top: none;
}

.dropdown-busca.mostrar {
    display: block;
    animation: surgirSuave 0.1s ease-out;
}

.dropdown-busca ul {
    padding: 0;
    margin: 0;
}

.dropdown-busca ul li button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.2s;
}

.dropdown-busca ul li:last-child button {
    border-bottom: none;
}

.dropdown-busca ul li button:hover {
    background-color: #e8f5e9;
    cursor: pointer;
}

.entrada-busca {
    flex: 1;
    border: none;
    height: 100%;
    padding: 0 1rem;
    font-size: 0.875rem;
    outline: none;
}

.botao-pesquisar {
    background-color: var(--cor-destaque);
    color: var(--cor-branco);
    height: 100%;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    transition: background-color 0.2s;
}

.botao-pesquisar:hover {
    background-color: var(--cor-destaque-hover);
}

#botaoAlternarBusca i {
    transition: transform 0.3s ease;
}

.seta-girada {
    transform: rotate(180deg);
}

.icone-check {
    font-size: 0.8rem;
    color: var(--cor-marca);
    opacity: 0;
    transition: opacity 0.2s;
}

.item-selecionado .icone-check {
    opacity: 1;
}

.item-selecionado span {
    font-weight: 500;
    color: var(--cor-texto);
}

/* CONTEUDO DA PÁGINA */

.conteudo-principal {
    margin: auto;
    padding: 25px;
    font-size: 10px !important;
    font-family: Verdana, Arial, Helvetica;
}

/* RODAPÉ DA PÁGINA */

.rodape-principal {
    background-color: var(--cor-destaque);
    color: var(--cor-branco);
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
}

.grid-rodape {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 3.5rem;
    width: 100%;
    padding-right: 8rem;
}

.coluna-logo-rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 3rem;
}

.logo-rodape {
    height: 55px;
    width: auto;
}

.imagem-invertida {
    filter: brightness(0) invert(1);
}

.coluna-info-rodape {
    display: flex;
    gap: 3rem;
    font-size: 1rem;
    line-height: 1.5;
    padding-right: 11rem;
}

.grupo-info-rodape p {
    margin-bottom: 0.25rem;
}

.fonte-media {
    font-weight: 500;
}

.padding-baixo-4 {
    padding-bottom: 1rem;
}

.padding-topo-4 {
    padding-top: 1rem;
}

.coluna-social-rodape {
    display: flex;
    flex-direction: column;
    align-self: start;
}

.titulo-social {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.lista-social {
    display: flex;
    gap: 1rem;
}

.lista-social a {
    color: initial !important;
}

.link-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--cor-branco);
    color: #0A2F4D;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.link-social:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.link-social i {
    font-size: 1rem;
}

.decoracao-rodape {
    pointer-events: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #4ade80, #047857);
    opacity: 0.8;
    filter: blur(0.5px);
}

.legal-rodape {
    margin-top: 2rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

.legal-rodape a {
    font-weight: bold !important;
    color: inherit !important;
    text-decoration: underline !important;
}

.legal-rodape a:hover {
    text-decoration: initial !important;
}

.acoes-usuario .relative {
    position: relative;
}

.menu-perfil-dropdown {
    display: none;
    position: absolute;
    top: 180%;
    right: 0;
    width: 376px;
    background-color: var(--cor-branco);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 200;
    color: var(--cor-texto);
    animation: surgirSuave 0.2s ease-in-out;
}

.menu-perfil-dropdown.mostrar {
    display: block;
}

.layout-perfil-interno {
    display: flex;
    gap: 20px;
    align-items: center;
}

.coluna-avatar {
    flex-shrink: 0;
}

.iniciais {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circulo img,
.avatar-gigante img {
    display: block;
}

.avatar-gigante {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background-color: #00457A;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.avatar-circulo:has(img:not([style*="display: none"])),
.avatar-gigante:has(img:not([style*="display: none"])) {
    background-color: initial;
}

.avatar-gigante img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.coluna-dados {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.coluna-dados a {
    border-bottom: 0;
}

.nome-usuario-destaque {
    color: rgb(15 23 42 / var(--tw-text-opacity, 1));
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 10px;
    line-height: 1.3;
    --tw-text-opacity: 1;
}

.menu-perfil-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-perfil {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    color: var(--cor-texto);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    border-radius: 4px;
    font-weight: 400;
}

.item-perfil:hover {
    background-color: transparent;
    color: #1e40af;
}

.item-perfil i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.submenu-perfil {
    display: none;
    background-color: transparent;
    border-left: none;
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.submenu-perfil.aberto {
    display: block;
}

.submenu-perfil li a {
    padding: 8px 10px 8px 20px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cor-texto-claro);
    display: block;
    text-decoration: none;
    transition: color 0.2s;
}

.submenu-perfil li a:hover {
    color: #1e40af;
    background-color: transparent;
}

.separador {
    height: 1px;
    background-color: var(--cor-borda);
    margin: 5px 0;
}

#setaDropDown {
    color: #777
}

.barra-navegacao-2 {
    width: 100%;
    /* max-width: 1440px; */
    display: flex;
    justify-content: flex-start;
    padding: 15px 0 5px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.barra-navegacao-2 A:visited {
    color: #000099;
    /* text-decoration: none; */
}

.barra-navegacao-2 A:hover {
    color: #0080f0;
    text-decoration: none;
    border-bottom: 0;
}

.btn-voltar-pagina {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cor-destaque);
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-voltar-pagina:hover {
    background-color: #f3f4f6;
    /* color: var(--cor-destaque-claro);
    transform: translateX(-3px);  */
}

.btn-voltar-pagina i {
    font-size: 1rem;
}

/* DOACAO_SANGUE */

.ui-dialog select,
.ui-dialog button {
    height: auto;
}

/* SETOR_MEDICINA2 */

.mainIndex {
    padding-left: initial !important;
    margin-top: initial !important;
}

/* FATURAMENTO */

.mb-6 input {
    padding: 12px;
}

.mb-6 label {
    font-size: 13px;
}

.container-fluid button {
    height: auto;
}

.col-md-2,
.col-md-6 {
    width: auto;
}

.gx-5 {
    gap: 5rem;
}

.row {
    display: contents !important;
}

.Lateral {
    display: flex !important;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1279px) {
    .barra-navegacao .conteiner-limite {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }

    .formulario-busca {
        max-width: 410px;
    }
}

@media screen and (max-width: 1300px) {
    .decoracao-rodape {
        display: none;
    }

    .grid-rodape {
        margin-left: initial;
        padding-right: initial;
        justify-content: center;
        gap: 4rem;
    }

    .coluna-info-rodape {
        padding-right: initial;
    }

    .coluna-logo-rodape {
        padding-right: initial;
    }

    .logo-rodape {
        height: 40px;
    }
}

@media screen and (min-width: 1280px) {
    .barra-navegacao .conteiner-limite {
        gap: initial;
    }
}

@media screen and (max-width: 1023px) {
    #botaoAlternarBusca {
        color: #777;
    }

    .itens-menu {
        display: none;
    }

    #dataAtual {
        display: none;
    }

    #botaoLogin {
        display: none;
    }

    #menuMobile {
        display: initial !important;
    }
}

@media screen and (max-width: 639px) {
    #nomeCompleto {
        display: none;
    }

    #textoSelecaoBusca {
        padding-right: 0.3rem;
    }

    .entrada-busca {
        min-width: 0;
        padding: 0 0.5rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .botao-selecao-busca {
        width: auto;
        padding: 0.5rem;
    }

    .formulario-busca {
        justify-content: center;
    }

    .grid-rodape {
        flex-direction: column;
        gap: 2rem;

    }

    .coluna-info-rodape {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .coluna-social-rodape {
        align-self: initial;
    }

    .logo-rodape {
        height: 60px;
    }
}