/* Estilos Gerais do Contêiner do Formulário */
.maturity-scan-container {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Cabeçalho */
.maturity-scan-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

.maturity-scan-header p {
    font-size: 1rem;
    color: #4b5563;
    text-align: center;
    margin-top: 0.5rem;
}

/* Barra de Progresso */
.progress-bar-container {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 10px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.progress-bar-fill {
    height: 100%;
    background-color: #3b82f6;
    border-radius: 9999px;
    width: 0%;
    transition: width 0.4s ease-in-out;
}

/* Estilos das Etapas (Steps) */
.form-step {
    display: none; /* Esconde todas as etapas por padrão */
}
.form-step.active {
    display: block; /* Mostra apenas a etapa ativa */
}

/* Títulos das Seções */
.form-step h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d1d5db;
    padding-bottom: 0.5rem;
}

/* Grupo de Perguntas */
.question-group {
    margin-bottom: 2rem;
}

.question-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 1rem;
}

/* Opções de Resposta (Radio) */
.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-group div {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-group div:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.option-group input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 1rem; /* Espaçamento entre o radio e o texto */
    accent-color: #3b82f6;
}

/* Campos de Texto */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

/* Botões de Navegação */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}
.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
}
.btn-secondary:hover {
    background-color: #d1d5db;
}

/* Seção de Resultados */
#results-section {
    padding: 2rem;
    background-color: #ffffff;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
}
#results-section h2 {
    color: #111827;
    font-size: 2rem;
}

.score-display {
    text-align: center;
    margin: 2rem 0;
}

.score-display p {
    font-size: 1.25rem;
    color: #374151;
}

.score-display span {
    font-size: 4rem;
    font-weight: 800;
    color: #1f2937;
}

.level-description {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.level-description h3 {
    font-size: 1.5rem;
}
/* Cores do nível de maturidade */
.level-Ótimo { color: #16a34a; }
.level-Bom { color: #facc15; }
.level-Regular { color: #f97316; }
.level-Crítico { color: #ef4444; }

.charts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .charts-container {
        grid-template-columns: 1fr;
    }
}
