/* ======== ESTILOS GENERALES ======== */
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #081c44 0%, #020b1f 100%);
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

/* ======== LOGO SUPERIOR ======== */
.logo {
    position: absolute;
    top: 25px;
    left: 35px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 35px;
    filter: brightness(1.8);
}

.logo span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ======== CONTENEDOR PRINCIPAL ======== */
.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    width: 90%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-in-out;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

p {
    font-size: 14px;
    color: #bfc9e6;
    margin-bottom: 25px;
}

/* ======== FORMULARIO ======== */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    width: 371px;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px #00b2ff;
}

/* ======== BOTÓN ======== */
button {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #00b2ff, #0072ff);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00b2ff;
}

/* ======== ENLACE DE VOLVER ======== */
.volver {
    margin-top: 20px;
}

.volver a {
    text-decoration: none;
    color: #bfc9e6;
    font-size: 13px;
    transition: color 0.3s;
}

.volver a:hover {
    color: #00b2ff;
}

/* ======== ANIMACIÓN ======== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
