@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4fff7;
}

/* ===================================
   MAIN CONTAINER
=================================== */

.login-container{
    display:flex;
    min-height:100vh;
}

/* ===================================
   LEFT SIDE
=================================== */

.login-left{
    width:50%;
    background:
    linear-gradient(rgba(21,128,61,0.88),rgba(34,197,94,0.85)),
    url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?q=80&w=1400');

    background-size:cover;
    background-position:center;
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:60px;
    color:#fff;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.15);
}

.left-content{
    position:relative;
    z-index:2;
    max-width:520px;
}

.left-content h1{
    font-size:54px;
    font-weight:700;
    margin-bottom:22px;
    line-height:1.2;
}

.left-content p{
    font-size:18px;
    line-height:1.9;
    opacity:0.96;
}

/* ===================================
   RIGHT SIDE
=================================== */

.login-right{
    width:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
    background:#f4fff7;
}

/* ===================================
   LOGIN CARD
=================================== */

.login-card{
    width:100%;
    max-width:430px;

    background:#fff;

    border-radius:28px;

    padding:45px;

    box-shadow:0 15px 40px rgba(0,0,0,0.08);

    position:relative;
    overflow:hidden;
}

.login-card::before{
    content:'';

    position:absolute;

    width:180px;
    height:180px;

    background:rgba(34,197,94,0.05);

    border-radius:50%;

    top:-70px;
    right:-70px;
}

/* ===================================
   HEADER
=================================== */

.login-header{
    text-align:center;
    margin-bottom:35px;
    position:relative;
    z-index:2;
}

.login-icon{
    width:85px;
    height:85px;

    background:linear-gradient(135deg,#22c55e,#15803d);

    color:#fff;

    margin:auto;

    border-radius:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;

    box-shadow:0 10px 25px rgba(34,197,94,0.25);
}

.login-icon i{
    font-size:36px;
}

.login-header h2{
    font-size:34px;
    font-weight:700;
    color:#222;
    margin-bottom:10px;
}

.login-header p{
    color:#777;
    font-size:15px;
}

/* ===================================
   FORM
=================================== */

.form-group{
    margin-bottom:22px;
    position:relative;
    z-index:2;
}

.form-group label{
    display:block;
    margin-bottom:10px;
    font-weight:600;
    color:#333;
}

.input-group-custom{
    display:flex;
    align-items:center;

    background:#f7fff9;

    border:1px solid #dcfce7;

    border-radius:14px;

    overflow:hidden;

    transition:0.3s;
}

.input-group-custom:focus-within{
    border-color:#22c55e;

    box-shadow:0 0 0 4px rgba(34,197,94,0.12);
}

.input-group-custom span{
    width:55px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#22c55e;

    font-size:18px;
}

.input-group-custom input{
    width:100%;

    border:none;

    background:transparent;

    padding:16px 15px;

    outline:none;

    font-size:15px;

    color:#222;
}

.input-group-custom input::placeholder{
    color:#999;
}

/* ===================================
   BUTTON
=================================== */

.login-btn{
    width:100%;

    border:none;

    background:linear-gradient(135deg,#22c55e,#15803d);

    color:#fff;

    padding:16px;

    border-radius:14px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s;

    margin-top:10px;

    position:relative;
    z-index:2;
}

.login-btn:hover{
    transform:translateY(-2px);

    box-shadow:0 12px 28px rgba(34,197,94,0.28);
}

/* ===================================
   ERROR
=================================== */

.error-message{
    background:#dcfce7;

    color:#15803d;

    padding:14px;

    border-radius:12px;

    margin-bottom:20px;

    font-size:14px;

    position:relative;
    z-index:2;
}

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:992px){

    .login-left{
        display:none;
    }

    .login-right{
        width:100%;
    }

}

@media(max-width:576px){

    .login-card{
        padding:30px 22px;
    }

    .login-header h2{
        font-size:28px;
    }

    .login-icon{
        width:75px;
        height:75px;
    }

}

