/* ==== ESTILOS GLOBALES ==== */
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(circle at 20% 20%, #0d0d1a, #050510);
    color: #e0e0f0;
    margin: 0;
    padding: 40px;
    line-height: 1.5;
}

h1, h2 {
    text-align: center;
    color: #7ad7ff;
    text-shadow: 0 0 10px #7ad7ff55;
}

h1 {
    font-size: 2.2em;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.5em;
    margin-top: 40px;
    border-bottom: 1px solid #7ad7ff33;
    padding-bottom: 5px;
}

/* ==== FORMULARIOS ==== */
form {
    background: #111122;
    border: 1px solid #7ad7ff33;
    padding: 20px;
    border-radius: 16px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 0 20px #00000055;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

form:hover {
    transform: scale(1.01);
    box-shadow: 0 0 25px #7ad7ff33;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #a8c7ff;
}

input, select, textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #7ad7ff33;
    background: #0c0c1a;
    color: #e0e0ff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.95em;
}

input:focus, select:focus, textarea:focus {
    border-color: #7ad7ff;
    box-shadow: 0 0 8px #7ad7ff77;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

button {
    display: block;
    margin: 20px auto 0 auto;
    background: linear-gradient(90deg, #00b4ff, #0077ff);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: linear-gradient(90deg, #00d4ff, #3399ff);
    transform: translateY(-2px);
    box-shadow: 0 0 15px #00b4ff55;
}

/* ==== RESULTADO ==== */
.resultado {
    text-align: center;
    font-size: 1.3em;
    margin-top: 30px;
    padding: 15px;
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: #0c0c1a;
    border: 1px solid #7ad7ff33;
}

.feliz {
    color: #5eff85;
    text-shadow: 0 0 10px #5eff8580;
}

.triste {
    color: #ff5e5e;
    text-shadow: 0 0 10px #ff5e5e80;
}

/* ==== FORMULARIO REDUCIDO ==== */
#form-reducido input {
    margin-bottom: 8px;
}

::placeholder {
    color: #9999cc;
    opacity: 0.8;
}

/* ==== RESPONSIVO ==== */
@media (max-width: 600px) {
    body {
    padding: 20px;
    }
    form {
    padding: 15px;
    }
}