/*----------------------------------------*/

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    margin-bottom: 5px !important;
}

h2 {
    color: #0a5f55;
    font-family: "Trebuchet MS";
    font-weight: normal;
    text-align: center;
}

.lista-prestadores {
    background-color: #f4f6fa;
    padding: 1rem;
    border-radius: 10px;
}

.detalhe-prestador {
    background-color: #f4f6fa;
    padding: 1rem;
    border-radius: 10px;
}

.titulo-busca-principal {
    color: #2e5794;
    font-family: "Trebuchet MS";
    font-weight: normal;
    text-align: center;
    font-size: 1.8rem;
}

.titulo-busca-desc {
    padding-top: 5px;
    color: #2f486e;
    font-family: "Trebuchet MS";
    font-weight: normal;
    text-align: center;
    font-size: 1.2rem;
}

.titulo-busca {
    color: #2e5794;
    font-family: "Trebuchet MS";
    font-weight: normal;
    text-align: left;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.func-4-title {
    color: #2e5794;
    font-family: "Trebuchet MS";
    font-weight: normal;
    text-align: left;
    font-size: 1.5rem;
}

/* FORM GUIA */
footer span {
    background-color: transparent !important;
    margin-left: 0 !important;
}

/*FORMULARIO GUIA MÉDICO GEOLOCALIZAÇÃO!*/
/*para deixar o titulo e a seta de voltar lado a lado!*/
/* Estilos gerais */
.dashboard-container .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.titulo-busca-rede h1 {
    font-size: 2rem;
    margin: 0;
    color: rgb(52, 50, 50);
    font-weight: bold;

}

.seta-voltar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seta-voltar label {
    cursor: pointer;
    font-weight: 600;
    color: #2e5794;
}

.seta-voltar img {
    width: 24px;
    height: auto;
    margin-top: -10px;
}

hr.linha {
    margin: 10px 345px;
}

/*TITULO NOVA BUSCA*/

.titulo-nova-busca h1 {
    display: flex;
    margin: 0;
    color: rgb(52, 50, 50);
    font-weight: bold;
    margin-top: 22px;
}


/*titulos abas especialidade e nome containers*/

.dashboard-busca {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    flex-wrap: wrap;
}

/*formulario e abas*/
.container-formulario {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: #fefcfcad;
    padding: 20px;
    border-radius: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);

}

/* Resultados */
.container-resultados {
    flex: 2;
    max-width: 50%;
    height: auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}


/* Botões das abas */
.container-form-titulo-abas {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}


.tab-btn {
    padding: 10px 20px;
    background-color: #f4f6fa;
    width: 300px;
    border: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    /* Transição suave para hover */
    z-index: 2;
    /* fica acima da linha */
}


/* Estilo para o botão de aba ativo */
.tab-btn.active {
    background-color: #f7f7f7;
    /* Cor de fundo quando ativo */
    color: #0013bc;
    /* Cor do texto quando ativo */
    border-top: 1px solid #0013bc;
    /* Borda superior */
    border-left: 1px solid #0013bc;
    /* Borda esquerda */
    border-right: 1px solid #0013bc;
    /* Borda direita */
    border-bottom: none;
    /* Sem borda inferior */
    border-radius: 12px 12px 0 0;
    /* Mantém o arredondamento no topo */
    z-index: 3;
    /* mantém acima da linha */
}

.active-line {
    position: absolute;
    top: 0;
    height: 3px;
    background-color: #0013bc;
    z-index: 1;
    /* fica por baixo dos botões */
    border-radius: 3px 0 0 3px;
    transition: left 0.3s ease, width 0.3s ease;
    border: 4px solid #0013bc;
}

.tab-btn:hover {
    background-color: #fcfcfc;
    color: rgb(40, 47, 255);
}


/* Conteúdos das abas */
.content {
    display: none;
}

.content.show {
    display: block;
}

.container-formulario-abas form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/*CONTAINER ABAIXAR APP*/
.container-abaixar-app {
    display: flex;
    flex-direction: column;
    background-color: #f4f6fa;
    margin-top: 43px;
    max-height: 7.5rem;
    /*8.5*/
    border-radius: 8px;
}

.container-images-app {
    display: flex;
    flex-direction: column;
    margin-top: -53px;

}

/*titulo abaixar app*/
.titulo-instalar-app h6 {
    color: black;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    /* margin: 1rem 3rem; */
    margin-left: 2rem;
    margin-top: 1rem;

}

.container-images-app {
    display: flex;
    flex-direction: column;
    /* margin: 0px 25px; */
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: -18px;
    margin-left: 2rem;
}

.titulo-plano,
.titulo-localizacao,
.titulo-prestador,
.titulo-especialidade,
.select-estado,
.titulo-plano-aba-nome,
.titulo-nome-aba-nome {
    color: rgb(5, 5, 5);
}

.menu-expansivel {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.aba-expansivel {
    flex: 1;
    border: 1px solid #2E5794;
    background: #2E5794;
    color: #fff;
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.aba-expansivel.active {
    background: #fff;
    color: #2E5794;
}

.aba-conteudo {
    max-height: 20dvh;   /* altura visível máxima */
    overflow-y: auto;    /* adiciona rolagem vertical */
    padding-right: 10px; /* evita que o scroll tape o conteúdo */
    display: none;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    background: #f9f9f9;
}

/* ===== Scroll limitado para os resultados ===== */
.aba-conteudo.show {
    display: block;
}

.aba-conteudo ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.aba-conteudo li {
    margin-bottom: 5px;
}



#aba-especialidade select {
    border-radius: 8px;
    height: 42px;
}

/*ABA NOME SELECT PLANO*/
#aba-nome select {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 5px;
    height: 40px;
    width: 415px;
    margin-bottom: 18px;
}

/*INPUT NOME ABA NOME*/
#nome-aba-nome {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 5px;
    height: 40px;
    width: 415px;
    margin-bottom: 18px;
    border: 1px solid black;
}

#aba-nome button {
    width: 410px;
    background-color: #2e5794;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.acao-detalhe {
    /* width: 410px; */
    padding: 0.5rem;
    background-color: #f4f6fa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #2e5794;
}

/* ===== Scroll limitado para os resultados ===== */
.lista-prestadores {
  max-height: 40vw;   /* altura visível máxima */
  overflow-y: auto;    /* adiciona rolagem vertical */
  padding-right: 10px; /* evita que o scroll tape o conteúdo */
}

/* personaliza a barra de rolagem para ficar mais leve */
.lista-prestadores::-webkit-scrollbar {
  width: 8px;
}

.lista-prestadores::-webkit-scrollbar-thumb {
  background: #2e5794;
  border-radius: 10px;
}

.lista-prestadores::-webkit-scrollbar-thumb:hover {
  background: #4c78b1;
}


.btn-voltar {
    /* width: 410px; */
    background-color: #2e5794;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
}

/*ARRUMANDO TITULO ESTDAO SELECT*/
.select-estado {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}


/*CAMPOS SELECT LOCALIZAÇÃO MANUAL ESTADOCIDADE E BAIRRO*/
/* Container dos selects de localização */
.container-localizacao {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

/* Select de Localização e Estado (ficam lado a lado) */
.container-localizacao select {
    flex: 1;
    min-width: 180px;
}

.select-localizacao-menor {
    flex: 0 0 60%;
}

.select-estado-lado {
    flex: 0 0 38%;
}

.titulo-cidade {
    display: flex;
    flex-direction: column;
}

/* Container para cidade e bairro (lado a lado) */
.container-cidade {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.container-cidade select {
    flex: 1;
    min-width: 27.5rem;
    margin-inline: 62px;
    flex-direction: column;
    margin-left: -2px;
}


/* Força os selects da localização a ocuparem 100% quando são únicos */
.container-localizacao>div {
    flex: 1 1 100%;
}

.container-localizacao select {
    width: 100%;
}


button[type="submit"] {
    padding: 8px 12px;
    background-color: #2e5794;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}