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

:root {
    --primary: #198754;
    --secondary: #f9a825;
    --text: #333;
    --light: #f5f5f5;
    --white: #fff;
    --grey-color: #707070;
    --grey-color-light: #d9d9d9;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.full-page-container {
    display: flex;
    height: 100vh;
}

.login-side {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-side {
    width: 50%;
    background: url('../img/login.jpg') center/cover no-repeat;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 40px;
}

.image-overlay h1 {
    font-size: 50px;
}

.welcome-text svg {
    width: 8rem;
    margin-top: -5rem;
    margin-bottom: 3rem;
}

.login-form {
    width: 100%;
    max-width: 500px;
}

.form-label {
    margin-bottom: 1.5rem !important;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #a7a8a9 !important;
}

.input-group-text {
    background: none !important;
}

.text-red {
    color: red;
}

.input-group input, .login-btn {
    height: 50px;
}

.login-btn {
    background: var(--primary-color) !important;
}

#togglePassword {
    background: var(--white);
    border: 1px solid #dee2e6;
    border-left: none;
}

.forgot-password-link {
    color: var(--grey-color);
    text-decoration: none;
}


.forgot-password-link:hover {
    text-decoration: underline;
}

#globalToast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
}

@media (max-width: 992px) {
    #logoSoumawale {
        width: 90%;
        max-width: 250px;
    }
    .full-page-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-side {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }

    .image-side {
        width: 100%;
        height: 40vh;
    }

    .image-overlay {
        padding: 20px;
    }

    .image-overlay h1 {
        font-size: 30px;
    }

    .image-overlay p {
        font-size: 16px;
    }

    .login-form {
        max-width: 100%;
    }

    .welcome-text img {
        width: 80%;
    }

    .input-group input,
    .login-btn {
        height: 45px;
    }

    #togglePassword {
        padding: 10px;
    }
}

@media (max-width: 576px) {

    #logoSoumawale {
        width: 80%;
        max-width: 200px;
    }

    .image-side {
        height: 30vh;
    }

    .image-overlay h1 {
        font-size: 24px;
    }

    .image-overlay p {
        font-size: 14px;
    }

    .login-side {
        padding: 30px 15px;
    }

    .form-label {
        font-size: 14px;
    }

    .input-group-text {
        font-size: 14px;
    }

    .forgot-password-link {
        font-size: 13px;
    }
}
