/* =========================
   GENERAL RESET
========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7f6;
    color: #333;
}


a{
    text-decoration: none;
}


/* =========================
   MAIN LOGIN SECTION
========================= */

.login-section{
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1fr 1fr;
}


/* =========================
   LEFT BANNER
========================= */

.login-banner{

    position: relative;

    background:
        url("images/login-bg.jpg")
        center/cover no-repeat;

    color: #fff;

    min-height: 100vh;
}


.banner-overlay{

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            rgba(5, 74, 33, 0.96),
            rgba(11, 93, 42, 0.82)
        );
}


.banner-content{

    position: relative;

    z-index: 2;

    height: 100%;

    min-height: 100vh;

    padding: 50px 70px;

    display: flex;

    flex-direction: column;
}


/* =========================
   BACK HOME
========================= */

.back-home{

    color: #fff;

    font-size: 14px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    transition: 0.3s;
}


.back-home:hover{

    transform: translateX(-5px);

}


/* =========================
   BRAND
========================= */

.brand{

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 80px;

}


.brand img{

    width: 75px;

    height: 75px;

    object-fit: contain;

}


.brand h1{

    font-size: 30px;

    letter-spacing: 1px;

}


.brand p{

    margin-top: 4px;

    font-size: 15px;

    opacity: 0.9;

}


.brand span{

    font-size: 13px;

    opacity: 0.8;

}


/* =========================
   WELCOME TEXT
========================= */

.welcome-text{

    margin-top: auto;

    margin-bottom: auto;

    max-width: 550px;

}


.welcome-text h2{

    font-size: 48px;

    margin-bottom: 20px;

}


.welcome-text p{

    font-size: 17px;

    line-height: 1.8;

    opacity: 0.9;

}


/* =========================
   BANNER FOOTER
========================= */

.banner-footer{

    font-size: 13px;

    opacity: 0.7;

}


/* =========================
   LOGIN CONTAINER
========================= */

.login-container{

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 30px;

}


.login-box{

    width: 100%;

    max-width: 480px;

}


/* =========================
   MOBILE LOGO
========================= */

.mobile-logo{

    display: none;

    text-align: center;

    margin-bottom: 35px;

}


.mobile-logo img{

    width: 65px;

    margin-bottom: 10px;

}


.mobile-logo h2{

    color: #0b5d2a;

}


/* =========================
   LOGIN HEADER
========================= */

.login-header{

    margin-bottom: 35px;

}


.login-header span{

    color: #0b5d2a;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

}


.login-header h2{

    font-size: 36px;

    margin: 10px 0;

    color: #222;

}


.login-header p{

    color: #777;

}


/* =========================
   FORM
========================= */

.form-group{

    margin-bottom: 25px;

}


.form-group label{

    display: block;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 9px;

}


.input-box{

    position: relative;

    display: flex;

    align-items: center;

}


.input-box > i{

    position: absolute;

    left: 15px;

    color: #0b5d2a;

}


.input-box input{

    width: 100%;

    height: 52px;

    padding: 0 45px;

    border: 1px solid #ddd;

    border-radius: 6px;

    outline: none;

    font-size: 14px;

    transition: 0.3s;

}


.input-box input:focus{

    border-color: #0b5d2a;

    box-shadow:
        0 0 0 3px
        rgba(11, 93, 42, 0.08);

}


/* =========================
   PASSWORD TOGGLE
========================= */

.toggle-password{

    position: absolute;

    right: 12px;

    border: none;

    background: transparent;

    cursor: pointer;

    color: #777;

    font-size: 16px;

}


/* =========================
   LOGIN OPTIONS
========================= */

.login-options{

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

    font-size: 14px;

}


.remember-me{

    display: flex;

    align-items: center;

    gap: 7px;

    cursor: pointer;

}


.remember-me input{

    accent-color: #0b5d2a;

}


.login-options a{

    color: #0b5d2a;

    font-weight: 600;

}


.login-options a:hover{

    text-decoration: underline;

}


/* =========================
   LOGIN BUTTON
========================= */

.login-btn{

    width: 100%;

    border: none;

    background: #0b5d2a;

    color: #fff;

    padding: 16px;

    border-radius: 6px;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

}


.login-btn i{

    margin-left: 8px;

}


.login-btn:hover{

    background: #083f1d;

    transform: translateY(-2px);

}


/* =========================
   DIVIDER
========================= */

.divider{

    display: flex;

    align-items: center;

    text-align: center;

    color: #999;

    margin: 30px 0;

}


.divider::before,
.divider::after{

    content: "";

    flex: 1;

    height: 1px;

    background: #e5e5e5;

}


.divider span{

    padding: 0 15px;

    font-size: 12px;

}


/* =========================
   REGISTER LINK
========================= */

.register-link{

    text-align: center;

}


.register-link p{

    color: #777;

    margin-bottom: 8px;

}


.register-link a{

    color: #0b5d2a;

    font-weight: bold;

}


.register-link a:hover{

    text-decoration: underline;

}


/* =========================
   LOGIN HELP
========================= */

.login-help{

    text-align: center;

    margin-top: 35px;

    font-size: 13px;

    color: #888;

}


.login-help a{

    color: #0b5d2a;

    font-weight: 600;

}


/* =========================
   TABLET RESPONSIVENESS
========================= */

@media(max-width: 992px){

    .banner-content{

        padding: 40px;

    }


    .welcome-text h2{

        font-size: 40px;

    }


    .brand h1{

        font-size: 25px;

    }

}


/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media(max-width: 768px){

    .login-section{

        grid-template-columns: 1fr;

    }


    .login-banner{

        display: none;

    }


    .login-container{

        min-height: 100vh;

        padding: 40px 25px;

    }


    .mobile-logo{

        display: block;

    }


    .login-header{

        text-align: center;

    }


    .login-header h2{

        font-size: 30px;

    }

}


/* =========================
   SMALL MOBILE
========================= */

@media(max-width: 480px){

    .login-container{

        padding: 30px 20px;

    }


    .login-header h2{

        font-size: 26px;

    }


    .login-options{

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

}