body {
    font-family: 'Roboto', sans-serif;
    background-color: #eef1f5;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #1f3a5f;
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
}

header p {
    margin: 10px 0 20px 0;
    font-size: 1.1em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.header-actions button {
    background-color: #4a90e2;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-actions button:hover {
    background-color: #357bd8;
}

main {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    display: grid;
    gap: 30px;
}

.analise-section {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
}

.analise-section:hover {
    transform: translateY(-5px);
}

h2 {
    color: #1f3a5f;
    border-bottom: 2px solid #eef1f5;
    padding-bottom: 15px;
    margin-top: 0;
    font-size: 1.8em;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
}

button {
    background-color: #4a90e2;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

button:hover {
    background-color: #357bd8;
}

.choice-buttons, .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.choice-buttons button, .action-buttons button {
    width: 100%;
    border-radius: 50px;
}

.resultado, .summary, .recommendations {
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    border-left: 6px solid;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.summary {
    background-color: #f8f9fa;
    border-left-color: #6c757d;
}

.resultado.seguro {
    background-color: #eaf7ea;
    border-left-color: #28a745;
}

.resultado.atencao {
    background-color: #fff3cd;
    border-left-color: #ffc107;
}

.resultado.perigo {
    background-color: #f8d7da;
    border-left-color: #dc3545;
}

.resultado h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.resultado p {
    margin: 0;
}

.recommendations {
    background-color: #e2f3f5;
    border-left-color: #17a2b8;
}

.recommendations h4 {
    margin-top: 0;
    color: #0c5460;
    font-size: 1.2em;
    font-weight: 600;
}

.recommendations ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.recommendations li {
    margin-bottom: 8px;
}

.hidden {
    display: none;
}

footer {
    width: 100%;
    background-color: #1f3a5f;
    color: #ddd;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    padding: 20px 0; /* Ajustado para remover padding lateral */
}

/* Novo contêiner para o conteúdo do rodapé */
.footer-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
}

.close-btn:hover, .close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

ol {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .choice-buttons, .action-buttons {
        flex-direction: row;
    }
    .choice-buttons button, .action-buttons button {
        flex: 1;
    }
}