.login-form-bg {
    background: url(../../images/login-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    position: relative;
    min-height: 100vh;
    height: auto;
    padding:2em;
}

.login-bg-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    background: linear-gradient(270deg, #0e4a7f, #d81b60);
    background-size: 400% 400%;
    -webkit-animation: bganimate 14s ease infinite;
    -moz-animation: bganimate 14s ease infinite;
    animation: bganimate 14s ease infinite;
}

@-webkit-keyframes bganimate {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes bganimate {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes bganimate {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}


.login-form__title {
    color: #515E75;
    margin-bottom: 20px;
}

.login-form__btn {
    background: #455F98;
    color: #fff;
    padding: 13px 40px;
    font-size: 14px;
}

.login-form__btn i,
.login-form__btn span {
    font-size: 16px;
    padding-right: 5px;
}

.login-form__btn.submit {
    padding: 15px 40px;
    background: var(--primary);
    font-weight: 700;
}

.login-form__intro p,
.login-form__intro h4 {
    margin-bottom: 0;
    color: #6A7890;
}

.login-form__intro h4 {
    padding: 10px 0;
}

.login-form__intro a {
    color: #596A81;
    text-decoration: underline;
}

.login-input .form-group {
    margin-bottom: 30px;
}

.login-input .form-group label {
    color: #505F76;
    font-size: 15px;
}

/* Login Select Custome */
.login-form__select .select2-container--default .select2-selection--single {
    background: transparent;
    border-width: 1px;
    color: #fff;
}

.login-form__select .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent;
}

.login-form__select .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
}

.login-form__group {
    position: relative;
    margin-bottom: 40px;
}

.login-form__group .icon{
    position: absolute;
    top: 50%;
    right: 10px;
    color: white;
    transform: translateY(-50%);
}

.login-form-footer a {
    padding: 7px 20px;
    border: 1px solid white;
    border-radius: 20px;
    color: white;
}

.login-form-footer a:hover {
    background: var(--primary);
    border-color: var(--primary)
}

input.login-form__input,
select.login-form__input {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    -webkit-appearance: none;
    display: block;
    background: transparent;
    color: #fff;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #ddd;
}

input:focus {
    outline: none;
}


/* Label */

label {
    color: #ddd;
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: all 0.2s ease;
}

/* active */

input:focus~label,
input.used~label {
    top: -20px;
    transform: scale(.85);
    left: -2px;
    /* font-size: 14px; */
    color: #fff;
}

/* Underline */

.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before,
.bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #fff;
    transition: all 0.2s ease;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}


/* active */

input:focus~.bar:before,
input:focus~.bar:after {
    width: 50%;
}


/* Highlight */

.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}


/* active */

input:focus~.highlight {
    animation: inputHighlighter 0.3s ease;
}


/* Animations */

@keyframes inputHighlighter {
    from {
        background: #4a89dc;
    }

    to {
        width: 0;
        background: transparent;
    }
}

/* Ripples container */

.ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}


/* Ripples circle */

.ripplesCircle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.ripples.is-active .ripplesCircle {
    animation: ripples .4s ease-in;
}


/* Ripples animation */

@keyframes ripples {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
}

@media screen and (max-height: 640px) {
    .login-form-bg.h-100 {
        min-height: 100vh !important;
    }
}