/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins, Arial, sans-serif;
}

body{
    background:linear-gradient(135deg,#0f172a,#1e3a8a,#2563eb);
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow-x:hidden;
    overflow-y:auto;
    padding:20px;
}

.login-container{

    width:1100px;

    max-width:95%;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border-radius:20px;

    overflow:hidden;

    display:flex;

    box-shadow:0 25px 60px rgba(0,0,0,.35);

}

.left-panel{
    flex:1;
    color:#fff;
    padding:60px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.brand{
    max-width:420px;
}

.brand h1{
    font-size:52px;
    margin-bottom:15px;
    font-weight:700;
}

.tagline{
    font-size:20px;
    opacity:.9;
    margin-bottom:35px;
}

.feature{
    display:flex;
    align-items:center;
    gap:12px;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);

    padding:18px;
    margin-bottom:18px;

    border-radius:16px;

    font-size:17px;
    font-weight:500;

    backdrop-filter:blur(8px);

    transition:all .3s ease;
}

.feature:hover{
    transform:translateX(8px);
    background:rgba(255,255,255,.18);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.right-panel{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.login-card{
    width:100%;
    max-width:500px;
    background:#fff;
    border-radius:24px;
    padding:55px 45px;

    box-shadow:
        0 30px 70px rgba(0,0,0,.22),
        0 0 45px rgba(37,99,235,.25);

    animation:fadeUp .8s ease;
}

.login-card h2{
    font-size:34px;
    font-weight:700;
    color:#1e293b;
}

.subtitle{
    color:#64748b;
    margin-bottom:30px;
    font-size:16px;
}

.alert{
    background:#FEF2F2;
    color:#B91C1C;
    border-left:4px solid #EF4444;
    padding:14px;
    border-radius:10px;
    margin-bottom:20px;
}

.input-group{
    margin-bottom:16px;
}

.input-group input:hover{
    border-color:#BFDBFE;
    transition:0.3s;
}

.options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin:14px 0 22px;
    font-size:14px;
}

.options a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.login-btn{
    width:100%;
    height:56px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    letter-spacing:.5px;
}

.login-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(37,99,235,.35);
}

.login-btn:active{
    transform:scale(.98);
}

.register-link{
    text-align:center;
    margin-top:22px;
    font-size:14px;
    color:#475569;
}

.register-link a{
    color:#2563eb;
    font-weight:700;
    text-decoration:none;
}

.input-group input{
    width:100%;
    height:60px;
    padding:0 20px 0 55px;
    border:2px solid #E2E8F0;
    border-radius:14px;
    font-size:16px;
    transition:.3s;
}

.input-group input:focus{
    border-color:#2563eb;
    box-shadow:0 0 12px rgba(37,99,235,.25);
}

.input-icon{
    position:absolute;
    left:20px;
    top:50%;
    transform:translateY(-50%);
    color:#64748B;
    font-size:18px;
    z-index:2;
    pointer-events:none;
}

.strength-text{
    margin-top:8px;
    margin-bottom:15px;
    font-size:14px;
    font-weight:600;
}

.version{
    margin-top:18px;
    text-align:center;
    color:#94A3B8;
    font-size:13px;
}

/* Animated Background */

.bg-circle{
    position:absolute;
    border-radius:50%;
    opacity:.20;
    filter:blur(10px);
    animation:float 10s ease-in-out infinite;
}

.circle1{
    width:220px;
    height:220px;
    background:#60A5FA;
    top:-70px;
    left:-70px;
}

.circle2{
    width:280px;
    height:280px;
    background:#3B82F6;
    right:-100px;
    bottom:-100px;
    animation-delay:2s;
}

.circle3{
    width:150px;
    height:150px;
    background:#93C5FD;
    top:12%;
    left:45%;
    animation-delay:4s;
}

/* Statistics */

.stats{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:35px;
}

.stat-card{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.15);
    border-radius:16px;
    padding:18px;
    text-align:center;
    backdrop-filter:blur(8px);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-5px);
}

.stat-card h3{
    color:#fff;
    font-size:28px;
    margin-bottom:6px;
}

.stat-card span{
    color:#DCE8FF;
    font-size:14px;
}

.stats-title{
    margin-top:35px;
    margin-bottom:15px;
    color:#ffffff;
    font-size:20px;
    font-weight:600;
}

.password-wrapper{
    position:relative;
    width:100%;
}

.password-wrapper .toggle-password{
    position:absolute;
    top:50%;
    right:18px;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:none;
    background:transparent;
    color:#64748B;
    cursor:pointer;
    z-index:100;
}

.toggle-password:hover{
    color:#2563EB;
    transform:translateY(-50%) scale(1.1);
}

@keyframes float{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-25px);
    }

}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ===========================
   Mobile Responsive
=========================== */

@media (max-width:992px){

    .login-container{
        width:95%;
        flex-direction:column;
    }

    .left-panel,
    .right-panel{
        width:100%;
        padding:40px 30px;
    }

    .brand{
        max-width:100%;
        text-align:center;
    }

    .stats{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    body{
        display:block;
        padding:15px;
        overflow-x:hidden;
        overflow-y:auto;
    }

    .login-container{
        width:100%;
        max-width:100%;
        display:block;
        border-radius:18px;
    }

    .left-panel,
    .right-panel{
        width:100%;
        padding:25px 20px;
    }

    .brand{
        max-width:100%;
        text-align:center;
    }

    .brand h1{
        font-size:38px;
    }

    .tagline{
        font-size:16px;
    }

    .features,
    .feature{
        width:100%;
    }

    .feature{
        padding:15px;
        font-size:15px;
    }

    .stats{
        grid-template-columns:1fr;
        gap:12px;
    }

    .login-card{
        width:100%;
        max-width:100%;
        padding:30px 20px;
        border-radius:18px;
    }

    .login-card h2{
        font-size:28px;
    }

    .options{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .login-btn{
        width:100%;
    }
    
    .right-panel{
    padding:15px 20px 25px;
}

.login-card{
    margin-top:0;
}
}

@media (max-width:480px){

    body{
        padding:10px;
    }

    .brand h1{
        font-size:34px;
    }

    .tagline{
        font-size:16px;
    }

    .login-card{
    width:100%;
    max-width:100%;
    padding:28px 22px;
}

    .login-card h2{
        font-size:26px;
    }

    .options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-direction:row;
    gap:10px;
    font-size:14px;
}

.options label{
    display:flex;
    align-items:center;
    gap:6px;
}

.options a{
    white-space:nowrap;
}

    .login-btn{
        height:50px;
        font-size:16px;
    }

    .feature{
        font-size:14px;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .stat-card h3{
        font-size:24px;
    }
    
    .password-wrapper input{
        padding-left:55px;
        padding-right:60px;
    }

    .toggle-password{
        right:15px;
    }

}