﻿
/* Estilos gerais */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Cabeçalho */
.header {
    background-color: #D7F2FD;
    width: 100%;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.logo-header {
    height: 60px;
    width: auto;
    max-width: 100%;
}

/* Conteúdo principal */
.main-container {
    max-width: 1250px;
    margin: 30px auto;
    padding: 0 15px;
    flex: 1;
    width: 100%;
}

.form-step {
    display: none;
}

    .form-step.active {
        display: block;
    }

/* Estilos responsivos para a tabela */
.table-responsive-container {
    overflow-x: auto;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
}

.beneficiarios-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

    .beneficiarios-table th,
    .beneficiarios-table td {
        padding: 12px 8px;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
    }

    .beneficiarios-table th {
        background-color: #f8f9fa;
        font-weight: 600;
    }

.btn-container {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Rodapé */
.footer {
    background-color: #D7F2FD;
    width: 100%;
    padding: 20px 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo-footer {
    height: 30px;
    width: auto;
    max-width: 100%;
}

/* Botões especiais */
.btn-finalizar {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

    .btn-finalizar:hover {
        background-color: #218838;
        border-color: #1e7e34;
    }

.btn-remover {
    color: #dc3545;
    background: none;
    border: none;
    padding: 0 5px;
}

    .btn-remover:hover {
        color: #bb2d3b;
    }

.fa-trash-can {
    pointer-events: none;
}

.btn-editar {
    color: black;
    background: none;
    border: none;
    padding: 0 5px;
}

    .btn-editar:hover {
        color: black;
    }

.bi bi-pencil-square {
    pointer-events: none;
}

/* Container do formulário de beneficiário */
.form-beneficiario-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

/* Ajuste para os botões do formulário de beneficiário */
.form-beneficiario-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .header-container,
    .footer-container,
    .main-container {
        padding: 0 10px;
    }

    .form-control,
    .form-select {
        font-size: 16px;
    }

    .btn-container,
    .form-beneficiario-buttons {
        flex-direction: column;
        gap: 8px;
    }

        .btn-container button,
        .form-beneficiario-buttons button {
            width: 100%;
        }

    .beneficiarios-table th,
    .beneficiarios-table td {
        padding: 8px 5px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.5rem;
    }

    .form-step {
        padding: 0 5px;
    }

    .logo-header {
        height: 50px;
    }

    .logo-footer {
        height: 25px;
    }
}

/* Novo estilo para o texto de parceria */
.texto-parceria {
    margin-right: 10px;
    font-size: 14px;
    color: #333;
}

@media (max-width: 576px) {
    .texto-parceria {
        font-size: 12px;
        margin-right: 8px;
    }
}

/* Novo estilo para o indicador de etapas */
.etapa-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.etapa-titulo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.etapa-titulo-plano {
    font-size: 1.6rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 10px;
}

.etapa-subtitulo {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.etapa-progresso {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 20px;
}

    .etapa-progresso::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #e9ecef;
        z-index: 1;
        transform: translateY(-50%);
    }

.etapa-ponto {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #D7F2FD;
    border: 2px solid #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

    .etapa-ponto.ativo {
        background-color: #3498db;
        color: white;
    }

    .etapa-ponto.concluido {
        background-color: #2ecc71;
        border-color: #2ecc71;
        color: white;
    }

.etapa-nome {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.etapa-ponto.ativo .etapa-nome,
.etapa-ponto.concluido .etapa-nome {
    color: #2c3e50;
    font-weight: 500;
}

@media (max-width: 768px) {
    .etapa-titulo {
        font-size: 1.3rem;
    }
    .etapa-titulo-plano {
        font-size: 1.3rem;
    }

    .etapa-ponto {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .etapa-nome {
        font-size: 0.7rem;
        top: 30px;
    }
}

@media (max-width: 576px) {
    .etapa-progresso {
        margin-top: 15px;
    }

    .etapa-titulo {
        font-size: 1.2rem;
    }

    .etapa-titulo-plano {
        font-size: 1.2rem;
    }

    .etapa-subtitulo {
        font-size: 0.8rem;
    }
}

