/* Login: encabezado de la caja con el logo nuevo y, en pantallas anchas, logo + frase al costado y la caja a la derecha */
.lg-cab { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 22px; }
.lg-cab img { width: 62px; height: auto; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .28)); }
.lg-nombre { font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif; font-weight: 800; font-size: clamp(34px, 5vw, 46px); color: #fff; letter-spacing: -.03em; line-height: 1; }
.lg-sub { font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif; font-size: 10px; letter-spacing: .26em; color: #c9d7f5; font-weight: 500; margin-top: 6px; }
@media (min-width: 1200px) {
    .mensaje-superior { display: none; }
    .containerLogin { margin-left: 50%; width: 50%; justify-content: center; padding: 0; min-height: 100vh; box-sizing: border-box; }
    .login-content { max-width: 460px; }
}

/* Pie del login (fuera de la caja) */
.copyright.lg-pie { margin: 14px auto 18px; padding: 0 16px; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); color: #e6ecff; }
.copyright.lg-pie span { color: #fff; }
@media (min-width: 1200px) {
    .copyright.lg-pie { position: fixed; left: 0; right: 0; bottom: 0; width: auto; margin: 0; padding: 22px 16px 12px; text-align: center; font-size: 12px; background: linear-gradient(to bottom, rgba(2, 12, 50, 0), rgba(2, 12, 50, .6)); pointer-events: none; }
    .copyright.lg-pie a { pointer-events: auto; }
    .copyright.lg-pie br { display: none; }
    .copyright.lg-pie a:first-of-type::before { content: "·"; margin: 0 10px; text-decoration: none; display: inline-block; }
}
.copyright.lg-pie span { font-size: inherit; }

/* ===== Login diseño A: caja blanca, botón azul, puntos fuertes a la izquierda ===== */
.login-content { background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 22px; padding: 42px 44px 34px; box-shadow: 0 24px 60px rgba(2, 12, 50, .45); text-align: left; max-width: 530px; }
.lg-tit h2 { margin: 0; font-size: 30px; font-weight: 800; color: #0f172a; letter-spacing: -.02em; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif; }
.lg-tit p { margin: 6px 0 26px; font-size: 14.5px; color: #64748b; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif; }
.login-content .input-div { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: none; min-height: 54px; padding: 0 18px; margin: 0 0 14px; }
.login-content .input-div:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.login-content .input-div input.input { font-size: 15px; }
.login-content .btnLogin { width: 100%; height: 54px; padding: 0; border-radius: 14px; background: linear-gradient(180deg, #2f6df6, #1d4ed8); box-shadow: 0 8px 20px rgba(37, 99, 235, .4); font-size: 16px; font-weight: 800; margin-top: 8px; }
.login-content .btnLogin:hover { background: linear-gradient(180deg, #2a64e6, #1a44c0); }
.login-content .login-enlaces { margin: 16px 2px 0; }
.login-content .login-enlaces a { color: #2563eb; }
.login-content .features-inside-login { display: none; }
.login-content .login-ok, .login-content .login-error { margin-bottom: 12px; }
.rg-mf-puntos { display: none; }
@media (min-width: 1200px) {
    .rg-mf-puntos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 34px; max-width: 720px; }
    .rg-mf-puntos > div { display: flex; gap: 12px; align-items: center; }
    .rg-mf-puntos span { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; color: #fff; font-size: 15px; }
    .rg-mf-puntos p { margin: 0; }
    .rg-mf-puntos b { display: block; font-size: 15px; color: #fff; }
    .rg-mf-puntos small { display: block; font-size: 12.5px; color: #c9d7f5; margin-top: 1px; }
    body.rg-con-marca::before { content: ""; position: fixed; right: 5vw; top: 15vh; width: 34vw; height: 70vh; border-radius: 50%; background: radial-gradient(circle, rgba(90, 160, 255, .4), transparent 65%); z-index: -1; pointer-events: none; }
}

/* ===== LOGIN CELULAR: logo y frase arriba, caja, puntos fuertes y pie ===== */
@media (max-width: 1199.98px) {
    body.rg-con-marca:not(.rg-con-fondo) { height: auto; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 30px 16px 14px; box-sizing: border-box; overflow-x: hidden; }
    body.rg-con-marca:not(.rg-con-fondo) .mensaje-superior { display: none; }
    body.rg-con-marca:not(.rg-con-fondo) .rg-mf-movil { display: contents; }
    body.rg-con-marca:not(.rg-con-fondo) .rg-mfm-top { display: flex; flex-direction: column; align-items: center; order: 1; width: 100%; color: #fff; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif; }
    .rg-mfm-fila { display: flex; align-items: center; gap: 10px; }
    .rg-mfm-fila img { width: 54px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .28)); }
    .rg-mfm-fila b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
    .rg-mfm-sub { font-size: 10.5px; letter-spacing: .26em; color: #c9d7f5; margin-top: 6px; text-align: center; }
    body.rg-con-marca:not(.rg-con-fondo) .rg-mfm-frase { order: 2; margin: 14px 0 18px; font-size: 15px; }
    body.rg-con-marca:not(.rg-con-fondo) .containerLogin { order: 3; width: 100%; max-width: 420px; margin: 0; padding: 0; min-height: 0; }
    body.rg-con-marca:not(.rg-con-fondo) .login-content { width: 100%; max-width: 420px; padding: 24px 20px 22px; box-sizing: border-box; }
    body.rg-con-marca:not(.rg-con-fondo) .lg-tit h2 { font-size: 24px; }
    body.rg-con-marca:not(.rg-con-fondo) .lg-tit p { margin: 4px 0 18px; font-size: 13.5px; }
    body.rg-con-marca:not(.rg-con-fondo) .rg-mfm-g { order: 4; width: 100%; margin-top: 22px; color: #fff; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif; }
    body.rg-con-marca:not(.rg-con-fondo) .rg-mfm-frase { color: #eaf1ff; font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif; }
    body.rg-con-marca:not(.rg-con-fondo) .copyright.lg-pie { order: 5; margin: 18px auto 0; }
}
@media (max-width: 359px) { body.rg-con-marca:not(.rg-con-fondo) .lg-tit h2 { font-size: 21px; } .rg-mfm-fila b { font-size: 34px; } }
