/* ============================================================
   VANSYSTEMS — LOGIN
   CSS completo, limpio y responsive
   ============================================================ */

:root {
    --login-bg: #070b12;
    --login-bg-soft: #0b111a;
    --login-surface: #101722;
    --login-surface-2: #141d29;

    --login-border: rgba(255, 255, 255, .085);

    --login-text: #f4f7fb;
    --login-text-soft: #9ca9b8;
    --login-text-muted: #6f7d8d;

    --login-blue: #0095ff;
    --login-blue-light: #35adff;
    --login-blue-dark: #0077d4;

    --login-danger: #ff6675;
    --login-success: #31d39b;
}

/* ============================================================
   RESET
   ============================================================ */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body.login-page {
    min-height: 100vh;
    background: var(--login-bg);
    color: var(--login-text);

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   ESTRUCTURA PRINCIPAL — DESKTOP
   ============================================================ */

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(480px, .92fr);
}

/* ============================================================
   PANEL IZQUIERDO — BRANDING
   ============================================================ */

.login-brand-panel {
    position: relative;
    overflow: hidden;
    min-height: 100vh;

    border-right: 1px solid var(--login-border);

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(0, 149, 255, .10),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(0, 149, 255, .045),
            transparent 30%
        ),
        var(--login-bg);
}

.brand-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.brand-grid {
    position: absolute;
    inset: 0;
    opacity: .16;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );
}

.brand-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.brand-orb-one {
    width: 420px;
    height: 420px;
    top: 7%;
    right: -220px;

    border: 1px solid rgba(0, 149, 255, .11);

    box-shadow:
        0 0 100px rgba(0, 149, 255, .04),
        inset 0 0 80px rgba(0, 149, 255, .025);
}

.brand-orb-two {
    width: 260px;
    height: 260px;
    bottom: 5%;
    left: -150px;

    border: 1px solid rgba(255, 255, 255, .035);
}

.brand-line {
    position: absolute;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 149, 255, .18),
            transparent
        );

    transform: rotate(-35deg);
    opacity: .7;
}

.brand-line-one {
    width: 600px;
    right: -230px;
    top: 28%;
}

.brand-line-two {
    width: 450px;
    left: -220px;
    bottom: 30%;
}

.brand-dot {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: rgba(0, 149, 255, .35);

    box-shadow:
        0 0 12px rgba(0, 149, 255, .25);
}

.brand-dot-1 { top: 13%; left: 10%; }
.brand-dot-2 { top: 18%; left: 14%; }
.brand-dot-3 { top: 23%; right: 12%; }
.brand-dot-4 { bottom: 24%; right: 16%; }

/* ============================================================
   CONTENIDO BRANDING
   ============================================================ */

.brand-content {
    position: relative;
    z-index: 2;

    width: min(620px, 100%);
    min-height: 100vh;

    margin: 0 auto;

    padding:
        42px
        clamp(40px, 6vw, 90px)
        34px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============================================================
   LOGO
   ============================================================ */

.brand-visual {
    position: relative;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    margin-bottom: 18px;
}

.logo-glow {
    position: absolute;

    width: 260px;
    height: 190px;

    left: 50%;
    top: 25px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(0, 149, 255, .16) 0%,
            rgba(0, 149, 255, .07) 32%,
            transparent 72%
        );

    filter: blur(15px);
    opacity: .85;

    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: .70;
    }

    50% {
        transform: translateX(-50%) scale(1.08);
        opacity: .95;
    }
}

.login-brand-logo-wrapper {
    position: relative;
    z-index: 4;

    width: 330px;
    height: 245px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.login-brand-logo {
    position: relative;
    z-index: 3;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 18px 30px rgba(0, 0, 0, .45))
        drop-shadow(0 0 18px rgba(0, 149, 255, .12));

    /* EL EFECTO FLOTANTE FUE ELIMINADO */
    animation: none;

    transition: filter .3s ease, transform .3s ease;
}

.login-brand-logo:hover {
    transform: scale(1.025);

    filter:
        drop-shadow(0 22px 38px rgba(0, 0, 0, .5))
        drop-shadow(0 0 25px rgba(0, 149, 255, .20));
}

/* ============================================================
   BARRIDO DE LUZ — SOLO SOBRE EL PNG
   ============================================================ */

.logo-light-sweep {
    position: absolute;
    z-index: 6;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            105deg,
            transparent 0%,
            transparent 38%,
            rgba(255, 255, 255, .08) 43%,
            rgba(255, 255, 255, .85) 50%,
            rgba(0, 174, 255, .55) 56%,
            transparent 63%,
            transparent 100%
        );

    background-size: 300% 100%;
    background-position: -100% center;
    background-repeat: no-repeat;

    filter: blur(1px);
    opacity: 0;

    -webkit-mask-image: var(--logo-mask);
    mask-image: var(--logo-mask);

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    animation: logoLightSweep 5.5s ease-in-out infinite;
}

@keyframes logoLightSweep {
    0% {
        background-position: -100% center;
        opacity: 0;
    }

    8% {
        background-position: -100% center;
        opacity: 0;
    }

    18% {
        opacity: .65;
    }

    42% {
        background-position: 100% center;
        opacity: .65;
    }

    50% {
        background-position: 200% center;
        opacity: 0;
    }

    100% {
        background-position: 200% center;
        opacity: 0;
    }
}

/* ============================================================
   PEDESTAL
   ============================================================ */

.logo-platform {
    position: absolute;
    z-index: 2;

    bottom: 3px;

    width: 310px;
    height: 42px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 149, 255, .30),
            rgba(0, 149, 255, .08) 38%,
            rgba(0, 0, 0, .30) 70%
        );

    border: 1px solid rgba(0, 149, 255, .20);

    box-shadow:
        0 18px 30px rgba(0, 0, 0, .45),
        0 0 25px rgba(0, 149, 255, .08),
        inset 0 1px 0 rgba(255, 255, 255, .08);

    transform:
        perspective(300px)
        rotateX(58deg);
}

.platform-light {
    position: absolute;

    width: 45%;
    height: 10px;

    left: 27.5%;
    top: 13px;

    border-radius: 50%;

    background: rgba(0, 157, 255, .55);

    filter: blur(8px);
}

.platform-ring {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    border: 1px solid rgba(0, 149, 255, .28);
}

.platform-ring-one {
    width: 85%;
    height: 65%;
    top: 7px;
}

.platform-ring-two {
    width: 110%;
    height: 85%;
    top: 3px;
    opacity: .65;
}

/* ============================================================
   TEXTO BRANDING
   ============================================================ */

.brand-copy {
    position: relative;
    z-index: 3;
}

.brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 8px;

    color: var(--login-blue-light);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.status-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    border-radius: 50%;

    background: var(--login-blue);

    box-shadow:
        0 0 0 4px rgba(0, 149, 255, .08),
        0 0 10px rgba(0, 149, 255, .35);
}

.brand-copy h1 {
    max-width: 560px;

    margin: 0 0 7px;

    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 700;
}

.brand-copy h1 span {
    display: inline;
    color: var(--login-blue-light);
}

.brand-description {
    max-width: 490px;

    margin: 0;

    color: var(--login-text-soft);

    font-size: 13px;
    line-height: 1.55;
}

/* ============================================================
   BENEFICIOS
   ============================================================ */

.feature-list {
    margin-top: 18px;

    display: grid;
    gap: 5px;
}

.feature-item {
    width: min(500px, 100%);

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 7px 9px;

    border: 1px solid transparent;
    border-radius: 9px;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.feature-item:hover {
    border-color: var(--login-border);
    background: rgba(255, 255, 255, .022);
    transform: translateX(2px);
}

.feature-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 149, 255, .14);
    border-radius: 8px;

    background: rgba(0, 149, 255, .055);
    color: var(--login-blue-light);

    font-size: 14px;
}

.feature-item strong,
.feature-item small {
    display: block;
}

.feature-item strong {
    margin-bottom: 1px;
    color: var(--login-text);
    font-size: 11px;
    font-weight: 600;
}

.feature-item small {
    color: var(--login-text-muted);
    font-size: 10px;
}

/* ============================================================
   SEGURIDAD
   ============================================================ */

.brand-security {
    width: min(500px, 100%);

    display: flex;
    align-items: center;

    gap: 11px;

    margin-top: 18px;
    padding: 9px 12px;

    border: 1px solid rgba(0, 149, 255, .25);
    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 149, 255, .055),
            rgba(0, 149, 255, .018)
        );

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .15);
}

.brand-security-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--login-blue-light);

    background: rgba(0, 149, 255, .08);
    border: 1px solid rgba(0, 149, 255, .18);

    font-size: 17px;
}

.brand-security-content strong {
    display: block;
    margin-bottom: 2px;

    color: var(--login-text);
    font-size: 11px;
}

.brand-security-content span {
    display: block;
    color: var(--login-text-muted);
    font-size: 9px;
}

/* ============================================================
   FOOTER BRANDING
   ============================================================ */

.brand-footer {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 15px;

    color: var(--login-text-muted);
    font-size: 9px;
}

.brand-footer i {
    margin-right: 4px;
    color: var(--login-blue-light);
}

.brand-separator {
    width: 3px;
    height: 3px;

    border-radius: 50%;
    background: var(--login-text-muted);
}

/* ============================================================
   PANEL DERECHO — LOGIN
   ============================================================ */

.login-form-panel {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        45px
        clamp(28px, 5vw, 85px);

    background: var(--login-bg-soft);
}

.login-card {
    width: min(100%, 455px);

    animation: loginAppear .55s ease both;
}

@keyframes loginAppear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   HEADER LOGIN
   ============================================================ */

.login-card-header {
    margin-bottom: 20px;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 18px;
    padding: 7px 10px;

    border: 1px solid rgba(0, 149, 255, .14);
    border-radius: 999px;

    background: rgba(0, 149, 255, .055);
    color: var(--login-blue-light);

    font-size: 11px;
    font-weight: 600;
}

.login-card-header h2 {
    margin: 0;

    color: var(--login-text);

    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 700;
}

.login-card-header p {
    max-width: 390px;

    margin: 10px 0 0;

    color: var(--login-text-soft);

    font-size: 13px;
    line-height: 1.7;
}

/* Logo exclusivo para móvil */
.mobile-logo-wrap {
    display: none;
}

.mobile-logo {
    display: block;
    width: 170px;
    height: 110px;
    object-fit: contain;

    filter:
        drop-shadow(0 12px 24px rgba(0, 0, 0, .42))
        drop-shadow(0 0 18px rgba(0, 149, 255, .12));
}

/* ============================================================
   ESTADO DEL SISTEMA
   ============================================================ */

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;

    width: max-content;
    max-width: 100%;

    margin-bottom: 22px;
    padding: 7px 10px;

    border: 1px solid rgba(49, 211, 155, .12);
    border-radius: 999px;

    background: rgba(49, 211, 155, .035);
    color: #91cdb7;

    font-size: 10px;
}

.system-status-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    border-radius: 50%;

    background: var(--login-success);

    box-shadow:
        0 0 0 3px rgba(49, 211, 155, .09);
}

.system-status-check {
    color: var(--login-success);
}

/* ============================================================
   ALERTA / ÉXITO
   ============================================================ */

.login-alert {
    display: flex;
    gap: 12px;

    margin-bottom: 22px;
    padding: 13px;

    border: 1px solid rgba(255, 102, 117, .18);
    border-radius: 12px;

    background: rgba(255, 102, 117, .055);
}

.login-alert-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255, 102, 117, .10);
    color: var(--login-danger);
}

.login-alert strong {
    display: block;
    margin: 1px 0 4px;

    color: #ffd5d9;
    font-size: 12px;
}

.login-alert p {
    margin: 0;

    color: #aeb7c2;
    font-size: 11px;
    line-height: 1.55;
}

.login-success {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 22px;
    padding: 12px 13px;

    border: 1px solid rgba(49, 211, 155, .18);
    border-radius: 12px;

    background: rgba(49, 211, 155, .05);
    color: #9ae8ca;

    font-size: 12px;
}

.login-success i {
    color: var(--login-success);
}

/* ============================================================
   FORMULARIO
   ============================================================ */

.login-form {
    display: grid;
    gap: 18px;
}

.login-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--login-text);

    font-size: 12px;
    font-weight: 600;
}

/* ============================================================
   INPUTS
   ============================================================ */

.input-wrap {
    position: relative;

    display: flex;
    align-items: center;

    border: 1px solid var(--login-border);
    border-radius: 11px;

    background: var(--login-surface);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.input-wrap:focus-within {
    border-color: var(--login-blue);

    background: var(--login-surface-2);

    box-shadow:
        0 0 0 3px rgba(0, 149, 255, .09);
}

.input-wrap.input-error {
    border-color: rgba(255, 102, 117, .55);
}

.input-icon {
    position: absolute;
    left: 15px;

    color: var(--login-text-muted);
    font-size: 15px;

    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    height: 49px;

    padding:
        0
        46px
        0
        43px;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--login-text);

    font-size: 13px;
}

.input-wrap input::placeholder {
    color: #5f6d7c;
}

.password-toggle {
    position: absolute;
    right: 8px;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: var(--login-text-muted);

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    background: rgba(255, 255, 255, .055);
    color: var(--login-text);
    outline: none;
}

/* ============================================================
   OPCIONES
   ============================================================ */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
    margin-top: -2px;
}

.remember-control {
    position: relative;

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--login-text-soft);
    font-size: 11px;

    cursor: pointer;
    user-select: none;
}

.remember-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox {
    width: 16px;
    height: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--login-border);
    border-radius: 4px;

    background: var(--login-surface);
    color: #fff;

    font-size: 10px;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.remember-control input:checked + .custom-checkbox {
    border-color: var(--login-blue);
    background: var(--login-blue);
}

.remember-control input:focus-visible + .custom-checkbox {
    outline: 3px solid rgba(0, 149, 255, .14);
}

.forgot-link {
    color: var(--login-blue-light);
    text-decoration: none;

    font-size: 11px;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* ============================================================
   BOTÓN LOGIN
   ============================================================ */

.login-submit {
    width: 100%;
    height: 49px;

    margin-top: 1px;

    border: 1px solid rgba(53, 173, 255, .35);
    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            var(--login-blue-light),
            var(--login-blue-dark)
        );

    color: #fff;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 10px 28px rgba(0, 119, 212, .16);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.login-submit:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 13px 34px rgba(0, 119, 212, .24);
}

.login-submit:active:not(:disabled) {
    transform: translateY(0);
}

.login-submit:focus-visible {
    outline: 3px solid rgba(0, 149, 255, .20);
    outline-offset: 2px;
}

.login-submit:disabled {
    opacity: .72;
    cursor: wait;
}

.login-submit-content,
.login-loading {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-spinner {
    width: 15px;
    height: 15px;

    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;

    border-radius: 50%;

    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   AYUDA / REDES
   ============================================================ */

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;

    margin:
        27px 0
        19px;

    color: var(--login-text-muted);

    font-size: 10px;
    white-space: nowrap;
}

.login-divider::before,
.login-divider::after {
    content: "";

    height: 1px;
    flex: 1;

    background: var(--login-border);
}

.support-section {
    text-align: center;
}

.support-title {
    margin: 0 0 13px;

    color: var(--login-text-soft);
    font-size: 11px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
}

.social-link {
    min-height: 35px;

    display: inline-flex;
    align-items: center;

    gap: 7px;
    padding: 0 12px;

    border: 1px solid var(--login-border);
    border-radius: 9px;

    background: rgba(255, 255, 255, .02);
    color: var(--login-text-soft);

    text-decoration: none;

    font-size: 11px;
    font-weight: 500;

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.social-link:hover,
.social-link:focus-visible {
    border-color: rgba(0, 149, 255, .28);

    background: rgba(0, 149, 255, .05);
    color: var(--login-text);

    transform: translateY(-1px);

    outline: none;
}

.social-link i {
    font-size: 14px;
}

.social-link.whatsapp i {
    color: #28d466;
}

/* ============================================================
   FOOTER LOGIN
   ============================================================ */

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;
    margin-top: 30px;

    color: var(--login-text-muted);

    font-size: 9px;
    text-align: center;
}

.footer-dot {
    opacity: .5;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {
    .login-shell {
        grid-template-columns:
            minmax(0, .95fr)
            minmax(430px, 1.05fr);
    }

    .brand-content {
        padding-left: 35px;
        padding-right: 35px;
    }

    .brand-visual {
        height: 275px;
    }

    .login-brand-logo-wrapper {
        width: 285px;
        height: 220px;
    }

    .logo-platform {
        width: 270px;
    }

    .brand-copy h1 {
        font-size: 32px;
    }
}

/* ============================================================
   MOBILE
   ============================================================

   En móvil:
   - Se elimina completamente el panel izquierdo.
   - Se muestra solamente el panel derecho.
   - El logo se coloca arriba del formulario.
   - No hay una línea divisoria entre logo y formulario.
   - Todo utiliza el mismo fondo para parecer una sola pantalla.
   ============================================================ */

@media (max-width: 820px) {

    html,
    body {
        min-height: 100%;
    }

    body.login-page {
        min-height: 100vh;
        background: var(--login-bg-soft);
    }

    .login-shell {
        display: block;
        min-height: 100vh;
    }

    /* Ocultamos TODO el branding de escritorio */
    .login-brand-panel {
        display: none;
    }

    /* El panel derecho ocupa toda la pantalla */
    .login-form-panel {
        width: 100%;
        min-height: 100vh;

        display: flex;
        align-items: center;
        justify-content: center;

        padding:
            22px
            18px
            30px;

        background:
            radial-gradient(
                circle at 50% 0%,
                rgba(0, 149, 255, .085),
                transparent 34%
            ),
            var(--login-bg-soft);
    }

    .login-card {
        width: min(100%, 440px);

        animation: mobileLoginAppear .45s ease both;
    }

    @keyframes mobileLoginAppear {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Logo móvil */
    .mobile-logo-wrap {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        margin:
            0
            auto
            4px;
    }

    .mobile-logo {
        width: 285px;
        height: 205px;

        object-fit: contain;

        filter:
            drop-shadow(0 14px 25px rgba(0, 0, 0, .40))
            drop-shadow(0 0 20px rgba(0, 149, 255, .13));
    }

    .login-card-header {
        margin-bottom: 17px;
        text-align: center;
    }

    .login-badge {
        margin-bottom: 13px;
    }

    .login-card-header h2 {
        font-size: 28px;
    }

    .login-card-header p {
        max-width: 390px;

        margin-left: auto;
        margin-right: auto;

        font-size: 12px;
        line-height: 1.55;
    }

    .system-status {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 18px;
    }

    .login-form {
        gap: 16px;
    }

    .login-divider {
        margin:
            23px 0
            17px;
    }

    .login-footer {
        margin-top: 25px;
    }
}

/* ============================================================
   CELULARES PEQUEÑOS
   ============================================================ */

@media (max-width: 480px) {

    .login-form-panel {
        padding:
            15px
            14px
            24px;
    }

    .login-card {
        width: 100%;
    }

    .mobile-logo-wrap {
        margin-bottom: 1px;
    }

    .mobile-logo {
        width: 155px;
        height: 105px;
    }

    .login-card-header {
        margin-bottom: 15px;
    }

    .login-badge {
        margin-bottom: 11px;
        padding: 6px 9px;
        font-size: 10px;
    }

    .login-card-header h2 {
        font-size: 25px;
    }

    .login-card-header p {
        font-size: 11px;
    }

    .system-status {
        margin-bottom: 16px;
        padding: 6px 9px;
        font-size: 9px;
    }

    .login-form {
        gap: 15px;
    }

    .login-field label {
        margin-bottom: 7px;
        font-size: 11px;
    }

    .input-wrap input {
        height: 47px;
        font-size: 12px;
    }

    .login-submit {
        height: 48px;
        font-size: 12px;
    }

    .login-divider {
        margin:
            21px 0
            15px;

        font-size: 9px;
    }

    .support-title {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .social-links {
        gap: 6px;
    }

    .social-link {
        min-height: 34px;
        padding: 0 10px;
        font-size: 10px;
    }

    .login-footer {
        margin-top: 22px;
        line-height: 1.5;
        font-size: 8px;
    }
}

/* ============================================================
   CELULARES MUY PEQUEÑOS / POCA ALTURA
   Evita que el logo ocupe demasiado espacio.
   ============================================================ */

@media (max-width: 480px) and (max-height: 700px) {

    .login-form-panel {
        padding-top: 8px;
    }

    .mobile-logo {
        width: 135px;
        height: 88px;
    }

    .login-card-header {
        margin-bottom: 12px;
    }

    .login-badge {
        margin-bottom: 8px;
    }

    .login-card-header h2 {
        font-size: 23px;
    }

    .login-card-header p {
        margin-top: 7px;
    }

    .system-status {
        margin-bottom: 13px;
    }

    .login-form {
        gap: 13px;
    }

    .login-divider {
        margin-top: 17px;
        margin-bottom: 13px;
    }

    .login-footer {
        margin-top: 18px;
    }
}

/* ============================================================
   REDUCIR MOVIMIENTO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
