/* Fondo con degradado */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Contenedor principal */
.container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 360px;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* Animación de aparición */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo del formulario */
.input-group {
    text-align: left;
    margin-bottom: 12px;
}

.input-group label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Botón principal */
button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    background: #3498db;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

button:hover {
    background: #2980b9;
}

/* Sección de resultados */
#resultado {
    margin-top: 20px;
    padding: 15px;
    background: #ecf0f1;
    border-radius: 10px;
    text-align: left;
}

.hidden {
    display: none;
}

