*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,Helvetica,sans-serif;
}

body{
background:#000;
min-height:100vh;
color:#fff;
}

.top-header{
height:70px;
width:100%;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 18px;
background:#080808;
background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,.03) 0px,rgba(255,255,255,.03) 6px,transparent 6px,transparent 14px);
border-bottom:1px solid #273dff;
box-shadow:0 2px 15px rgba(0,0,0,.7),0 0 16px rgba(64,84,255,.35);
}

.logo-area img{
height:65px;
}

.header-right{
display:flex;
gap:10px;
}

.header-right a{
padding:12px 24px;
border-radius:30px;
text-decoration:none;
font-weight:800;
font-size:14px;
color:#fff;
display:flex;
align-items:center;
gap:8px;
background:linear-gradient(90deg,#1026a8,#253dff);
box-shadow:0 0 18px rgba(37,61,255,.35);
}

.login-wrapper{
display:flex;
justify-content:center;
align-items:center;
padding:70px 15px;
}

.login-card{
width:100%;
max-width:520px;
padding:42px;
background:linear-gradient(180deg,#101321,#07080d);
border-radius:28px;
border:1px solid rgba(70,100,255,.28);
box-shadow:0 0 35px rgba(40,70,255,.16),0 25px 60px rgba(0,0,0,.7);
}

.login-card h1{
text-align:center;
font-size:44px;
font-weight:900;
margin-bottom:10px;
}

.login-card p{
text-align:center;
color:#8f98bd;
margin-bottom:30px;
}

.input-box{
height:62px;
display:flex;
align-items:center;
padding:0 18px;
margin-bottom:18px;
background:#0d1220;
border:1px solid #213a83;
border-radius:18px;
box-shadow:inset 0 0 18px rgba(40,80,255,.08);
}

.input-box i{
color:#2ee66b;
font-size:20px;
margin-right:15px;
}

.input-box input{
width:100%;
border:none;
outline:none;
background:none;
color:#fff;
font-size:16px;
}

.input-box input::placeholder{
color:#6e789b;
}

.submit-btn{
width:100%;
height:62px;
border:none;
border-radius:18px;
cursor:pointer;
font-size:18px;
font-weight:900;
color:#fff;
background:linear-gradient(90deg,#1731c7,#2d49ff);
box-shadow:0 0 28px rgba(45,73,255,.35);
transition:.25s;
}

.submit-btn:hover{
transform:translateY(-2px);
filter:brightness(1.12);
}

.submit-btn i{
margin-left:8px;
}

.error-box{
background:#351111;
padding:13px;
margin-bottom:15px;
border-radius:12px;
border:1px solid #ff3535;
color:#fff;
text-align:center;
font-weight:700;
}

.error-box i{
color:#ff4747;
margin-right:6px;
}

.bottom-link{
text-align:center;
margin-top:22px;
color:#aaa;
}

.bottom-link a{
color:#4b6bff;
font-weight:800;
text-decoration:none;
}

.success-active .login-wrapper,
.success-active .top-header{
filter:blur(5px);
}

.success-overlay{
position:fixed;
inset:0;
z-index:9999;
display:flex;
align-items:center;
justify-content:center;
background:rgba(0,0,0,.72);
backdrop-filter:blur(8px);
}

.success-popup{
width:310px;
padding:34px 28px;
text-align:center;
border-radius:22px;
background:linear-gradient(180deg,#161616,#0c0e14);
border:1px solid rgba(0,255,150,.55);
box-shadow:0 0 30px rgba(0,255,150,.25),0 20px 60px rgba(0,0,0,.8);
animation:popupIn .35s ease;
}

.success-circle{
width:70px;
height:70px;
margin:0 auto 18px;
border-radius:50%;
background:linear-gradient(135deg,#00c853,#00ff73);
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 0 28px rgba(0,255,115,.5);
}

.success-circle i{
font-size:34px;
color:#071207;
}

.success-popup h2{
font-size:20px;
font-weight:900;
margin-bottom:8px;
}

.success-popup p{
font-size:13px;
color:#9ca7b8;
margin-bottom:18px;
}

.success-loader{
width:100%;
height:5px;
border-radius:20px;
overflow:hidden;
background:#222;
}

.success-loader::before{
content:"";
display:block;
height:100%;
width:0%;
background:linear-gradient(90deg,#00c853,#00ff99);
animation:loadBar 1.5s linear forwards;
}

@keyframes popupIn{
from{
transform:scale(.85);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}

@keyframes loadBar{
to{
width:100%;
}
}

@media(max-width:768px){
.top-header{
height:60px;
padding:0 10px;
}

.logo-area img{
height:55px;
}

.header-right a{
padding:10px 13px;
font-size:12px;
}

.login-wrapper{
padding:45px 14px;
}

.login-card{
padding:26px;
border-radius:22px;
}

.login-card h1{
font-size:34px;
}

.input-box{
height:55px;
}

.submit-btn{
height:55px;
font-size:16px;
}

.success-popup{
width:285px;
}
}


.input-box input{
    appearance:none;
    -webkit-appearance:none;

    width:100%;

    border:none !important;
    outline:none !important;

    background:transparent !important;

    color:#fff !important;

    font-size:16px;

    box-shadow:none !important;
}

.input-box input::placeholder{
    color:#6f7898 !important;
}

.input-box input:focus{
    background:transparent !important;
    outline:none !important;
    box-shadow:none !important;
}

.input-box input:-webkit-autofill,
.input-box input:-webkit-autofill:hover,
.input-box input:-webkit-autofill:focus,
.input-box input:-webkit-autofill:active{

    -webkit-text-fill-color:#fff !important;

    transition:
    background-color 9999s ease-in-out 0s;

    box-shadow:
    0 0 0px 1000px #0d1220 inset !important;

    caret-color:#fff !important;
}

.input-box{
    overflow:hidden;
}