/* Fondo animado */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #00aaff, #0044cc);
    overflow: hidden;
}

.overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, #0099ff, #001a66);
    animation: move 15s infinite linear;
    z-index: -1;
}

@keyframes move {
    0% { transform: translate(0,0); }
    50% { transform: translate(-30%, -30%); }
    100% { transform: translate(0,0); }
}

/* Tarjeta del formulario */
.form-container {
    background: #ffffffdd;
    padding: 35px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
    backdrop-filter: blur(8px);
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    width: 200px;
     height: auto;
      
}

.form-title {
    color: #003366;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Input animado */
input[type="text"] {
    width: 100%;
    padding: 13px 3px;
    border: 2px solid #7fbfff;
    border-radius: 20px;
    font-size: 1em;
    transition: border 0.4s, box-shadow 0.4s;
}

input[type="text"]:focus {
    border: 2px solid #0044cc;
    box-shadow: 0 0 12px rgba(0,68,204,0.4);
}

/* Botón animado */
button {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    background: #0055ee;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

button:hover {
    background: #003399;
    transform: scale(1.04);
}

/* Resultado animado */
.resultado-anim {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.6s, max-height 0.6s;
    margin-top: 22px;
    text-align: left;
    background: #f7faff;
    padding: 12px 15px;
    border-radius: 6px;
}

.resultado-anim.mostrar {
    opacity: 1;
    max-height: 300px;
}
.header {
    padding: 10px 0;   /* 👈 menos alto */
}




