:root {
    --width: 458px;
    --height: 458px;
}

* { box-sizing: border-box; }

body {
    height: 100vh;
    background: #efefef linear-gradient(#d9ecff, #f9f9f9);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#myLoginError{ color: #dd4848 ;}

/* left section */
.tenant-info {
    background-image: linear-gradient(0deg, #06459cdb, #00b5ff82);
    background-color: #aeb8c6;
    width: var(--width);
    height: var(--height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;

    .tenant-container{
        position: relative;

        .tenant-name {
            padding: 15px;
            text-align: center;
            color: white;
            font-family: 'Raleway', sans-serif;
            h1{
                font-size: 30px;
            }
        }

        &:after {
            content: "";
            position: absolute;
            width: 40%;
            height: 5px;
            background-color: white;
            left: 30%;

        }

    }
}

/* right section */
.login-info {
    background: #fff;
    width: var(--width);
    height: var(--height);
    display: flex;
    /*align-items: center;*/
    padding: 30px 60px 30px 40px;

    .login-container {

        h1 {
            font-size: 24px;
            font-weight: 600;
            margin: 10px 0;
            color: #707070;

            span {
                color: #4375ba;
                font-size: 27px;
            }
        }

        .login-header {
            margin: 10px 0 0px;

            .border-wrapper span {
                height: 2px;
                width: 100px;
                content: "";
                display: inline-block;
                position: relative;
                background: #4375ba;
                border-radius: 4px;
            }

            .border-wrapper span:nth-child(2) {
                background: #f99f3d;
                margin-left: 10px;
            }
        }
    }
}

form{ width: 100%; }

.input-group { margin-bottom: 1rem; }

label{
    display: block;
    margin-bottom: 2px;
    font-family: 'Roboto', sans-serif;
    color: #707070;
    font-size: 14px;
}

input[type=text], input[type=password] {
    width:100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 2.75rem;
    font-size: 16px;
    background: #f3f6f9;
    transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus {
    border-color: blue;
    box-shadow: 0 0 5px blue;
    outline: none;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.login-btn {
    margin-top: 10px;
    width: 100%;
    padding: 0.55rem;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    height: 2.75rem;
}

.login-btn:hover {
    background-color: #357ae8;
}

.login-btn:disabled {
    background-color: #b0b0b0;
    cursor: not-allowed;
}

.login-btn:not(:disabled):hover {
    background-color: #357ae8;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    color: #666;
}

.eye-off-icon {
    display: none;
}

.password-visible .eye-icon {
    display: none;
}

.password-visible .eye-off-icon {
    display: block;
}


@media (max-width: 932px) {
    body{display: flex; flex-direction: column}
    .tenant-info{ height: fit-content;}
    .login-info{ height: auto;}
    .tenant-info, .login-info{  width: 100%;}
}

