*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f4f7fb;
}

.auth-page{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:100vh;
}

/* HERO */
.auth-hero{
    background:linear-gradient(135deg,#0b3557,#2563eb,#1d4ed8);
    background-size:300% 300%;
    animation:gradientMove 10s ease infinite;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px;
    position:relative;
    overflow:hidden;
}

.auth-hero::before,
.auth-hero::after{
    content:'';
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    animation:floatBlob 8s ease-in-out infinite;
}

.auth-hero::before{
    width:350px;
    height:350px;
    top:-100px;
    left:-100px;
}

.auth-hero::after{
    width:280px;
    height:280px;
    bottom:-80px;
    right:-80px;
}

.hero-content{
    max-width:480px;
    z-index:2;
}

.hero-content h1{
    font-size:46px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:17px;
    opacity:.9;
    line-height:1.7;
}

.hero-badges{
    margin-top:30px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.hero-badges span{
    background:rgba(255,255,255,.12);
    padding:12px 18px;
    border-radius:14px;
    backdrop-filter:blur(10px);
}

/* FORM */
.auth-container{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:50px;
}

.auth-tabs{
    display:flex;
    margin-bottom:25px;
    gap:12px;
}

.auth-tabs button{
    flex:1;
    padding:14px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-weight:700;
    background:#eef2ff;
    color:#2563eb;
}

.auth-tabs button.active{
    background:#2563eb;
    color:white;
}

.form-box{
    display:none;
    animation:fadeUp .4s ease;
}

.form-box.active{
    display:block;
}

.form-box h2{
    margin-bottom:25px;
    color:#0b3557;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

input,
select,
textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid #dbe2ea;
    border-radius:14px;
    outline:none;
    font-size:14px;
}

textarea{
    min-height:100px;
    resize:none;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.full-width{
    grid-column:1/-1;
}

.submit-btn{
    width:100%;
    margin-top:20px;
    padding:15px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#0b3557,#2563eb);
    color:white;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.submit-btn:hover{
    transform:translateY(-3px);
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes gradientMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

@keyframes floatBlob{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(25px);}
}

@media(max-width:992px){
    .auth-page{
        grid-template-columns:1fr;
    }

    .auth-hero{
        padding:40px 25px;
        text-align:center;
    }

    .form-grid{
        grid-template-columns:1fr;
    }
}