* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

/* FONDO GENERAL */
body {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("../img/portada12.jpg") center / cover no-repeat;
}

/* CENTRADO TOTAL */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* TARJETA */
.login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255,255,255,0.97);
    border-radius: 22px;
    padding: 45px 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    animation: fadeIn 0.6s ease;
}

/* HEADER */
.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    color: #f13f7d;
    font-size: 2rem;
    margin-bottom: 5px;
}

.login-header p {
    font-size: 0.95rem;
    color: #666;
}

/* FORM */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CAMPOS */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
}

.field input {
    width: 100%;
    padding: 16px 18px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1.5px solid #ccc;
    transition: 0.25s ease;
}

.field input:focus {
    border-color: #f13f7d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(241,63,125,0.2);
}

/* BOTÓN PRINCIPAL */
.btn-primary {
    margin-top: 10px;
    padding: 16px;
    background: #f13f7d;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #d92f67;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* BOTÓN SECUNDARIO */
.btn-secondary {
    display: block;
    margin-top: 25px;
    text-align: center;
    padding: 14px;
    background: #999;
    color: white;
    border-radius: 14px;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.25s;
}

.btn-secondary:hover {
    background: #777;
}

/* ANIMACIÓN */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .login-card {
        padding: 35px 25px;
    }

    .login-header h1 {
        font-size: 1.7rem;
    }
}


