﻿body {
    margin: 0;
    padding: 0;
    background-image: url("../../img/background.svg");
    background-size: cover;
    color: black !important;
}

button, label, a {
    font-family: "Poppins", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
}

h3 {
    color: black !important;
}

.login-body {
    height: 100vh;
    width: 100%;
}

.form-check .form-check-input:not(:checked) {
    background: white;
}

input[type='text'],
input[type='password'] {
    background: white !important;
    border: 0.8px solid #D5D5D5 !important;
    padding-block: 15px !important;
    color: #2f3349 !important;
}

.login-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.login-form-content {
    flex: 1;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    flex-direction: column;
}

    .login-form-content.blur {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        background: rgba(108,111,128,0.25);
        background: linear-gradient(160deg, rgba(108,111,128,0.25) 0%, rgba(171,172,175,.25) 100%);
        border-left: 2px solid rgba(255,255,255,0.1);
    }

.login-form {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
}

.login-form {
    flex: 1;
    height: 100vh;
    overflow-y: scroll;
    max-width: 700px;
}

    .login-form::-webkit-scrollbar {
        display: none;
    }

.login-form-content .logo-wrapper {
    margin-top: 2rem;
}

.login-form-content .inputs-wrapper {
    margin-top: 3rem;
    width: 100%;
}

.login-form-content .actions-wrapper {
    margin-top: 3rem;
    width: 100%;
}

.login-form-content .logo-wrapper img {
    max-width: 100%;
}

@media screen and (min-width: 1300px) {
    .login-form-content.blur {
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    background-color: #2f3349 !important;
    -webkit-text-fill-color: white !important;
    border: 0.8px solid #D5D5D5 !important;
    -webkit-box-shadow: 0 0 0px 1000px #2f3349 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

input[type='text']:focus,
input[type='password']:focus {
    color: black !important;
    background: white !important;
    border: 0.8px solid #D5D5D5 !important;
}

.dark-mode .custom-control-label::before,
.dark-mode .custom-file-label,
.dark-mode .custom-file-label::after,
.dark-mode .custom-select,
.dark-mode .form-control:not(.form-control-navbar):not(.form-control-sidebar),
.dark-mode .input-group-text {
    background-color: rgba(30,34,47,0.70);
    color: #fff;
    font-size: .875rem;
    padding: 1.3rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
}

label {
    font-size: .875rem;
}

.form-group {
    margin-bottom: 1.875rem;
}

.dark-mode .btn-primary {
    color: #fff;
    padding: 0.75rem;
}

@media screen and (min-width: 1300px) {
    .login-info-content {
        display: block;
    }
}

.password-toggle {
    display: flex;
    justify-content: space-between;
    align-items:center;
    margin-top: 0.5rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    transition: 0.2s all ease;
    padding-right: 12px;
    font-weight: 300;
    font-size: 14px;
}

    .password-toggle:hover span[data-password-show] {
        opacity: 0.8;
    }

.list-group.list-group-language {
    margin-top: 3rem;
}

    .list-group.list-group-language .flag-icon {
        line-height: 2em;
    }

.authentication-wrapper .card {
    background: white;
}

.authentication-inner:after,
.authentication-inner:before {
    display: none !important;
}

.authentication-wrapper .avatar {
    width: 55% !important;
}

.authentication-wrapper .img {
    width: 100%;
    height: 100%;
}

.header-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.signin-problem-text {
    color: #AEAEAE !important;
    font-weight: 100 !important;
}

.contact-link {
    text-decoration: underline !important;
    color: #2D3748;
    font-weight: 400 !important;
}

.welcome-text {
    font-weight: 400;
    font-size: 16px;
}

.form-check {
    font-weight: 400;
    font-size: 16px;
    color: #2D3748;
}

.nav-link {
    justify-content: center;
}

.dropdown-menu dropdown-menu-primary {
    transform: translate3d(138px, 520px, 0px);
}

.authentication-wrapper.authentication-basic .authentication-inner {
    max-width: 500px !important;
}

    .authentication-wrapper.authentication-basic .authentication-inner .card {
        padding: 1rem 2rem;
    }

@media (max-width: 300px) {
    .authentication-wrapper .avatar {
        width: 80% !important;
    }

    .authentication-wrapper.authentication-basic .card-body {
        padding: 1rem !important;
    }

    h3 {
        font-size: 18px !important;
    }

    input[type='text'],
    input[type='password'] {
        height: 40px !important;
    }

    button {
        height: 40px !important;
        background: #5B449B !important;
    }


    app-brand, h3, h4 {
        margin: 0 !important
    }
}

@media (max-width: 420px) {
    .authentication-wrapper.authentication-basic .authentication-inner {
        max-width: 250px !important;
        max-height: 50% !important;
    }

    .authentication-wrapper.authentication-basic .authentication-inner .card{
       padding:0 !important;
    }

    .authentication-wrapper .avatar {
        width: 80% !important;
    }

    .authentication-wrapper.authentication-basic .card-body {
        padding: 2rem !important;
    }

    h3 {
        font-size: 16px !important;
    }

    h3, h4{
        margin:0 !important
    }

    input[type='text'],
    input[type='password'] {
        height: 40px !important;
    }

    button {
        height: 40px !important;
    }

    .password-toggle span,
    .password-toggle label{
        font-size:12px !important;
    }
}

@media (max-width: 900px) {

    .authentication-wrapper.authentication-basic .authentication-inner {
        max-width: 450px !important;
    }

        .authentication-wrapper.authentication-basic .authentication-inner .card {
            padding: 1rem 2rem;
        }
}
