
*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    font-family:Arial, Helvetica, sans-serif;

}

body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#020817,#0F172A,#1E293B);

    overflow:hidden;

}

body::before{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    background:#2563eb;

    border-radius:50%;

    top:-150px;

    left:-150px;

    filter:blur(120px);

    opacity:.35;

}

body::after{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    background:#06b6d4;

    border-radius:50%;

    bottom:-120px;

    right:-120px;

    filter:blur(120px);

    opacity:.25;

}

.login-container{

    position:relative;

    z-index:10;

    width:100%;

    max-width:470px;

    padding:20px;

}

.login-card{

    background:rgba(15,23,42,.85);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:25px;

    padding:45px;

    box-shadow:0 25px 50px rgba(0,0,0,.35);

}

.logo{

    text-align:center;

    margin-bottom:25px;

}

.logo img{

    max-width:140px;

}

.logo-placeholder{

    width:140px;

    height:140px;

    border-radius:50%;

    margin:auto;

    border:2px dashed rgba(255,255,255,.25);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#94a3b8;

    font-size:14px;

}

.login-card h2{

    text-align:center;

    color:#fff;

    margin-bottom:10px;

    font-size:32px;

}

.subtitle{

    text-align:center;

    color:#94a3b8;

    margin-bottom:35px;

    font-size:15px;

}

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    color:#cbd5e1;

    margin-bottom:8px;

    font-size:14px;

}

.form-group input{

    width:100%;

    padding:14px 18px;

    border:none;

    border-radius:12px;

    background:#1E293B;

    color:#fff;

    outline:none;

    transition:.3s;

    font-size:15px;

}

.form-group input:focus{

    border:1px solid #38bdf8;

    box-shadow:0 0 15px rgba(56,189,248,.2);

}

.password-wrapper{

    position:relative;

}

.password-wrapper span{

    position:absolute;

    top:50%;

    right:18px;

    transform:translateY(-50%);

    cursor:pointer;

    color:#94a3b8;

    user-select:none;

}

.error-box{

    background:#7f1d1d;

    color:#fff;

    padding:12px;

    border-radius:10px;

    margin-bottom:20px;

}

.login-btn{

    width:100%;

    border:none;

    padding:15px;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    font-size:16px;

    cursor:pointer;

    transition:.3s;

}

.login-btn:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

}

.links{

    margin-top:25px;

    text-align:center;

}

.links a{

    display:block;

    color:#60a5fa;

    text-decoration:none;

    margin:8px 0;

    transition:.3s;

}

.links a:hover{

    color:#fff;

}

@media(max-width:500px){

    .login-card{

        padding:30px;

    }

}

