﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --navy: #1d2d51;
    --navy-2: #16233f;
    --navy-3: #0e1729;
    --fuchsia: #e81f53;
    --fuchsia-dk: #c21744;
    --fuchsia-lt: #ff4d77;
    --g50: #f4f5fb;
    --g100: #e8eaf4;
    --g200: #d0d4e8;
    --g400: #8890b0;
    --g600: #4a5270;
    --fp: 'Poppins',sans-serif;
}

.lw {
    min-height: 560px;
    display: flex;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    border: 0.5px solid var(--color-border-tertiary);
    font-family: var(--fp)
}

.lw-l {
    width: 42%;
    background: var(--navy-3);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}



.lw-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.025) 1px,transparent 1px);
    background-size: 22px 22px;
    pointer-events: none
}

.lw-line {
    position: absolute;
    bottom: 175px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,transparent,rgba(255,255,255,.07),transparent)
}

.lw-logo {
    display: none;
}

.lw-logo-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--fuchsia);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(232,31,83,.4)
}

    .lw-logo-box svg {
        width: 20px;
        height: 20px;
        stroke: #fff;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.lw-logo-n {
    font-family: var(--fp);
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    letter-spacing: -.3px;
    line-height: 1.1
}

.lw-logo-s {
    font-size: 9px;
    color: rgba(255,255,255,.3);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 500
}

.lw-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1; /* 🔥 esto lo centra de verdad */
}

    .lw-hero h2 {
        font-family: var(--fp);
        font-size: 2.8rem;
        font-weight: 900;
        color: #fff;
        line-height: 1.1;
        margin-bottom: .9rem
    }

        .lw-hero h2 em {
            font-style: normal;
            color: var(--fuchsia)
        }

    .lw-hero p {
        color: rgba(255,255,255,.4);
        font-size: 14.5px;
        line-height: 1.8;
        max-width: 360px;
        margin-bottom: 2rem
    }

.lw-feats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 2.5rem
}

.lw-feat {
    display: flex;
    align-items: center;
    gap: 11px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    padding: 10px 13px;
    transition: background .2s,border-color .2s
}

    .lw-feat:hover {
        background: rgba(255,255,255,.07);
        border-color: rgba(255,255,255,.12)
    }

.lw-fi {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

    .lw-fi.f {
        background: rgba(232,31,83,.18)
    }

    .lw-fi.g {
        background: rgba(0,196,140,.13)
    }

    .lw-fi.b {
        background: rgba(29,45,81,.5);
        border: 1px solid rgba(255,255,255,.1)
    }

    .lw-fi svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round
    }

    .lw-fi.f svg {
        stroke: #ff6b8a
    }

    .lw-fi.g svg {
        stroke: #00e6a4
    }

    .lw-fi.b svg {
        stroke: #8aa8e8
    }

.lw-fn {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    line-height: 1.2
}

.lw-fd {
    font-size: 11px;
    color: rgba(255,255,255,.33);
    margin-top: 1px
}

.lw-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 1.3rem
}

.lw-stat {
    flex: 1;
    padding-right: 1.1rem;
    margin-right: 1.1rem;
    border-right: 1px solid rgba(255,255,255,.06)
}

    .lw-stat:last-child {
        border: none;
        padding: 0;
        margin: 0
    }

.lw-sn {
    font-family: var(--fp);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1
}

.lw-sl {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.28);
    font-weight: 600;
    margin-top: 3px
}

.lw-pulse {
    display: flex;
    align-items: center;
    gap: 6px
}

.lw-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex-shrink: 0
}

    .lw-dot::before, .lw-dot::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%
    }

    .lw-dot::before {
        background: #00c48c
    }

    .lw-dot::after {
        background: transparent;
        border: 1.5px solid #00c48c;
        animation: lw-pulse 1.9s ease-out infinite
    }

.lw-r {
    flex: 1;
    background: #fff;
    padding: 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.lw-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdedf1;
    border: 1.5px solid #f9b0c0;
    border-radius: 20px;
    padding: 4px 12px;
    font-family: var(--fp);
    font-size: 10px;
    font-weight: 700;
    color: var(--fuchsia);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1.2rem;
    width: fit-content
}

    .lw-badge svg {
        width: 11px;
        height: 11px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.lw-r h2 {
    font-family: var(--fp);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 4px
}

.lw-r-sub {
    font-size: 13px;
    color: var(--g400);
    margin-bottom: 1.8rem;
    line-height: 1.6;
    font-family: var(--fp)
}

.lf-row {
    margin-bottom: 1.1rem
}

.lf-lbl {
    font-family: var(--fp);
    font-size: 11px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .06em;
    display: block;
    margin-bottom: 6px
}

.lf-lrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px
}

    .lf-lrow .lf-lbl {
        margin: 0
    }

.lf-forgot {
    font-family: var(--fp);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--fuchsia);
    text-decoration: none;
    transition: opacity .15s
}

    .lf-forgot:hover {
        opacity: .7
    }

.lf-iw {
    position: relative
}

.lf-il {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none
}

    .lf-il svg {
        width: 15px;
        height: 15px;
        stroke: var(--g400);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block
    }

.lf-inp {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 39px;
    border: 1.5px solid var(--g200);
    border-radius: 10px;
    font-family: var(--fp);
    font-size: 13px;
    color: var(--navy);
    background: var(--g50);
    outline: none;
    transition: all .2s
}

    .lf-inp::placeholder {
        color: var(--g400)
    }

    .lf-inp:focus {
        background: #fff;
        border-color: var(--navy);
        box-shadow: 0 0 0 3.5px rgba(29,45,81,.1)
    }

    .lf-inp.pr {
        padding-right: 42px
    }

.lf-eye {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    color: var(--g400);
    padding: 2px;
    line-height: 1;
    transition: color .15s
}

    .lf-eye:hover {
        color: var(--navy)
    }

    .lf-eye svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block
    }

.lf-str {
    display: flex;
    gap: 4px;
    margin-top: 6px
}

.lf-seg {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: var(--g100);
    transition: background .3s
}

    .lf-seg.on {
        background: var(--fuchsia)
    }

.lf-verr {
    font-family: var(--fp);
    font-size: 11px;
    color: var(--fuchsia);
    display: block;
    margin-top: 4px
}

.lf-rem {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    cursor: pointer
}

    .lf-rem input {
        width: 15px;
        height: 15px;
        accent-color: var(--navy);
        cursor: pointer;
        flex-shrink: 0
    }

    .lf-rem span {
        font-family: var(--fp);
        font-size: 13px;
        color: var(--g600)
    }

.lf-btn {
    width: 100%;
    height: 44px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--fp);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: all .2s;
    box-shadow: 0 6px 22px rgba(29,45,81,.3)
}

    .lf-btn:hover {
        background: var(--navy-2);
        transform: translateY(-1px);
        box-shadow: 0 10px 28px rgba(29,45,81,.4)
    }

    .lf-btn:active {
        transform: scale(.985)
    }

    .lf-btn svg {
        width: 16px;
        height: 16px;
        stroke: #fff;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform .2s
    }

    .lf-btn:hover svg {
        transform: translateX(3px)
    }

.lf-div {
    position: relative;
    margin: 1.5rem 0;
    text-align: center
}

    .lf-div::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        border-top: 1px solid var(--g100)
    }

    .lf-div span {
        position: relative;
        background: #fff;
        padding: 0 12px;
        font-family: var(--fp);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--g400);
        font-weight: 700
    }

.lf-sec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.7rem
}

.lf-sb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 1.5px solid var(--g200);
    border-radius: 10px;
    background: var(--g50);
    cursor: pointer;
    color: var(--g600);
    font-family: var(--fp);
    font-size: 12px;
    font-weight: 600;
    transition: all .2s
}

    .lf-sb:hover {
        border-color: var(--fuchsia);
        color: var(--fuchsia);
        background: #fff5f8
    }

    .lf-sb svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.lf-reg {
    text-align: center;
    font-family: var(--fp);
    font-size: 13px;
    color: var(--g400)
}

    .lf-reg a {
        color: var(--fuchsia);
        font-weight: 700;
        text-decoration: none;
        cursor: pointer
    }

        .lf-reg a:hover {
            text-decoration: underline
        }

@media(max-width:620px) {
    .lw-l {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* 🔥 clave */
    }

    .lw-r {
        padding: 2rem 1.5rem
    }
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(135deg,#0e1729,#1d2d51);
}

/* 🔥 CLAVE PARA QUE NO SE ESTIRE */
.lw {
    width: 100%;
    max-width: 1100px;
}
