/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

/* BODY */
body{
    background:#f3f4f6;
}

/* CONTAINER */
.login-container{
    display:flex;
    height:100vh;
}

/* LEFT SIDE (FIXED BACKGROUND IMAGE) */
.left-side{
    width:50%;
    height:100vh;

    background-image: url('https://tutorhub.one/assets/images/ok.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}

/* OPTIONAL OVERLAY (para mas readable) */
.left-side::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.2);
}

/* RIGHT SIDE */
.right-side{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f9fafb;
}

/* CARD */
.login-card{
    width:380px;
    background:#ffffff;
    padding:35px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    text-align:center;
    transition:0.3s;
}

/* HOVER EFFECT */
.login-card:hover{
    transform:translateY(-3px);
}

/* TEXT */
.login-card h2{
    margin-bottom:5px;
    font-weight:600;
    color:#111827;
}

.login-card p{
    font-size:14px;
    margin-bottom:20px;
    color:#6b7280;
}

/* ERROR */
.error-msg{
    color:#dc2626;
    font-size:14px;
    margin-bottom:10px;
}

/* INPUT */
.input-group{
    margin-bottom:15px;
}

.input-group input{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid #e5e7eb;
    outline:none;
    background:#fff;
    color:#111827;
    transition:0.25s;
}

/* INPUT FOCUS */
.input-group input:focus{
    border-color:#406bc8;
    box-shadow:0 0 0 3px rgba(64,107,200,0.1);
}

/* PASSWORD */
.password-field{
    position:relative;
}

.toggle-pass{
    position:absolute;
    right:10px;
    top:12px;
    cursor:pointer;
    color:#6b7280;
}

/* BUTTON */
.login-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#406bc8;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.login-btn:hover{
    background:#5e86ff;
    transform:translateY(-1px);
    box-shadow:0 5px 15px rgba(94,134,255,0.3);
}

/* LINKS */
.login-links{
    margin-top:15px;
}

.login-links a{
    display:block;
    font-size:13px;
    color:#374151;
    text-decoration:none;
    margin-top:5px;
}

.login-links a:hover{
    color:#406bc8;
}

/* MOBILE */
@media(max-width:768px){
    .login-container{
        flex-direction:column;
    }

    .left-side{
        width:100%;
        height:200px;
    }

    .right-side{
        width:100%;
        height:calc(100vh - 200px);
    }
}