*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    min-height:100vh;
    background:#040510;
    overflow:auto;
    position:relative;
    padding:90px 0;
}

.orb{
    position:fixed;
    border-radius:50%;
    filter:blur(130px);
    z-index:-1;
}

.orb-1{
    width:450px;
    height:450px;
    background:#00d9ff22;
    left:-150px;
    bottom:-150px;
}

.orb-2{
    width:400px;
    height:400px;
    background:#9b5cff25;
    top:-150px;
    right:-150px;
}

.navbar{
    position:absolute;
    top:25px;
    left:30px;
}

.brand{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-group{
    display:flex;
    gap:4px;
}

.logo-group span{
    width:34px;
    height:34px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-weight:800;
    background:linear-gradient(135deg,#b16dff,#727dff);
}

.brand h2{
    color:#a86cff;
}

.register-card{
    width:500px;
    max-width:92%;
    margin:auto;
    background:rgba(18,20,35,.82);
    backdrop-filter:blur(30px);
    border-radius:30px;
    padding:38px;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 30px 90px rgba(0,0,0,.45);
}

.register-card h1{
    color:white;
    text-align:center;
    font-size:34px;
}

.register-card p{
    color:#9ea5b7;
    text-align:center;
    margin:10px 0 28px;
}

.input-group{
    margin-bottom:16px;
}

.input-group label{
    display:block;
    color:#b4bbce;
    margin-bottom:8px;
    font-weight:600;
}

.input-box{
    height:56px;
    border-radius:16px;
    display:flex;
    align-items:center;
    padding:0 18px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.08);
    transition:.25s;
}

.input-box:focus-within{
    border-color:#a855f7;
    box-shadow:0 0 0 4px rgba(168,85,247,.12);
}

.input-box input{
    flex:1;
    background:none;
    border:none;
    outline:none;
    color:white;
    padding-left:12px;
    font-size:15px;
}

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

.input-box i{
    color:#8c94a7;
}

#togglePassword{
    cursor:pointer;
}

.verify-row{
    display:grid;
    grid-template-columns:1fr 125px;
    gap:10px;
}

.verify-input{
    width:100%;
}

.code-btn{
    border:none;
    border-radius:16px;
    color:white;
    font-weight:800;
    cursor:pointer;
    background:linear-gradient(135deg,#0ea5e9,#6d5dfc);
    transition:.25s;
}

.code-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(14,165,233,.3);
}

.code-btn:disabled{
    opacity:.55;
    cursor:not-allowed;
    transform:none;
}

#codeStatus{
    display:block;
    color:#8c94a7;
    margin-top:8px;
    font-size:12px;
}

.terms{
    display:flex;
    align-items:center;
    gap:10px;
    color:#9ea5b7;
    margin:22px 0;
    font-size:14px;
}

.terms input{
    width:16px;
    height:16px;
    accent-color:#8b5cf6;
}

.register-btn{
    width:100%;
    height:64px;
    border:none;
    border-radius:18px;
    color:white;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    background:linear-gradient(135deg,#a855f7,#6d5dfc);
    box-shadow:0 18px 40px rgba(109,93,252,.35);
    transition:.25s;
}

.register-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 25px 55px rgba(109,93,252,.45);
}

.signin-link{
    text-align:center;
    margin-top:20px;
    color:#9098ac;
}

.signin-link a{
    color:#a86cff;
    text-decoration:none;
    font-weight:800;
}

footer{
    margin-top:35px;
    width:100%;
    text-align:center;
    color:#6d7689;
}

footer small{
    color:#00ff99;
}

@media(max-width:520px){
    body{
        padding:80px 0 40px;
    }

    .verify-row{
        grid-template-columns:1fr;
    }

    .code-btn{
        height:54px;
    }
}
.field-error{

    display:block;

    min-height:10px;

    margin-top:8px;

    color:#ef4444;

    font-size:13px;

    font-weight:600;

    padding-left:4px;

}

.input-error{

    border-color:#ef4444 !important;

    box-shadow:
    0 0 0 3px
    rgba(239,68,68,.15);

}
.success-modal{

    position:fixed;

    inset:0;

    display:none;

    align-items:center;

    justify-content:center;

    background:
    rgba(0,0,0,.65);

    backdrop-filter:blur(10px);

    z-index:9999;

}

.success-modal.active{

    display:flex;

}

.success-box{

    width:420px;

    padding:40px;

    text-align:center;

    border-radius:28px;

    background:
    rgba(18,20,35,.95);

    border:
    1px solid rgba(255,255,255,.08);

    animation:
    successPop .35s ease;

}

.success-icon{

    width:90px;
    height:90px;

    margin:auto;

    margin-bottom:20px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    font-weight:900;

    color:white;

    background:
    linear-gradient(
        135deg,
        #16a34a,
        #22c55e
    );

}

.success-box h2{

    color:white;

    margin-bottom:10px;

}

.success-box p{

    color:#9ea5b7;

    margin-bottom:20px;

}

.success-box span{

    color:#22c55e;

    font-weight:700;

}

@keyframes successPop{

    from{

        opacity:0;

        transform:
        scale(.8);

    }

    to{

        opacity:1;

        transform:
        scale(1);

    }

}
.language-switch{
    position:fixed;
    top:20px;
    right:20px;
    z-index:9999;
    display:flex;
    gap:8px;
}

.language-switch button{
    border:none;
    padding:8px 14px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    background:rgba(255,255,255,.1);
    color:#fff;
    backdrop-filter:blur(10px);
    transition:.3s;
}

.language-switch button:hover{
    background:#7c3aed;
}