/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter', sans-serif;
}

/* =========================
   BODY
========================= */
body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg, #020617, #0f172a);
    overflow:hidden;
}

/* FONDO DECORATIVO */
body::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:#6366f1;
    filter:blur(150px);
    opacity:0.2;
    top:-100px;
    left:-100px;
}

body::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#22c55e;
    filter:blur(150px);
    opacity:0.15;
    bottom:-100px;
    right:-100px;
}

/* =========================
   CARD LOGIN
========================= */
.login-container{
    position:relative;
    z-index:2;
    width:100%;
    max-width:380px;
    padding:30px;
    background:rgba(30,41,59,0.8);
    backdrop-filter:blur(20px);
    border-radius:16px;
    box-shadow:0 10px 40px rgba(0,0,0,0.3);
    animation:fadeIn 0.6s ease;
}

/* =========================
   HEADER
========================= */
.login-header{
    text-align:center;
    margin-bottom:25px;
}

.login-header h2{
    font-size:22px;
    font-weight:600;
    color:#e2e8f0;
}

/* =========================
   INPUTS
========================= */
.input-group{
    margin-bottom:15px;
}

.input-group input{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid #334155;
    background:#020617;
    color:white;
    outline:none;
    transition:0.2s;
}

.input-group input:focus{
    border-color:#6366f1;
    box-shadow:0 0 0 2px rgba(99,102,241,0.3);
}

/* =========================
   BOTON
========================= */
.login-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:linear-gradient(90deg,#6366f1,#4f46e5);
    color:white;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
}

.login-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 5px 15px rgba(99,102,241,0.4);
}

/* =========================
   FOOTER
========================= */
.login-footer{
    text-align:center;
    margin-top:15px;
    font-size:12px;
    color:#94a3b8;
}

/* =========================
   ANIMACION
========================= */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:480px){
    .login-container{
        margin:15px;
        padding:20px;
    }
}