*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    padding:0;
}

.auth-screen-body{
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(0,247,255,0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.18), transparent 30%),
        linear-gradient(135deg, #0b1220 0%, #070d18 100%);
    color:#fff;
    font-family:'Segoe UI', sans-serif;
}

.auth-topbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    padding:14px 16px 0;
}

.auth-topbar-inner{
    max-width:1180px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:14px 16px;
    border-radius:20px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-shadow:0 10px 30px rgba(0,0,0,0.20);
}

.auth-topbar-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    flex-shrink:0;
}

.auth-topbar-icon{
    width:40px;
    height:40px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, #00f7ff, #8b5cf6);
    color:#fff;
    font-size:18px;
    box-shadow:0 0 18px rgba(0,247,255,0.18);
}

.auth-topbar-text{
    color:#fff;
    font-size:20px;
    font-weight:800;
    letter-spacing:.3px;
}

.auth-topbar-nav{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.auth-topbar-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#eef4ff;
    font-weight:700;
    font-size:14px;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    transition:.25s ease;
}

.auth-topbar-link:hover{
    color:#00f7ff;
    border-color:rgba(0,247,255,0.35);
    box-shadow:0 0 16px rgba(0,247,255,0.12);
    transform:translateY(-1px);
}

.auth-topbar-link-home{
    background:linear-gradient(135deg, rgba(0,247,255,0.16), rgba(124,58,237,0.16));
    border-color:rgba(0,247,255,0.25);
    color:#fff;
}

.auth-screen{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:110px 16px 20px;
}

.auth-shell{
    width:100%;
    max-width:1100px;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(380px, 460px);
    gap:24px;
    align-items:center;
    margin:0 auto;
}

.auth-brand-panel{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    padding:36px;
    background:
        radial-gradient(circle at top left, rgba(0,247,255,0.18), transparent 25%),
        radial-gradient(circle at bottom right, rgba(139,92,246,0.22), transparent 28%),
        rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 10px 35px rgba(0,0,0,0.25);
    display:flex;
    align-items:center;
    min-height:620px;
}

.auth-brand-inner{
    max-width:520px;
}

.auth-mini-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9fb0c9;
    margin-bottom:10px;
}

.auth-brand-panel h1{
    font-size:46px;
    line-height:1.12;
    margin:0 0 16px;
}

.auth-brand-text{
    color:#d1dceb;
    line-height:1.8;
    font-size:16px;
    margin:0 0 20px;
}

.auth-brand-points{
    display:flex;
    flex-direction:column;
    gap:10px;
    color:#edf3ff;
    font-size:15px;
}

.auth-form-panel{
    width:100%;
    max-width:460px;
    min-height:620px;
    padding:30px 26px;
    border-radius:28px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    margin-left:auto;
    margin-right:auto;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:0 10px 35px rgba(0,0,0,0.25);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.auth-form-top,
.auth-form-bottom,
.auth-modern-form{
    width:100%;
    max-width:380px;
    margin-left:auto;
    margin-right:auto;
}

.auth-form-top{
    margin-bottom:20px;
    text-align:left;
}

.auth-form-top h2{
    font-size:34px;
    line-height:1.15;
    margin:0 0 10px;
}

.auth-form-subtitle{
    color:#c0ccde;
    line-height:1.7;
    font-size:15px;
    margin:0;
}

.auth-modern-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.auth-modern-field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.auth-modern-field label{
    font-size:14px;
    font-weight:600;
    color:#e2ebf8;
}

.auth-modern-field input{
    width:100%;
    min-width:0;
    padding:14px 14px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    outline:none;
    font-size:16px;
    appearance:none;
    -webkit-appearance:none;
}

.auth-modern-field input::placeholder{
    color:#9fb0c9;
}

.auth-modern-field input:focus{
    border-color:rgba(0,247,255,0.35);
    box-shadow:0 0 0 3px rgba(0,247,255,0.08);
}

.neon-btn,
.outline-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-decoration:none;
    padding:12px 18px;
    border-radius:12px;
    font-weight:700;
    transition:.25s ease;
    cursor:pointer;
    border:none;
    font-family:inherit;
}

.neon-btn{
    color:#fff;
    background:linear-gradient(135deg, #00f7ff, #7c3aed);
    box-shadow:0 0 16px rgba(0,247,255,0.16);
}

.neon-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 0 22px rgba(0,247,255,0.22);
}

.outline-btn{
    color:#fff;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
}

.outline-btn:hover{
    transform:translateY(-2px);
    border-color:rgba(0,247,255,0.25);
    box-shadow:0 0 16px rgba(0,247,255,0.10);
}

.auth-main-btn{
    width:100%;
    justify-content:center;
    text-align:center;
    margin-top:6px;
}

.auth-form-bottom{
    margin-top:20px;
    display:flex;
    flex-direction:column;
    gap:10px;
    text-align:center;
}

.auth-form-bottom p{
    color:#b9c7db;
    font-size:14px;
    margin:0;
}

.auth-alt-btn{
    width:100%;
    justify-content:center;
    text-align:center;
}

.form-message{
    width:100%;
    max-width:380px;
    margin:0 auto 16px;
    padding:14px 16px;
    border-radius:14px;
    font-size:14px;
    line-height:1.6;
}

.error-box{
    background:rgba(255,75,92,0.12);
    border:1px solid rgba(255,75,92,0.28);
    color:#ffb4bc;
}

.success-box{
    background:rgba(0,255,156,0.12);
    border:1px solid rgba(0,255,156,0.24);
    color:#9cffd0;
}

@media (max-width:980px){
    .auth-shell{
        grid-template-columns:1fr;
        max-width:560px;
    }

    .auth-brand-panel{
        display:none;
    }

    .auth-form-panel{
        max-width:100%;
        min-height:auto;
    }

    .auth-form-top,
    .auth-form-bottom,
    .auth-modern-form,
    .form-message{
        max-width:100%;
    }
}

@media (max-width:760px){
    .auth-topbar{
        padding:10px 10px 0;
    }

    .auth-topbar-inner{
        padding:12px;
        border-radius:16px;
        flex-direction:column;
        align-items:stretch;
    }

    .auth-topbar-brand{
        justify-content:center;
    }

    .auth-topbar-nav{
        justify-content:center;
        width:100%;
    }

    .auth-topbar-link{
        flex:1 1 auto;
        min-width:90px;
        text-align:center;
        padding:10px 12px;
        font-size:13px;
    }

    .auth-topbar-text{
        font-size:18px;
    }

    .auth-screen{
        padding-top:140px;
    }
}

@media (max-width:640px){
    .auth-screen{
        padding:150px 12px 12px;
        align-items:stretch;
    }

    .auth-shell{
        max-width:100%;
        min-height:100vh;
    }

    .auth-form-panel{
        min-height:calc(100vh - 162px);
        border-radius:22px;
        padding:22px 16px;
    }

    .auth-form-top h2{
        font-size:28px;
    }

    .auth-form-subtitle{
        font-size:14px;
        line-height:1.6;
    }

    .auth-modern-field input{
        padding:13px 12px;
        font-size:16px;
    }
}

@media (max-width:420px){
    .auth-topbar-nav{
        display:grid;
        grid-template-columns:1fr 1fr 1fr;
        gap:8px;
    }

    .auth-topbar-link{
        width:100%;
        min-width:0;
        padding:10px 8px;
        font-size:12px;
    }
}

@media (max-width:380px){
    .auth-form-panel{
        padding:18px 14px;
    }

    .auth-form-top h2{
        font-size:24px;
    }

    .auth-mini-label{
        font-size:12px;
    }
}