/* auth.css */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    min-height: 520px; /* 👈 CLAVE */
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.auth-card input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    font-size: 15px;
}

.auth-card input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.auth-card button{
    width:100%;
}

.auth-card a{
    font-size:14px;
}

.auth-footer,
.auth-card a {
    display: block;
    margin-top: 20px;
    text-align: center;
}

/* ===== FIX DEFINITIVO LOGO ===== */

.brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}



/* =========================
   MOBILE OPTIMIZADO REAL
========================= */

@media (max-width: 480px) {

    .auth-wrapper {
        padding: 0;
        align-items: flex-start;
    }

    .auth-card {
        max-width: 100%;
        min-height: auto;
        border-radius: 0;
        box-shadow: none;
        padding: 30px 20px;
    }

    .auth-card h1 {
        font-size: 20px;
    }

    .brand-logo {
        width: 70px;
        height: 70px;
    }
}