/* Fundo geral */
body {
    font-family: Arial, sans-serif;
    background: #e9f5ff;
    padding: 20px;
    color: #222;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Container principal */
.container {
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* Título */
.container h1 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #003366;
}

/* Campo de entrada + botão (alinhados lado a lado) */
.form-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Input */
input[type="number"] {
    padding: 10px 15px;
    width: 250px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    border-color: #007BFF;
    outline: none;
}

/* Botão */
button {
    padding: 10px 18px;
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Painel de estatísticas e resultados */
.painel {
    margin-top: 20px;
    text-align: left;
}

/* Tabela de resultados */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 15px;
}

thead {
    background: #007BFF;
    color: white;
}

th, td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 5px 0;
}
