body {
    background: linear-gradient(135deg, #e3f0ff 0%, #b3d8ff 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

form {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(60, 120, 200, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 320px;
}

form p {
    margin: 0 0 4px 0;
    font-weight: 500;
    color: #3c78c8;
    font-size: 1.1rem;
}

input[type="text"],
input[type="number"] {
    padding: 10px;
    border: 1px solid #b3d8ff;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    background: #f6fbff;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #3c78c8;
}

input[type="submit"],
button[type="reset"] {
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 8px;
}

input[type="submit"] {
    background: #3c78c8;
    color: #fff;
    box-shadow: 0 2px 8px rgba(60, 120, 200, 0.10);
}

input[type="submit"]:hover {
    background: #2456a6;
}

button[type="reset"] {
    background: #B0C4DE;
    color: #3c78c8;
    margin-left: 8px;
}

button[type="reset"]:hover {
    background: #A2B5CD;
}

#resultado {
    margin-top: 12px;
    padding: 10px;
    background: #f6fbff;
    border-radius: 8px;
    color: #2456a6;
    font-size: 1.1rem;
    box-shadow: 0 1px 4px rgba(60, 120, 200, 0.07);
    text-align: center;
    min-height: 32px;    
}