*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f4f6fb;
}

/* MAIN LAYOUT */
.container{
    display:flex;
    height:100vh;
    width:100%;
}

/* LEFT SIDE */
.left{
    width:58%;
    position:relative;
    background:url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d') center/cover no-repeat;
}

.left::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(10,20,50,0.88);
}

.overlay{
    position:relative;
    height:100%;
    padding:50px;
    color:white;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.logo{
    width:140px;
    margin-bottom:25px;
}

h1{
    font-size:46px;
    line-height:1.2;
}

h1 span{
    color:#ff2d2d;
}

p{
    margin-top:15px;
    opacity:0.85;
    font-size:15px;
    line-height:1.5;
}

/* CARDS */
.cards{
    margin-top:40px;
    display:flex;
    gap:15px;
}

.card{
    width:200px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    padding:18px;
    border-radius:14px;
    color:white;
    backdrop-filter:blur(8px);
}

.card h3{
    font-size:16px;
    margin-bottom:10px;
}

.card p{
    font-size:12px;
    opacity:0.8;
}

/* RIGHT SIDE */
.right{
    width:42%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f4f6fb;
}

.login-box{
    width:380px;
    background:white;
    padding:40px;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,0.12);
    text-align:center;
}

.mini-logo{
    width:80px;
    margin-bottom:10px;
}

h2{
    font-size:26px;
}

.sub{
    font-size:13px;
    color:gray;
    margin-bottom:25px;
}

/* INPUT */
.input-box{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    margin-top:12px;
    background:#fff;
}

.input-box input{
    border:none;
    outline:none;
    width:100%;
}

/* OPTIONS */
.options{
    display:flex;
    justify-content:space-between;
    font-size:12px;
    margin-top:15px;
    color:gray;
}

.options a{
    color:#ff2d2d;
}

/* BUTTON */
button{
    width:100%;
    padding:12px;
    margin-top:20px;
    border:none;
    border-radius:10px;
    background:linear-gradient(90deg,#ff1e1e,#d40000);
    color:white;
    font-weight:600;
}

/* FOOTER */
.footer{
    font-size:12px;
    margin-top:20px;
    color:gray;
}

/* 🔥 MOBILE VIEW (IMPORTANT) */
@media(max-width:900px){

    .container{
        flex-direction:column;
    }

    .left{
        display:none;   /* 🔥 ONLY LOGIN CARD */
    }

    .right{
        width:100%;
        height:100vh;
    }

    .login-box{
        width:90%;
    }
}
@media (max-width: 900px){

    .container{
        flex-direction: column;
        height: auto;
        overflow-x: hidden;
    }

    .left{
        display: none;
    }

    .right{
        width: 100%;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .login-box{
        width: 100%;
        max-width: 380px;
        padding: 25px;
        border-radius: 15px;
    }

    h2{
        font-size: 22px;
    }

    .sub{
        font-size: 12px;
    }

    button{
        font-size: 14px;
    }
}