@import url("https://fonts.googleapis.com/css?family=Poppins:300,300i,400,400i,500,600&display=swap");

:root {
    --color-primary: #4a66ac !important
}

body.page-login {
    font-family: 'Poppins', sans-serif;
    background: -moz-linear-gradient(-45deg, #fff 0%, #d6d6d6 100%);
    background: -webkit-linear-gradient(-45deg, #fff 0%, #d6d6d6 100%);
    background: linear-gradient(135deg, #fff 0%, #d6d6d6 100%);
    background-size: 600%;
    background-position: 0 0;
    min-height: 100vh;
    position: relative;
    z-index: 999;
    overflow: auto;
    background: #ccc
}

.page-login:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: -1;
    background-image: url("../images/login-background.jpg");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover
}

.image-section {
    background: linear-gradient(135deg, #297fd5 0%, #4a66ac 100%)
}

.image-section img {
    width: 90%;
    margin: 0 auto
}

.image-section:hover {
    filter: none
}

.login-custom-content {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem;
    height: auto;
    flex-direction: column;
    background: #fff;
    width: 500px;
    max-width: 100%;
    text-align: center
}

.login-custom-content a {
   color: #7f8489;
    text-decoration: none;
    font-weight: 400;
    background-color: transparent
}

.login-custom-content .btn-primary,
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):focus {
    background-color: #4a66ac;
    color: var(--text-on-primary)
}

.login-custom-content .login-wrapper {
    flex-direction: column;
    text-align: center;
    width: 100%
}

.login-custom-content .login-wrapper .content {
    padding: 0;
    width: 100%;
    box-shadow: none;
    background: transparent
}

.form-group {
    padding: 0;
    padding-bottom: 15px
}

.form-group.field-button {
    padding-bottom: 5px
}

.login-wrapper .form-widget input {
    width: 100%;
    max-width: 100%;
    font-size: var(--font-size-base)
}

.logo img {
    max-width: 200px !important;
    margin: 0 auto 1.5rem;
    text-align: center;
    display: block;
    padding: 5px;
    border-radius: 10px
}

.login-form-content .form-control {
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0px 3px 6px 0px rgba(204, 142, 142, 0.05);
    height: 42px
}

.login-form-content label {
    color: #212121;
    font-size: 1rem;
    text-transform: capitalize
}

@media (min-width: 768px) {
    .py-md-9 {
        padding-bottom: 8rem !important;
        padding-top: 8rem !important
    }
}

.login-custom-content>.row,
.login-custom-content>.row>div {
    width: 100%
}

.login-wrapper .main-header #header-logo {
    margin-top: 15px
}

.main-header #header-logo a img {
    /* max-width: 160px !important;
    padding: 0 30px;
    background: #4a66ac */
    margin: 0;
}

@media screen and (max-width: 480px) {
    .login-wrapper .main-header {
        margin-bottom: 0 !important
    }

    .main-header #header-logo a img {
        max-width: 110px !important;
        padding: 0 20px
    }

    .login-custom-content>.row>div {
        padding: 30px !important
    }
}

.unstyled-errors ul {
    list-style: none;
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 5px
}

/* edit by M.hassan o_O */

/* .easyadmin.page-login {
    background: red !important;
} */

.login-custom-content {
    width: 700px;
}

.welcome-box-lrm {
    flex: 1;
    background: linear-gradient(to bottom, #00b8a9, #1e3c72);
    color: white;
    padding: 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    height: 100%;
    margin-right: -15px;
    margin-left: -15px;
}


.welcome-box-lrm h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 22px;
    text-transform: capitalize;
}

.welcome-box-lrm h5 {
    color: #fff;
    margin-bottom: 16px;
}

.welcome-box-lrm h2 span {
    font-weight: bold;
}

.welcome-box-lrm p {
    font-size: 12px;
    line-height: 1.5;
}

.login-wrapper .field-button button {
    width: 170px;
    padding: 7px;
    background: linear-gradient(to bottom, #00b8a9, #1e3c72);
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 16px;
    font-size: 16px;
    cursor: pointer;
}

.login-wrapper .form-group.field-button{
    justify-content: center;
}

@media (max-width:767px){
    body.page-login{
        height: auto;
        min-height: auto;
    }
    
    .mb-lrm{
        flex-direction: column-reverse !important;
    }
    
    .welcome-box-lrm{
        padding: 20px 40px;
        border-radius: 8px;
    }
}

@media (max-width:480px){
    .welcome-box-lrm{
        margin: -30px;
        padding: 30px 40px;
    }
}
