/* Página de Projetos */

/* Container dos cards com layout em grid responsivo */
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Estilo base do card usando Bootstrap */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    height: 535px;
}

/* Efeito de destaque ao passar o mouse */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
    color: #00284E;
    font-size: 20px;
    margin: 0 auto;
    border-radius: 1.5rem;
}

/* Imagem do card */
.card img {
    width: 100%;
    height: auto;
    border-top-left-radius: 0.375rem; /* Bootstrap border-radius */
    border-top-right-radius: 0.375rem;
}

/* Categoria */
.card .card-subtitle {
    font-size: 0.875rem;
    color: #6c757d; /* cor de texto secundária do Bootstrap */
    margin-top: 0.5rem;
}

/* Nome do item */
.card .card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.25rem;
    line-height: 30px;
}


.projeto .projeto_programa{
    font-size: 16px;
}
.projeto .projeto_item {
    border-radius: 1.5rem;
    height: 450px;
    overflow: auto;
}
.projeto .projeto_desc {
    border-radius: 1.5rem;
    color: #00284E;
    font-size: 20px;
    width: 90%;
    margin: 0 auto;
}
.projetos a {
    display: block;
}

.area_atuacao, .area_busca {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.area_filtro {
    margin-top: 1.5rem;
}

.busca-descricao {
    color: #858585; 
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: left;
    padding-top: 5px;
    padding-left: 2px;
}

.busca {
    /* width: 80%; */
    margin: 0 auto;
    background: transparent;
    border: 1px solid #bbb;
    border-radius: 0.4rem;
    padding: 6px;
}
.busca .input-group-text {
    display: flex;
    height: 100%;
    background: transparent;
    border: none;
}
.busca input{
    border: none;
    background: transparent;
    min-height: calc(1.5em + 1rem + 2px);
    padding: .5rem 1rem;
    font-size: 1rem;
}
.busca button{
    padding: 1rem 4rem;
}
.btn{
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}
#toggleFilters{
    font-weight: 600;
    width: 100%;
    height: 64px;
}
#toggleFilters.btn-primary{
    background-color: #E3E9FF;
    color: #446dff;
}
#toggleFilters.btn-outline-primary {
    border: 1px solid #446dff;
    background: transparent;
    color: #446dff;
}
.filter-buttons .row {
    margin: 0 auto;
    padding: 1rem;
    box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 1px 4px 5px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 4px 5px 2px rgba(0,0,0,0.4);
    border-radius: 0.4rem;
    line-height: 1.2rem;
    font-size: 18px;
}
input::placeholder {
    font-size: 1rem;
    letter-spacing: 1px;
}
.form-control:focus {
    background-color: transparent;
}
.filters-projeto .filter .btn-group-vertical {
    width: 100%;
}
.filters-projeto{
    margin-top: 1.5rem;
}
.filters-projeto .filter{
    margin: 2rem 0;
}
.filters-projeto .filter .btn{
    border-bottom: 1px solid #ccc;
}
.filters-projeto .filter .ativo{
    color: #446dff;
}
.filtro-area-btn {
    background-color: #fff;
    color: #00284E;
    cursor: pointer;
    border-radius: 0.4rem;
    border-color: transparent;
}
.filtro-area-btn.ativo {
    background-color: #E3E9FF;
    color: #446dff;
    font-weight: 600;
}
.imagem_area_detalhe_projeto {
    max-height: 450px;
    overflow: hidden;
}
.imagem_detalhe_projeto{
    display: block;
    width: 100%;
    border-radius: 2rem;
}





#filterSidebar {
    transition: all 0.3s ease;
}

#filterSidebar.hidden {
    display: none !important;
}
.programa-tags {
    color: #00284E
}















.titulo-campo {
    opacity: 0.7;
}
.arquivos_projeto .form-control {
    display: flex;
    align-items: center;
    justify-content: start;
    color: #446dff;
    font-weight: 600;
    font-size: 0.95rem;
}
.arquivos_projeto .input-group-text{
    color: #fff;
    font-size: 20px;
    padding: 12px 14px;
}

.fa-check {
    color: #446dff;
    margin-right: 15px;
}

.steps-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.step {
    position: relative;
    background-color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-right: 20px;
    color: #00284E;
}

/* Triângulo apontando para a próxima etapa */
.step:not(.last)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid #fff;
}

/* Último item não tem seta */
.step.last {
    margin-right: 0;
}

.rounded-circle {
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #446dff;
    color: #fff;
    font-weight: 300;
}
.etapa_titulo {
    color: #446dff;
    font-weight: 600;
    font-size: 19px;
}
.etapa_descricao {
    opacity: 0.7;
}
.money-mask {
    text-align: right;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.money-mask::placeholder {
    text-align: left;
    font-weight: normal;
    letter-spacing: normal;
}
form {
    padding-top: 50px;
    /* border: 1px solid red; */
}
/* #sp-component .sp-column {
    background: url('/images/backgrounds/background_projetos.svg') no-repeat bottom left;
    background-size: contain;  
    background-position: -150px center; 
} */
.bg-elipse-projetos {
    position: absolute;
    top: 1300px; /* distancia 300px do topo do container relativo */
    bottom: 0;
    left: 0;
    z-index: -1; /* atrás do conteúdo */
    left: -120px;
}
.border-layer{
    position: relative;
    border: 1px solid red;
    padding-bottom: 20px;
    background: #f4fafef0;
}
.view-repositorioprojetos #sp-main-body {
    background-image: url("../../../../../images/backgrounds/background_projetos.svg");
    background-position: 0 350px;
    background-size: 50%;
    background-repeat: no-repeat;
}
#adminFormProjetos{
    position: relative;
    z-index: 10;
}