body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #ffffff; /* Branco */
    color: #c9151b; /* Vermelho TEAM10 */
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid #ccc; /* Adiciona uma linha divisória */
}

main {
    padding: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 2rem;
}

h2 {
    color: #c9151b; /* Vermelho TEAM10 */
    border-bottom: 2px solid #c9151b; /* Vermelho TEAM10 */
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

button {
    background-color: #c9151b; /* Vermelho TEAM10 */
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 0.5rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #a31216; /* Vermelho TEAM10 mais escuro para hover */
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #ffffff; /* Branco */
    color: #c9151b; /* Vermelho TEAM10 */
    font-size: 0.9rem;
}

/* Estilos do Modal */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed; /* Fica fixo na tela */
    z-index: 1000; /* Fica sobre outros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Habilita scroll se necessário */
    background-color: rgba(0,0,0,0.6); /* Fundo escurecido */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Necessário para centralização com display flex no pai */
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    position: relative; /* Para posicionar o botão de fechar */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#user-name {
    width: calc(100% - 40px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#submit-name {
    background-color: #5cb85c; /* Verde para confirmação */
}

#submit-name:hover {
    background-color: #4cae4c;
}

/* Classe para exibir o modal usando Flexbox */
.modal.show {
    display: flex;
}

/* Estilo para esconder a seção de teste inicialmente */
#test-content {
    display: none;
}

/* Additional styles for tests */
.button-container {
    text-align: center;
    margin-top: 1rem;
}

.button-container button {
    margin: 0.5rem;
}

.question-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.question-box legend {
    font-weight: bold;
    color: #c9151b; /* Vermelho TEAM10 */
    margin-bottom: 10px;
    padding: 0 5px;
}

.question-box label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.question-box input[type="radio"] {
    margin-right: 10px;
}

.question-box input[type="number"] {
    width: 60px;
    padding: 5px;
    margin-left: 10px;
    text-align: center;
}

.cultural-question {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.cultural-question:last-child {
    border-bottom: none;
}

.cultural-question h4 {
    margin-bottom: 5px;
    color: #333; /* Reset color for cultural question titles */
    border-bottom: none; /* Remove border from h4 inside cultural questions */
}

.cultural-question p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
}

#cultural-points-left {
    font-weight: bold;
}

.results-actions button {
    margin: 5px;
}

.chart-container {
    max-width: 400px;
    margin: 20px auto;
}

#behavioral-report-content h3,
#cultural-report-content h3 {
    text-align: center;
    color: #c9151b; /* Vermelho TEAM10 */
    margin-bottom: 15px;
}

#behavioral-text-report ul,
#cultural-text-report ul {
    list-style: disc;
    margin-left: 20px;
}

#behavioral-text-report h4,
#cultural-text-report h4 {
    color: #333; /* Reset color */
    border-bottom: none; /* Remove border */
    margin-top: 15px;
}

.modal-buttons {
    margin-top: 20px;
    text-align: center;
}

.modal-buttons button {
    margin: 0 10px;
}

button.secondary {
    background-color: #aaa;
}

button.secondary:hover {
    background-color: #888;
}

.call-to-action {
    margin-top: 30px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-align: center;
}

.call-to-action a {
    color: #c9151b; /* Vermelho TEAM10 */
    font-weight: bold;
}

/* Remove display:none from previous implementation */
#test-content {
    /* display: none; */ /* This section is no longer used */
}

/* Hide user info initially */
#user-info-display {
    display: none;
}



/* Social Share Buttons Styling */
#social-share-buttons button {
    padding: 0.6rem 1rem; /* Slightly smaller padding */
    font-size: 0.9rem;
    margin: 5px 3px;
}

#share-facebook {
    background-color: #3b5998; /* Facebook Blue */
}
#share-facebook:hover {
    background-color: #2d4373;
}

#share-twitter {
    background-color: #1DA1F2; /* Twitter Blue */
}
#share-twitter:hover {
    background-color: #0c85d0;
}

#share-linkedin {
    background-color: #0077b5; /* LinkedIn Blue */
}
#share-linkedin:hover {
    background-color: #005582;
}

/* Next Steps Section Styling */
#next-steps-section h3 {
    color: #c9151b; /* TEAM10 Red */
    font-size: 1.4em; /* Larger font size for emphasis */
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#next-steps-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

#next-steps-section ul li {
    margin-bottom: 8px;
}

#next-steps-section p a {
    color: #c9151b; /* TEAM10 Red */
    font-weight: bold;
    text-decoration: none;
}

#next-steps-section p a:hover {
    text-decoration: underline;
}




#cultural-points-feedback {
    font-size: 1.1em;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#cultural-points-feedback.points-ok {
    background-color: #e6ffe6; /* Light green */
    color: #006400; /* Dark green */
    border: 1px solid #90ee90; /* Light green border */
}

#cultural-points-feedback.points-warning {
    background-color: #fffacd; /* Lemon chiffon */
    color: #b8860b; /* Darkgoldenrod */
    border: 1px solid #ffd700; /* Gold border */
}

#cultural-points-feedback.points-error {
    background-color: #ffe4e1; /* Misty rose */
    color: #dc143c; /* Crimson */
    border: 1px solid #ffb6c1; /* Light pink border */
}

#cultural-points-feedback.points-done {
    background-color: #d3d3d3; /* Light grey */
    color: #333;
    border: 1px solid #a9a9a9; /* Dark grey border */
}
