﻿body {
    /*background-image: linear-gradient( rgba(0,0,0,.5), rgba(0,0,0,.5) ),url(../Images/LoginbackgroundImage.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    justify-content: center;*/

    margin: 0;
    padding: 0;
}

a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    outline: none;
    transition: all 0.2s;
}

    a:hover,
    a:focus {
        color: #fdc654;
        transition: all 0.2s;
    }

html {
    height: 100%;
}

.hidden {
    display: none;
}



.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
}

/*.login-container > *{
        flex-grow:1;
    }*/

.login-details {
    background-color: #286fe3;
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-width: 38rem;*/
    flex-grow: 1;
    flex-flow: column;
}

.login-details-inner-container {
    display: flex;
    flex-direction: column;
    min-width: 17rem;
}

.footer-content {
    /*position:absolute;*/
    bottom: 0;
    visibility:hidden;
}
/*.login-card {
    padding: 32px 32px 0;
    box-sizing: border-box;
    text-align: center;
    padding: 1rem 2rem;
    background: #0d152a;
    border-radius: 2rem;
    box-shadow: rgb(0 0 0 / 75%) 0px 3px 8px;
    width: 40vw;
    display: flex;
    height: 100%;
    max-height: 740px;
    max-width: 350px;
    flex-direction: column;
}

.login-card-content {
    flex-grow: 2;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.login-card-footer {
    padding: 32px 0;
}*/

.company-logo {
    /*height:6rem;*/
    display: flex;
    justify-content: center;
    column-gap: 10px;
    margin-bottom: 10px;
}

    .company-logo > div {
        height: 3rem;
        width: 3rem;
        background-color: white;
        border-radius: 50%;
    }

        .company-logo > div > img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .company-logo .customer-logo {
    }


.company-title {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 0.5rem;
    border-radius: 1rem;
}
.company-title .highlight {
    color: #fdc654;
}

.company-title span {
    font-size: 32px;
    margin: 0;
    color: white;
    text-align: center;
}

h3 {
    color: #d61e2d;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}

.header {
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo {
    border-radius: 40px;
    width: 10rem;
    height: 8rem;
    display: flex;
    justify-content: center;
    margin: 0 auto 0px;
    /*background: rgba(255, 255, 255, 0.1);*/
    align-items: center;
}

.LoginBtn {
    --bg-color: white;
    --text-color: #d61e2d;
    background: var(--bg-color);
    margin-top: 2rem;
    display: block;
    color: var(--text-color);
    width: 100%;
    border: none;
    border-radius: 40px;
    padding: 12px 0;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 32px;
    outline: none;
}

    .LoginBtn:hover {
        background: var(--text-color);
        color: var(--bg-color);
    }

.form{
    min-width:16rem;
}

.form-field {
    margin-bottom: 16px;
    width: 100%;
    position: relative;
}

    .form-field .icon {
        position: absolute;
        background: white;
        color: #d61e2d;
        left: 0;
        top: 0;
        display: flex;
        align-items: center;
        height: 100%;
        width: 40px;
        height: 40px;
        justify-content: center;
        border-radius: 20px;
    }

        .form-field .icon:after {
            content: "";
            display: block;
            width: 0;
            height: 0;
            border: 12px solid transparent;
            border-left: 12px solid white;
            position: absolute;
            top: 8px;
            right: -20px;
        }

    .form-field input {
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        width: calc(100% - 2rem);
        border-radius: 16px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        outline: none;
        transition: all 0.2s;
        padding-left: 2rem;
    }



        .form-field input::placeholder {
            color: white;
        }

        .form-field input:hover,
        .form-field input:focus {
            background: white;
            color: #d61e2d;
            transition: all 0.2s;
        }

            .form-field input:hover::placeholder {
                color: #d61e2d;
            }


    .form-field select {
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        width: 102%;
        border-radius: 16px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        outline: none;
        transition: all 0.2s;
        padding-left: 2rem;
    }



        .form-field select::placeholder {
            color: white;
        }

        .form-field select:hover,
        .form-field select:focus {
            background: white;
            color: #d61e2d;
            transition: all 0.2s;
        }

    .form-field input:hover::placeholder {
        color: #d61e2d;
    }


.imgButton {
    --btn-size: 18px;
    width: var(--btn-size);
    height: var(--btn-size);
    margin: 0.5rem 1rem 0.1rem 1rem;
    display: flex;
}

.toggle-to-scan {
    position: absolute;
    top: -25px;
    right: -30px;
    margin:0;
}

    .toggle-to-scan:hover {
        cursor: pointer;
    }

    .toggle-to-scan > * {
        font-size: var(--btn-size);
        color: aqua;
    }


.button {
    background-color: transparent;
    border: none;
    position: absolute;
    width: var(--btn-size);
    cursor: pointer;
}


.imgButton > i {
    position: absolute;
    width: var(--btn-size);
    /*z-index: -100;*/
}

@media only screen and (max-width:826px) {
    .login-card {
        height: 498px;
        width: 330.39px;
    }
}

.login-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

    .login-image > img {
        max-width: 60%;
        height: auto;
        max-height: 90%;
    }

@media only screen and (max-width:945px) {
    .login-image {
        display: none;
    }

    .login-details {
        min-width: 100%;
    }
}

@media only screen and (max-height:590px) {
    .login-image {
        display: none;
    }

    .login-details {
        min-width: 100%;
        overflow-y: auto;
    }
}
