:root{
    --purple:#333333;
    --muted:#7f8c8d;
    --input-border:#d8dbe0;
    --input-radius:10px;
}

html,body{
    height:100%;
    margin:0;
    font-family:"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color:#333;
}

header{
    display:none;
}

.split{
    display:flex;
    min-height:100vh;
}

.left{
    flex:1;
    background:var(--purple);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}

.left img{
    max-width:600px;
    width:80%;
    height:auto;
}

.right{
    flex:1;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 80px;
}

.card{
    max-width:520px;
    width:100%;
}

.title{
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
}

.subtitle{
    margin:0 0 28px 0;
    color:#666;
    line-height:1.4;
}

.form-group{
    margin-bottom:18px;
}

label{
    display:block;
    margin-bottom:8px;
    font-size:13px;
    color:#666;
}

input[type="text"],
input[type="password"]{
    width:100%;
    padding:14px 16px;
    border:1.5px solid var(--input-border);
    border-radius:var(--input-radius);
    font-size:16px;
    box-sizing:border-box;
}

.input-with-icon{
    position:relative;
}

.eye-icon{
    position:absolute;
    right:12px;
    top:65%;
    transform:translateY(-50%);
    width:22px;
    height:22px;
    opacity:0.6;
    cursor:pointer;
    fill:none;
    stroke:#000;
    stroke-width:1.4;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.eye-icon circle{
    r:3;
    cx:12;
    cy:12;
}

.btn{
    display:block;
    width:100%;
    padding:18px;
    margin-top:18px;
    border-radius:999px;
    border:none;
    font-size:16px;
    font-weight:600;
    background:var(--purple);
    color:white;
    cursor:pointer;
}

.link{
    display:block;
    text-align:center;
    margin-top:22px;
    color:var(--purple);
    text-decoration:none;
    font-size:14px;
}

.error-message{
    color:#c0392b;
    margin-bottom:12px;
    font-size:14px;
}
input[type="text"],
input[type="password"],
input[type="email"] {
    width:100%;
    padding:14px 16px;
    border:1.5px solid var(--input-border);
    border-radius:var(--input-radius);
    font-size:16px;
    box-sizing:border-box;
}

@media(max-width:880px){

    header{
        display:flex;
        width:100%;
        background:#333333;
        padding:14px 22px;
        align-items:center;
        justify-content:flex-start;
    }

    header img{
        height:40px;
        width:auto;
    }

    .left{
        display:none;
    }

    .split{
        flex-direction:column;
    }

    .right{
        width:100%;
        padding:20px;
        min-height:auto;
    }

    .card{
        max-width:100%;
        margin:0 auto;
        padding:20px;
    }

    .title{
        font-size:24px;
    }

    .subtitle{
        font-size:14px;
        margin-bottom:20px;
    }

    input[type="text"],
    input[type="password"]{
        font-size:14px;
        padding:12px 14px;
    }

    .btn{
        padding:14px;
        font-size:14px;
    }

    .link{
        font-size:12px;
        margin-top:16px;
    }

    .eye-icon{
        width:20px;
        height:20px;
        top:65%;
    }
}
