:root{
    --verde:#39ff14;
    --verde2:#1aff00;
    --verde3:#7fff00;
    --oscuro:#04070d;
    --oscuro2:#0b1220;
    --texto:#ffffff;
    --texto-sec:#b8c0cc;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    min-height:100vh;
    background:
    radial-gradient(circle at top left,#10230c 0%,#04070d 50%),
    radial-gradient(circle at bottom right,#07110f 0%,#04070d 40%);
    overflow:hidden;
    color:white;
}

.background-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    z-index:0;
}

.glow-1{
    width:450px;
    height:450px;
    background:rgba(57,255,20,.18);
    top:-180px;
    left:-180px;
    animation:floatGlow 10s ease-in-out infinite;
}

.glow-2{
    width:500px;
    height:500px;
    background:rgba(57,255,20,.10);
    bottom:-250px;
    right:-250px;
    animation:floatGlow 12s ease-in-out infinite;
}

.login-container{
    position:relative;
    z-index:2;
    width:100%;
    min-height:100vh;
    display:grid;
    grid-template-columns:55% 45%;
}

.left-panel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:60px;
}

.logo{
    width:500px;
    max-width:100%;
    animation:floatLogo 4s ease-in-out infinite;
    filter:drop-shadow(0 0 25px rgba(57,255,20,.35));
}

.left-panel h1{
    margin-top:25px;
    font-size:42px;
    font-weight:700;
    letter-spacing:4px;
}

.left-panel h1 span{
    color:var(--verde);
}

.description{
    margin-top:20px;
    color:var(--texto-sec);
    font-size:18px;
    max-width:600px;
}

.feature-list{
    margin-top:50px;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.feature-item{
    display:flex;
    align-items:center;
    gap:18px;
}

.feature-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    border:2px solid var(--verde);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--verde);
    font-size:22px;
    box-shadow:0 0 20px rgba(57,255,20,.35);
}

.feature-item strong{
    display:block;
    font-size:20px;
}

.feature-item small{
    color:var(--texto-sec);
}

.right-panel{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.login-card{
    width:100%;
    max-width:560px;
    padding:45px;
    border-radius:30px;
    background:rgba(7,12,20,.75);
    backdrop-filter:blur(20px);
    border:1px solid rgba(57,255,20,.25);
    box-shadow:
    0 0 40px rgba(57,255,20,.12),
    inset 0 0 25px rgba(255,255,255,.03);
}

.shield{
    text-align:center;
    font-size:70px;
    margin-bottom:15px;
}

.login-card h2{
    text-align:center;
    font-size:42px;
    margin-bottom:10px;
}

.subtitle{
    text-align:center;
    color:var(--texto-sec);
    margin-bottom:35px;
}

.error-box{
    background:#dc2626;
    padding:14px;
    border-radius:12px;
    text-align:center;
    margin-bottom:20px;
}

.login-card label{
    display:block;
    margin-bottom:10px;
    margin-top:15px;
    color:var(--verde);
    font-weight:600;
}

.input-wrapper{
    position:relative;
    margin-bottom:25px;
}

.input-wrapper input{
    width:100%;
    height:70px;
    border-radius:18px;

    background:rgba(0,0,0,.35);

    border:2px solid rgba(255,255,255,.12);

    color:white;
    font-size:17px;
    padding:0 22px;

    transition:.35s;

    box-shadow:
    inset 0 0 12px rgba(255,255,255,.02),
    0 0 10px rgba(255,255,255,.03);
}

.input-wrapper input:hover{

    border-color:rgba(57,255,20,.35);

    box-shadow:
    0 0 12px rgba(57,255,20,.15);

}

.input-wrapper input::placeholder{
    color:#94a3b8;
}

.user-wrapper input:focus{
    outline:none;
    border-color:var(--verde);

    box-shadow:
    0 0 8px rgba(57,255,20,.35),
    0 0 25px rgba(57,255,20,.35);

    transform:translateY(-2px);
}

.password-wrapper input:focus{
    outline:none;

    border-color:var(--verde);

    box-shadow:
    0 0 8px rgba(57,255,20,.35),
    0 0 25px rgba(57,255,20,.35);

    transform:translateY(-2px);
}

.show-password{
    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    cursor:pointer;
    font-size:24px;
}

.login-button{
    width:100%;
    height:70px;
    border:none;
    border-radius:18px;
    cursor:pointer;
    font-size:26px;
    font-weight:700;
    margin-top:10px;
    background:
    linear-gradient(
    135deg,
    var(--verde2),
    var(--verde3)
    );
    color:#04110a;
    transition:.35s;
    box-shadow:
    0 0 30px rgba(57,255,20,.45);
    position:relative;
overflow:hidden;
}

.login-button::before{

    content:'';

    position:absolute;

    top:0;
    left:-120%;

    width:100%;
    height:100%;

    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transition:.7s;

}

.login-button:hover::before{

    left:120%;

}

.login-button:hover{
    transform:translateY(-3px);
    box-shadow:
    0 0 50px rgba(57,255,20,.8);
}

.footer-text{
    text-align:center;
    margin-top:30px;
    color:var(--texto-sec);
}

@keyframes floatLogo{
    0%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    100%{transform:translateY(0);}
}

@keyframes floatGlow{
    0%{transform:translateY(0);}
    50%{transform:translateY(-35px);}
    100%{transform:translateY(0);}
}

@media(max-width:1100px){

    .login-container{
        grid-template-columns:1fr;
    }

    .left-panel{
        display:none;
    }

    .right-panel{
        min-height:100vh;
    }
}

/* PARTICULAS */

.particles{
    position:absolute;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:1;
    pointer-events:none;
}

.particles span{
    position:absolute;
    display:block;
    width:4px;
    height:4px;
    border-radius:50%;
    background:#39ff14;
    box-shadow:0 0 12px #39ff14;
    animation:particleMove linear infinite;
}

.particles span:nth-child(1){
    left:10%;
    animation-duration:15s;
}

.particles span:nth-child(2){
    left:20%;
    animation-duration:18s;
}

.particles span:nth-child(3){
    left:35%;
    animation-duration:12s;
}

.particles span:nth-child(4){
    left:50%;
    animation-duration:20s;
}

.particles span:nth-child(5){
    left:65%;
    animation-duration:14s;
}

.particles span:nth-child(6){
    left:75%;
    animation-duration:17s;
}

.particles span:nth-child(7){
    left:85%;
    animation-duration:13s;
}

.particles span:nth-child(8){
    left:95%;
    animation-duration:22s;
}

@keyframes particleMove{

    from{
        transform:translateY(110vh);
        opacity:0;
    }

    10%{
        opacity:1;
    }

    90%{
        opacity:1;
    }

    to{
        transform:translateY(-100px);
        opacity:0;
    }

}

.shield{

    text-align:center;
    margin-bottom:20px;

    animation:
    shieldPulse 2.5s infinite;

}

@keyframes shieldPulse{

    0%{

        transform:scale(1);

        filter:
        drop-shadow(
        0 0 8px rgba(57,255,20,.4)
        );

    }

    50%{

        transform:scale(1.08);

        filter:
        drop-shadow(
        0 0 22px rgba(57,255,20,.8)
        );

    }

    100%{

        transform:scale(1);

    }

}