:root{
    --bg:#050b12;
    --panel:#101923;
    --panel2:#202a2d;
    --text:#eef5ff;
    --muted:#9aa8ba;
    --green:#39ff14;
    --green2:#8cff5a;
    --line:rgba(255,255,255,.10);
    --error:#ff5555;
}

*{box-sizing:border-box}

body{
    margin:0;
    min-height:100vh;
    background:
        radial-gradient(circle at 15% 20%, rgba(57,255,20,.12), transparent 360px),
        linear-gradient(135deg,#07111d,#121c24);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif;
}

a{
    color:inherit;
    text-decoration:none;
}

button,input,select{
    font-family:inherit;
}

.rr-auth-top{
    max-width:1500px;
    margin:0 auto;
    padding:36px 28px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.rr-back{
    font-size:14px;
    color:#fff;
    opacity:.9;
}

.rr-back:hover{
    color:var(--green);
}

.rr-auth-wrap{
    min-height:calc(100vh - 80px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px 20px 60px;
}

.rr-auth-card{
    width:min(1280px,94vw);
    min-height:650px;
    display:grid;
    grid-template-columns:1fr 1fr;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 35px 110px rgba(0,0,0,.45);
}

.rr-auth-brand{
    position:relative;
    padding:70px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.05), transparent 80px),
        linear-gradient(135deg,rgba(57,255,20,.12),rgba(255,255,255,.04)),
        #263237;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.rr-auth-brand::after{
    content:"";
    position:absolute;
    inset:0;
    background-image:radial-gradient(circle, rgba(255,255,255,.035) 0 28px, transparent 30px);
    background-size:120px 120px;
    opacity:.7;
}

.rr-auth-brand-inner{
    position:relative;
    z-index:1;
}

.rr-auth-brand img{
    width:420px;
    max-width:92%;
    margin-bottom:58px;
}

.rr-auth-brand h1{
    font-size:34px;
    margin:0 0 16px;
}

.rr-auth-brand p{
    margin:0;
    font-size:18px;
    line-height:1.45;
}

.rr-auth-form{
    background:#101718;
    padding:74px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.rr-auth-form h2{
    margin:0 0 12px;
    font-size:28px;
}

.rr-auth-form p{
    margin:0 0 34px;
    color:#b9c7d8;
}

.rr-auth-grid2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.rr-field{
    margin-bottom:22px;
}

.rr-field label{
    display:block;
    margin-bottom:9px;
    font-size:14px;
    font-weight:800;
}

.rr-field label span{
    color:#ff4d4d;
}

.rr-input{
    width:100%;
    height:52px;
    border:0;
    border-radius:9px;
    background:var(--panel2);
    color:#fff;
    padding:0 15px;
    font-size:16px;
    outline:none;
}

.rr-input:focus{
    box-shadow:0 0 0 2px rgba(57,255,20,.35);
}

.rr-auth-link{
    display:block;
    text-align:right;
    margin:-6px 0 24px;
    font-size:13px;
    color:#b9c7d8;
}

.rr-auth-link:hover{
    color:var(--green);
}

.rr-submit{
    width:100%;
    height:56px;
    border:0;
    border-radius:9px;
    background:var(--green);
    color:#061006;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
}

.rr-submit:hover{
    background:#4dff2c;
}

.rr-auth-error{
    background:rgba(255,69,69,.12);
    border:1px solid rgba(255,69,69,.35);
    color:#ffd1d1;
    padding:12px 14px;
    border-radius:10px;
    margin-bottom:22px;
}

.rr-auth-success{
    background:rgba(57,255,20,.10);
    border:1px solid rgba(57,255,20,.35);
    color:#d8ffd1;
    padding:12px 14px;
    border-radius:10px;
    margin-bottom:22px;
}

.rr-auth-foot{
    margin-top:46px;
    border-top:1px solid var(--line);
    padding-top:28px;
    text-align:center;
    color:#8291a5;
    font-size:13px;
}

.rr-auth-foot a{
    margin:0 10px;
    color:#9fb0c5;
}

.rr-auth-foot a:hover{
    color:var(--green);
}

.rr-register-line{
    margin-top:22px;
    text-align:center;
    color:var(--muted);
}

.rr-register-line a{
    color:var(--green);
    font-weight:800;
}

@media(max-width:900px){
    .rr-auth-card{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .rr-auth-brand{
        display:none;
    }

    .rr-auth-form{
        padding:46px 24px;
    }

    .rr-auth-grid2{
        grid-template-columns:1fr;
        gap:0;
    }
}