		
@font-face {
    font-family: Opensans;
    src: url('../fonts/opensans.ttf');
}

@font-face {
    font-family: Opensansl;
    src: url('../fonts/opensans-light.ttf');
}

@font-face {
    font-family: Opensansb;
    src: url('../fonts/opensans-bold.ttf');
}
		
		
		
		
body {
 
 overflow:hidden;
}

.bg {
    position:absolute;
	left:0;
	top:100px;
	width:100%;
	height:100%;
    background: black url('../template/main-promo-bg2.jpg') no-repeat;
	 
	transform: scale(1.4); 
}


.login__logo {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 35px;
    margin-left: 109px;
}

.login__container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.login__form-wrapper {
    width: 100%;
    max-width: 710px;
    position: relative;
}

.login__form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px;
    width: 100%;
    max-width: 710px;
    background: #162044;
    box-shadow: 0px 35px 45px rgba(7, 14, 39, 0.05);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.login__form-blur {
    position: absolute;
    content: '';
    background: #4E44CE;
    width: 222px;
    height: 222px;
    left: -111px;
    top: 0;
    border-radius: 50%;
    z-index: -1;
    filter: blur(250px);
}

.login__form-blur-bottom {
    position: absolute;
    content: '';
    background: #4E44CE;
    width: 222px;
    height: 222px;
    right: -222px;
    bottom: -222px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(250px);
}


.login__title {
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #7E8BB6;
    margin-bottom: 50px;
}

.login__fieldset {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.login__input-label {
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    color: #7E8BB6;
    margin-bottom: 8px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #162044 inset !important;
    -webkit-text-fill-color: #FFFFFF;
}

input:-webkit-autofill::first-line {
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
}

.login__input {
    overflow: hidden;
    caret-color: white;
    background: #162044;
    border: 1px solid #2C405A;
    box-sizing: border-box;
    box-shadow: inset 0px 4px 16px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    width: 100%;
    height: 48px;
    color: #FFFFFF;
    padding: 16px;
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.login__button {
    min-height: 48px;
    width: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0059F7;
    color: white;
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    border: none;
}

.login__text-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.login__text {
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #7E8BB6;
}

.login__link {
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #0059F7;
}

.login__button-container {
    position: relative;
    width: 100%;
}

.login__error-message {
    position: absolute;
    font-family: 'Opensans';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 16px;
    color: #E0294A;
    top: 65px;
}

.loading   {
  position: absolute;
  right:20px;
  top:70px;
  display: none;
  border: 3px solid #363e4d;
  border-radius: 50%;
  border-top: 3px solid white;
  width: 35px;
  height: 35px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@media screen and (max-width: 950px) {
   .loading   {
        width: 25px;
      height: 25px;
	    top:78px;
	   right:10px;
	}
	
	
	.login__title {
        font-family: 'Opensans';
        font-style: normal;
        font-weight: 700;
        font-size: 22px;
        line-height: 150%;
        color: #7E8BB6;
        margin-bottom: 20px;
    }

    .login__text {
        font-size: 14px;
    }

    .login__link {
        font-family: 'Opensans';
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 24px;
        color: #0059F7;
    }

    .login__error-message {
        font-size: 18px;
        line-height: 150%;
    }

    .login__logo {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .login__form-wrapper {
        margin-left: 10px;
        margin-right: 10px;
    }

    .login__form {
        padding: 20px;
    }

    .login__text-container {
        display: flex;
        gap: 10px;
        margin-top: 35px;
    }

    .login__error-message {
        font-size: 14px;
        line-height: 150%;
        top: 55px;
    }

    .login__fieldset {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 320px) {
    .login__container {
        margin-top: 25px;
        align-items: flex-start;
    }

    .login__title {
        font-size: 18px;
        line-height: 150%;
        margin-bottom: 12px;
    }

    .login__input-label {
        font-size: 14px;
    }

    .login__fieldset {
        gap: 12px;
    }

    .login__input {
        height: 30px;
    }

    .login__logo {
        position: relative;
    }

    .login__form {
        padding: 15px;
    }

    .login__text {
        margin-bottom: 0;
    }

    .login__fieldset {
        margin-bottom: 12px;
    }

}


 
