/* Center the whole login-page */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo{
    width: 250px;
    height: 250px;

}
/* Layout of login-page */
.login-page {
    display: flex;
    width: 70%;
    height: 500px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Left side (Logo + Welcome) */
.left-side {
    flex: 1;
    background-color: #f0faf6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


/* Right side (Background + Form) */
.right-side {
    flex: 1;
    background-image: url('/static/authenticate/images/leaf_background.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form container */
.form-container {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    text-align: center;
}

/* Form fields */
.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: white;
    border-radius: 5px;
    padding: 5px 10px;
}
.input-group input {
    flex: 1; 
    border: none; 
    outline: none; 
    padding: 10px;
    font-size: 16px;
    background: transparent;
}
.input-group-text {
    margin-right: 10px;
}

/* Buttons */
.btn-login {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #218838;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-login:hover {
    background-color: #1e7e34;
}

/* Headings */
h2, h3 {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .left-side, .right-side {
        width: 100%;
        height: auto;
    }

    .left-side {
        padding: 30px 20px;
    }

    .right-side {
        padding: 30px 20px;
        background-image: none; 
        background-color: #2a852a; 
    }

    .form-container {
        background: rgba(255, 255, 255, 0.9);
        width: 100%;
        padding: 20px;
    }

    .btn-login {
        padding: 12px;
        font-size: 16px;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    h2, h3 {
        font-size: 24px;
    }
    .input-group input{
        border-bottom: 1px solid rgb(46, 45, 45);
        padding-right:0px ;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 15px;
    }

    h2, h3 {
        font-size: 20px;
    }

    .btn-login {
        font-size: 14px;
    }
}