* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0a1f44, #0066cc);
}

/* CONTENEDOR */
.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* TARJETA */
.card {
    width: 400px;
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.1);
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: fadeUp 0.8s ease;
}

/* LOGO */
.logo img {
    width: 120px;
    margin-bottom: 20px;
}

/* TITULOS */
.card h2 {
    margin-bottom: 10px;
}

.card p {
    opacity: 0.8;
    margin-bottom: 25px;
}

/* INPUT */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #ccc;
}

.input-group input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    border-radius: 10px;
    border: none;
    outline: none;
}

/* BOTON */
button {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* BOTON DE ENLACE (ej. "Ir al inicio de sesión" tras un éxito) */
.btn-link {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition: 0.3s;
}

.btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* FOOTER */
.footer {
    margin-top: 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer a:hover {
    text-decoration: underline;
}

/* ANIMACION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}