/* ==========================================================================
   FORMULARIOS DE AUTENTICACIÓN (LOGIN & REGISTRO) - MONDELINN
   ========================================================================== */

.mondelinn-auth-wrapper { 
    max-width: 420px; 
    margin: 80px auto; 
    padding: 0 20px; 
    font-family: system-ui, sans-serif; 
}

.mondelinn-auth-card { 
    background: #ffffff; 
    padding: 40px; 
    border-radius: 24px; 
    border: 1px solid rgba(102, 126, 234, 0.1); 
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.06); 
}

.mondelinn-auth-card h2 { 
    margin: 0 0 8px 0; 
    color: #11141a; 
    font-size: 26px; 
    text-align: center; 
    font-weight: 700; 
}

.auth-subtitle { 
    color: #64748b; 
    font-size: 14px; 
    text-align: center; 
    margin-bottom: 30px; 
}

.auth-field { 
    margin-bottom: 22px; 
}

.auth-field label { 
    display: block; 
    font-size: 13px; 
    font-weight: 600; 
    color: #11141a; 
    margin-bottom: 6px; 
}

.label-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.inside-link, 
.back-to-login-btn { 
    font-size: 12px; 
    color: #667eea; 
    text-decoration: none; 
    font-weight: 500; 
}

.inside-link:hover, 
.back-to-login-btn:hover { 
    text-decoration: underline; 
}

.password-input-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
}

.auth-field input { 
    width: 100%; 
    padding: 12px 16px; 
    border: 1px solid #e2e8f0; 
    border-radius: 10px; 
    font-size: 14px; 
    background: #fafafa; 
    box-sizing: border-box; 
    transition: all 0.3s; 
}

.auth-field input:focus { 
    border-color: #667eea; 
    outline: none; 
    background: #fff; 
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); 
}

/* --------------------------------------------------------------------------
   BOTÓN DEL OJO (CONTROL DE SVGs)
   -------------------------------------------------------------------------- */
.eye-btn { 
    position: absolute; 
    right: 12px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px; 
    color: #64748b; 
}

/* SOLUCIÓN: Los clicks atraviesan las capas del dibujo e impactan directo en el botón */
.eye-btn svg, 
.eye-btn path {
    pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   BOTONES Y ALERTAS
   -------------------------------------------------------------------------- */
.mondelinn-btn-submit { 
    width: 100%; 
    padding: 14px; 
    background: #11141a; 
    color: #fff; 
    border: none; 
    border-radius: 10px; 
    font-weight: 600; 
    font-size: 14px; 
    cursor: pointer; 
    transition: all 0.3s; 
    margin-top: 10px; 
}

.mondelinn-btn-submit:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
}

.auth-msg-box { 
    padding: 12px; 
    border-radius: 10px; 
    font-size: 13px; 
    display: none; 
    text-align: center; 
    margin-bottom: 20px; 
    font-weight: 500; 
}

.auth-msg-box.error { 
    background: #fee2e2; 
    color: #991b1b; 
    display: block; 
    border: 1px solid #fca5a5; 
}

.auth-msg-box.success { 
    background: #dcfce7; 
    color: #166534; 
    display: block; 
    border: 1px solid #86efac; 
}

.auth-footer-text { 
    text-align: center; 
    margin-top: 25px; 
    font-size: 14px; 
    color: #64748b; 
    margin-bottom: 0; 
}

.auth-footer-text a { 
    color: #667eea; 
    font-weight: 600; 
    text-decoration: none; 
}

.auth-footer-text a:hover { 
    text-decoration: underline; 
}

.back-to-login-btn { 
    display: block; 
    text-align: center; 
    margin-top: 20px; 
    font-size: 13px; 
}