* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f8;
    color: #333;
    line-height: 1.6; /* 🔹 melhora leitura */
}

header {
    background: #2563eb;
    color: white;
    padding: 20px;
    text-align: center;
}

main {
    max-width: 900px;
    margin: 20px auto;
    padding: 10px;
}

/* 🔵 Caixa de cadastro temporário */
.cadastro-box {
    background: #e0ecff;
    border: 2px solid #2563eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.cadastro-box h2 {
    margin-top: 0;
    color: #1e40af;
}

.cadastro-box button {
    background: #1e40af;
}

.cadastro-box button:hover {
    background: #1e3a8a;
}

form {
    background: white;
    padding: 25px; /* 🔹 mais respiro */
    border-radius: 8px;
    margin-bottom: 30px;
}

h2 {
    margin-top: 30px;
    color: #2563eb;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: border 0.2s ease;
}

/* 🔹 foco mais profissional */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border: 1px solid #2563eb;
}

button {
    margin-top: 30px;
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #1e40af;
}

/* 🔹 Resultado da evolução */
.resultado {
    margin-top: 30px;
}

textarea {
    height: 260px;
    padding: 15px;
    font-size: 15px;
    resize: none;
    border-radius: 8px;
    border: 1px solid #ccc;
    white-space: pre-line; /* 🔹 mantém formatação do Python */
}

/* 🔹 Checkbox alinhado corretamente */
input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
}

footer {
    background: #e5e7eb;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    margin-top: 40px;
}

/* 📱 RESPONSIVO */
@media (max-width: 600px) {

    main {
        margin: 10px;
    }

    form {
        padding: 15px;
    }

    textarea {
        height: 320px;
    }

    button {
        font-size: 15px;
        padding: 12px;
    }
}