body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #4a4a4a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

h1 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 2.2rem;
    text-align: center;
}

p {
    max-width: 600px;
    text-align: center;
    margin-bottom: 40px;
    color: #6c757d;
    font-size: 1.1rem;
}

form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    min-width: 200px;
    color: #495057;
}

input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

button {
    padding: 12px 25px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

button:active {
    transform: translateY(0);
}

#resultado {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

#resultado h3 {
    margin: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 8px;
    color: #555;
    display: flex;
    align-items: center;
}

#resultado h3:last-child {
    border-bottom: none;
}
