﻿body, html {
    height: 100%;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.login-wrapper {
    display: flex;
    height: 100vh;
}

.login-left {
    flex: 1.3;
    background-image: url('../images/login_background.jpg'); /* Replace with your own forest image */
    background-size: cover;
    background-position: center;
}

.login-right {
    flex: 0.7;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
input.form-control {
    width: 100%;
    padding: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
}

    input.form-control:focus {
        border-color: #66afe9;
        box-shadow: 0 0 4px rgba(102, 175, 233, 0.6);
    }


.login-container {
    width: 100%;
    max-width: 350px;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center child inline/inline-block elements horizontally */
}

.login-container img {
    height: 50px;
    margin-bottom: 30px;
    filter: drop-shadow(0px 5px 3px rgba(0, 0, 0, 0.5));
    display: inline-block; /* Already correct */
}

.login-container h2 {
    margin-bottom: 30px;
    font-weight: 600;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 14px;
    font-weight: bold;
    color: #758D9C;
    cursor: pointer;
    padding: 0;
}

    .login-container input[type="text"],
    .login-container input[type="password"],
    .login-container .btn-login {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 14px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        background-color: #F2F4F8;
        font-size: 15px;
    }

.login-container .login-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        margin-bottom: 20px;
    }

.login-container .login-options input {
    margin-right: 5px;
}

.login-container .btn-login {
    width: 100%;
    padding: 12px;
    background-color: #758D9C;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 0; /* To prevent extra spacing */
}

.login-container .btn-login:hover {
    background-color: #5a747b;
}

.forgot-link {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    margin-left: auto; /* Push the link to the right */
}

.forgot-link:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
    text-align: left; /* Makes sure labels align to the left */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}
/**********/
/*

    for reset pasword if needed

.login-container .btn-login {
    background-color: #6d8991;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}





*/
/***********/


.text-danger {
    color: #dc3545 !important; /* Bootstrap danger red */
    font-weight: 700; /* bold */
}
.input-validation-error {
    border: 2px solid #dc3545;
}
.login-warning {
    color: #dc3545;
    font-weight: 700;
    border: 2px solid #dc3545;
    background-color: #fff5f5;
}
.alert-danger {
    font-weight: 700;
}
