@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    background-image: linear-gradient(135deg, #cf00dd 10%, #0a0067 60%);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* font-family: PT Sans, sans-serif; */
    font-family: Montserrat, sans-serif;
    color: #333333;
}

html {
    font-size: 10px;
    --main-color: #660696;
    --gradient: linear-gradient(135deg, #4a31ff 10%, #061157 100%);
}

.loginLogo {
    width: 300px;
    margin: 10px auto 0;
}

.box-form {
    font-family: Montserrat;
    margin: 20px auto 0;
    width: 80%;
    /* padding: 40px 0; */
    /* height: 70vh; */
    min-height: 700px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex: 1 1 100%;
    align-items: stretch;
    justify-content: space-between;
    box-shadow: 0 0 20px 6px #0c0f9685;
}

.box-form h5 {
    margin-top: 20px;
    font-size: 7rem;
    font-weight: bold;
    background: #cf00dd;
    background: radial-gradient(circle farthest-corner at top left, #cf00dd 27%, #09005d 66%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box-form div {
    height: auto;
}

.box-form .left {
    color: #FFFFFF;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("/assets/images/uli_photo.jpg");
    overflow: hidden;
    width: 100%;
    /* max-width: 800px; */
}

.box-form .left .overlay {
    padding: 30px;
    width: 100%;
    height: 100%;
    background: #00002aad;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: end;
    justify-content: start;
}

.box-form .left .overlay h2 {
    font-size: 5rem;
    line-height: 1;
    font-weight: 700;
    margin-top: 68%;
    margin-bottom: 20px;

    font-family: Gill Sans, sans-serif;
    font-style: italic;
}

.box-form .left .overlay p {
    font-size: 2.2rem;
    max-width: 600px;
}

.box-form .left .overlay span p {
    margin-top: 30px;
    font-weight: 100;
    font-size: 20px;
}
.box-form .left .overlay span a {
    background: #3b5998;
    color: #FFFFFF;
    margin-top: 10px;
    padding: 14px 50px;
    border-radius: 100px;
    display: inline-block;
    box-shadow: 0 3px 6px 1px #042d4657;
}
.box-form .left .overlay span a:last-child {
    background: #1dcaff;
    margin-left: 30px;
}
.box-form .right {
    padding: 40px 90px;
    overflow: hidden;
    min-width: 600px;
}

.hr_color {
    height: 5px;
    background: radial-gradient(circle farthest-corner at top left, #cf00dd 27%, #09005d 66%);
}

.box-form .right p {
    font-size: 1.6rem;
    color: #717171;
    margin-top: 30px;
}
.box-form .right .inputs {
    overflow: hidden;
    margin-top: 20px;
}
.box-form .right input {
    width: 100%;
    padding: 10px;
    margin-top: 25px;
    font-size: 1.8rem;
    border: none;
    outline: none;
    border-bottom: 2px solid var(--main-color);
    background: #f4f4f4;
}
.box-form .right .remember-me--forget-password {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.box-form .right .remember-me--forget-password input {
    margin: 0 7px 0 0;
    width: auto;
}
.box-form #forgotBtn,
.box-form #registerBtn,
.box-form button {
    float: left;
    color: #fff;
    font-size: 2.4rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 12px 105px;
    border-radius: 50px;
    display: inline-block;
    border: 0;
    outline: 0;
    background-image: linear-gradient(135deg, #4a31ff 10%, #061157 100%);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}

.box-form #forgotBtn:hover,
.box-form #registerBtn:hover,
.box-form button:hover {
    background-image: linear-gradient(135deg, #2ec42e 10%, #278e0d 100%);
    box-shadow: 0 4px 20px 0 #49c628a6;
    color: white;
    text-decoration: none;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}

.box-form .remember-me--forget-password a {
    font-size: 1.4rem;
}


#RememberMe {
    display: flex;
    align-items: center;
    cursor: pointer;
}

#RememberMe .fa {
    width: 20px;
    font-size: 20px;
    transform: translateY(2px);
    margin-right: 3px;
}
#RememberMe input {
    display: none;
}
#RememberMe .facheck {
    display: none;
}
#RememberMe :checked ~ .facheck {
    display: block;
}
#RememberMe :checked ~ .fauncheck {
    display: none;
}

#RememberMe::before {
    content: ' \f00c';
    position: absolute;
    font-family: FontAwesome;
    background: transparent;
    border: 3px solid #21129f;
    border-radius: 4px;
    color: transparent;
    left: -30px;
    transition: all 0.2s linear;
}

#RememberMe:hover::before {
    font-family: FontAwesome;
    content: ' \f00c';
    color: #fff;
    cursor: pointer;
    background: #21129f;
}

#RememberMe:hover::before .text-checkbox {
    background: #21129f;
}

#RememberMe span.text-checkbox {
    display: inline-block;
    font-size: 1.4rem;
    height: auto;
    position: relative;
    cursor: pointer;
    transition: all 0.2s linear;
}

#RememberMe input[type="checkbox"] {
    display: none;
}

.input_field {
    width: 300px !important;
    margin: 0 auto;
}

.btn_reg {
    display: block !important;
    margin: 0 auto 0 50%;
    transform: translateX(-50%);
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 6px 14px;

    font-weight: 500;
    font-size: 14px;
    color: #2f2fa1;

    text-decoration: none;
    border-radius: 12px;

    transition: background-color 0.2s ease, transform 0.15s ease;
}

.back-home-link i {
    font-size: 18px;
}

.back-home-link:hover {
    background-color: #f1f1f1;
    text-decoration: none;
}

.back-home-link:active {
    transform: scale(0.97);
}


.form-field {
    height: 50px;
    border-radius: 10px;
    border: solid 2px var(--main-color);
}
.form-field::placeholder {
    font-size: 16px;
}

.error {
    color: #f9031c !important;
    font-weight: bold;
    text-align: left;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
    margin-top: 15px !important;
}
.login_register {
    font-size: 16px !important;
    color: black !important;
}

.formFieldView label {
    font-size: 1.8rem;
    color: var(--main-color);
}

.registerNow {
    color: #075ebb !important;
    font-weight: bold;
}
.registerNow:hover {
    color: #a009d6 !important;
}

.footer {
    color: rgb(202, 202, 202);
    margin-top: 30px;
    line-height: 0.6;
    margin-bottom: 50px;
}

/* Make confirmation <a> buttons look like the main gradient button */
.box-form a.registerBtn.btn_reg{
    float:left;
    color:#fff;
    font-size:2.4rem;
    font-weight:bold;
    margin-top:30px;
    margin-bottom:10px;
    padding:12px 85px;
    border-radius:50px;
    display:inline-block;
    border:0;
    outline:0;
    background-image: linear-gradient(135deg, #4a31ff 10%, #061157 100%);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    text-decoration:none;
  }
  
  .box-form a.registerBtn.btn_reg:hover{
    background-image: linear-gradient(135deg, #2ec42e 10%, #278e0d 100%);
    box-shadow: 0 4px 20px 0 #49c628a6;
    color:#fff;
    text-decoration:none;
  }

.footer > a {
    color: #288efa;
}
.footer > a:hover {
    color: #72b6ff;
    cursor: pointer;
}
.footer a,
.footer p {
    font-size: 1.6rem;
}

@media (max-width: 1600px) {
    .box-form .right {
        min-width: 500px;
    }
    .box-form .left .overlay h2 {
        font-size: 4rem;
    }
    .box-form .left .overlay p {
        font-size: 2rem;
    }
}

@media (max-width: 1400px) {
    html {
        font-size: 8px;
    }
    .box-form .right {
        padding: 40px 60px;
        min-width: 375px;
    }
    .hr_color {
        height: 3px;
    }
}

@media (max-width: 992px) {
    .loginLogo {
        width: 200px !important;
        margin: 20px auto 0;
    }
    .box-form {
        flex-flow: wrap;
        text-align: center;
        align-content: center;
        align-items: center;
        min-height: 450px;
    }
    .box-form .left .overlay {
        display: none;
        justify-content: center;
    }

    .box-form .left .overlay h2 {
        font-size: 3.2rem;
    }
    .box-form .left .overlay p {
        font-size: 1.8rem;
    }
    .box-form .left .overlay span p {
        font-size: 12px;
        margin-top: 15px;
    }
    .box-form .left .overlay span a {
        padding: 5px 15px;
        display: inline;
    }

    .box-form .right {
        margin: 0 auto;
        padding: 20px 30px;
    }

    .box-form .right h5 {
        padding-right: 0 !important;
        font-size: 6rem;
    }

    .box-form .right p {

        margin-top: 10px;
    }

    .box-form .right button {
        float: none !important;
    }

    .box-form h5 {
        font-size: 5rem;
    }

    #RememberMe {
        align-self: start;
    }

    .box-form .right .remember-me--forget-password {
        flex-direction: column;
    }

    .box-form .remember-me--forget-password a {
        font-size: 1.8rem;
        margin-top: 10px;
    }
}

@media (max-width: 515px) {
    .box-form {
        flex-flow: wrap;
        text-align: center;
        align-content: center;
        align-items: center;
        width: 95%;
    }
}

/* ***** ФОРМА ЗА РЕГИСТРАЦИЯ ****** */
/*************************************/

/* UI state при изпращане на регистрация */
#REGISTER.is-submitting .formFieldView {
    opacity: 0.45;
    pointer-events: none;
}
#REGISTER.is-submitting #loadingRegister {
    opacity: 1;
    pointer-events: auto;
}
#REGISTER.is-submitting #registerBtn {
    opacity: 0.9;
    pointer-events: none;
}

#registerSuccessMsg {
    display: none;
    background: #eaf7ee;
    border: 1px solid #b7e2c0;
    color: #1f6b2a;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.45;
    max-width: 600px;
    width: calc(100% - 60px);
    margin: 18px auto 0;
    text-align: center;
}

.formModel {
    max-width: 600px;
    margin: 0 auto;
}

.err_container {
    max-width: 600px;
    width: calc(100% - 60px);
    margin: 18px auto 0;
    padding: 0;
    text-align: center;
    color: #f9031c;
}
.err_container p {
    font-family: Roboto,sans-serif;
    font-weight: 400;
    margin: 5px 0;
}
#confirmMsg {
    max-width: 600px;
    width: calc(100% - 60px);
    margin: 18px auto 0;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.45;
    text-align: center;
    background: #eef3ff;
    border: 1px solid rgba(47, 47, 161, 0.25);
    color: #2f2fa1;
}
#loadingRegister {
    display: none;
    padding: 10px;
    color: black;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 400;
    margin-top: 20px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}
#loadingRegister .fa {
    margin-right: 10px;
}
.tohome .fa {
    display: block;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    font-size: 20px;
    color: #3a3ad8;
}
.tohome {
    display: table;
    text-decoration: none !important;
    color: #3a3ad8;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    margin: auto;
    text-align: center;
    border: solid 1px #3a3ad8;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 15px;
}
.tohome:hover {
    background: #3a3ad8;
    color: white;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}
.tohome:hover .fa {
    color: white;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

/* #registerBtn {     background: #3a3ad8;
  display: block;
  padding: 10px;
  color: white;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 400;
  margin-top: 20px; transition:all 0.3s ease; -webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease;
  text-align: center;
  text-decoration: none;}
#registerBtn:hover { background:#2f2fa1; color:white; transition:all 0.3s ease; -webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease;}
#REGISTER hr {display: block;
  margin: 10px auto;
  border-top: solid 1px silver;} */
#REGISTER .formField {
    margin-bottom: 15px;
}
#REGISTER form {
    width: 90%;
    margin: 30px auto;
}
#REGISTER h2 {
    font-size: 22px;
    text-align: center;
    margin: 0;
    padding: 0;
}