body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f4f4f4;
}

#go_back_dashboard {
    background-color: #00746C;
    padding: 10px 15px 10px 10px;
    position: fixed; 
    text-decoration: none;
    color: #ffffff;
    border-radius: 30px 30px 30px 30px;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}


#go_back_dashboard:hover {
  transform: translateX(-4px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
   background-color: #1A5B4C;
}

#go_back_dashboard:active {
  transform: translateX(-2px) scale(0.98);
}

#pesquisar {
    width:100%;
    max-width: 300px;
    border-radius: 10px 10px;
    padding: 0.5%;
}

#pesquisar::placeholder {
    text-align: center;
}

#pesquisar:focus {
    border-color: #0d6efd;
    box-shadow:
        0 0 8px rgba(13, 110, 253, 0.35),
        0 0 16px rgba(13, 110, 253, 0.15);
    transform: scale(1.02);
}

#pesquisar:hover {
    border-color: #00746C;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
    cursor: text;
}
#pesquisa_btn {
    margin-left: 0.3%;
    background-color: #007C77;
    color: antiquewhite;
    border-radius: 10px 10px;
    font-size: 1rem;
    padding:8px;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

#pesquisa_btn:hover {
    transform: scale(1.05);
    
}

#infoPesquisa{
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 25px auto 15px;
    font-size: 17px;
    color: #444;
}

#infoPesquisa strong{
    color: #007C77;
}

#sem_resultados{
    grid-column: 1 / -1;      /* Ocupa as 3 colunas do grid */
    display: flex;
    flex-direction: column;   /* Coloca os elementos na vertical */
    align-items: center;      /* Centra-os horizontalmente */
    margin: 20px 0;
}

#sem_unidades{
    color: red;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

#resetPesquisa{
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all .25s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

#resetPesquisa:hover{
    background-color: #bb2d3b;
    transform: rotate(-90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

#erro_carregar_dados {
    text-align: center;
    color: red;
}

#legendaReset{
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-align: center;
}

#titulo_hospital {
    font-size: 20px;
}
.box-search { 
    display: flex;
    justify-content: center;
    gap: 0.1%;

}
#dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:1rem;

    
}

.card{

    width: 300px;

    margin: 0 auto;

    background:white;

    border-radius:10px;

    box-shadow:0 2px 10px rgba(0,0,0,.15);

    transition:.3s;
    
}

.imagens_us {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;

}

#unidade_nome {
    text-align: center;
}
.card-body {
  padding: 20px;
    
}



.card:hover{

    transform:translateY(-5px);

    box-shadow:0 5px 20px rgba(0,0,0,.25);

}

/* Container da paginação */
#paginacao{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* Botões */
#paginacao button{
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    background: #ffffff;
    color: #0f1111;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

/* Hover */
#paginacao button:hover:not(:disabled){
    background: #007C77;
    color: white;
    border-color: #007C77;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* Página ativa */
#paginacao button.ativo{
    background: #007C77;
    color: white;
    border-color: #007C77;
    font-weight: bold;
}

/* Botões desativados */
#paginacao button:disabled{
    background: #f3f3f3;
    color: #999;
    cursor: not-allowed;
    opacity: .7;
}

/* Os "..." */
#paginacao span{
    padding: 0 6px;
    font-size: 18px;
    font-weight: bold;
    color: #666;
}


