*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f8f8f8;
    min-height:100vh;
}

.container{
    display:flex;
    min-height:100vh;
}

/* LEFT SIDE */

.left-panel{
    flex:1;
    position:relative;
    background:url('../images/left-panel-bg-img.jpg')
    center center/cover no-repeat;
    color:white;
    padding:40px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
}

.logo,
.testimonial{
    position:relative;
    z-index:2;
}

.logo img{
    width: 150px;
}

.testimonial h2{
    max-width:420px;
    font-size:38px;
    line-height:1.2;
    margin-bottom:30px;
}

.author h4{
    font-size:18px;
    margin-bottom:5px;
}

.author p{
    font-size:14px;
    opacity:.8;
}

/* RIGHT SIDE */

.right-panel{
    flex:1;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}

.login-box{
    width:100%;
    max-width:420px;
}

.login-box h1{
    text-align:center;
    font-size:36px;
    margin-bottom:10px;
    color:#222;
}

.subtitle{
    text-align:center;
    color:#777;
    margin-bottom:35px;
    font-size:14px;
}

.input-group{
    margin-bottom:18px;
}

.input-group label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    color:#555;
}

.input-group input{
    width:100%;
    height:50px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 15px;
    outline:none;
    transition:.3s;
}

.input-group input:focus{
    border-color:#6f58ff;
    box-shadow:0 0 0 3px rgba(111,88,255,.15);
}

.forgot{
    display:inline-block;
    color:#6f58ff;
    font-size:14px;
    margin-bottom:20px;
    text-decoration:none;
}

.remember{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    color:#777;
    font-size:14px;
}

/* Toggle */

.switch{
    position:relative;
    width:52px;
    height:28px;
}

.switch input{
    display:none;
}

.slider{
    position:absolute;
    inset:0;
    background:#ccc;
    border-radius:30px;
    cursor:pointer;
}

.slider:before{
    content:"";
    position:absolute;
    width:22px;
    height:22px;
    left:3px;
    top:3px;
    background:white;
    border-radius:50%;
    transition:.3s;
}

.switch input:checked + .slider{
    background:#6f58ff;
}

.switch input:checked + .slider:before{
    transform:translateX(24px);
}

/* Buttons */

.login-btn{
    width:100%;
    height:52px;
    border:none;
    border-radius:30px;
    background:#6f58ff;
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    margin-bottom:25px;
}

.login-btn:hover{
    background:#5c46ec;
}

.divider{
    position:relative;
    text-align:center;
    margin-bottom:25px;
}

.divider::before{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    width:100%;
    height:1px;
    background:#eee;
}

.divider span{
    background:#fff;
    position:relative;
    padding:0 15px;
    color:#999;
    font-size:13px;
}

.google-btn{
    width:100%;
    height:52px;
    border:none;
    background:#f5f5f5;
    border-radius:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
    font-weight:500;
}

.google-btn img{
    width:20px;
}

.signup{
    text-align:center;
    margin-top:25px;
    color:#777;
    font-size:14px;
}

.signup a{
    color:#6f58ff;
    text-decoration:none;
    font-weight:600;
}

/* RESPONSIVE */

@media(max-width:992px){

    .container{
        flex-direction:column;
    }

    .left-panel{
        min-height:350px;
    }

    .testimonial h2{
        font-size:28px;
    }
}

@media(max-width:576px){

    .right-panel{
        padding:25px;
    }

    .login-box h1{
        font-size:28px;
    }

    .subtitle{
        font-size:13px;
    }

    .remember{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }
}