@font-face {
    font-family: 'San Francisco';
    src: url('/static/css/fonts/SFProText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'San Francisco';
    src: url('/static/css/fonts/SFProText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'San Francisco';
    src: url('/static/css/fonts/SFProText-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'San Francisco';
    src: url('/static/css/fonts/SFProText-Thin.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'San Francisco';
    src: url('/static/css/fonts/SFProText-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
  }

html{
    background: #fff;
    font-family: "San Francisco";
    font-weight: 600;
}

.login {
    background-image: url('/static/imgs/sw-log_in-bg.png');
    min-height: 100vh;
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    font-size: 12px;
}

.login__logoWrap {
    padding-top: 56px;
}

.login__logo {
    display: block;
    margin: 0 auto;
}

.login__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 87px);
}

.login__box {
    width: 400px;
    height: 308px;
    background-color: #FFFFFF;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    padding: 40px;
    box-sizing: border-box;
}

.login__box input,
.login__box label {
    display: block;
    width: 100%;
}

.login__box label {
    padding-bottom: 12px;
}

.login__box input {
    margin-bottom: 24px;
    height: 40px;
    border: 1px solid #F1F1F1;
    color: #333333;
    border-radius: 4px;
    line-height: 19px;
    font-size: 16px;
    padding: 0 24px;
    box-sizing: border-box;
    font-weight: 400;
    outline: none;
}

.login__box input.login__passwordInput {
    margin: 0;
}

.login__errors {
    height: 40px;
}

.login__errors p {
    padding: 13px 0;
    text-align: center;
    color: #DB4F4F;
    margin: 0;
    display: none;
}

.login.login--error .login__errors p {
    display: block;
}

.login__submit input,
.login__submit input:focus {
    background: #F1F1F1;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    cursor: default;
    border: none !important;
    outline: none;
}

.login--error .login__box input {
    border: 1px solid #DB4F4F;
}

.login--focus .login__box label {
    color: #C2C6C4;
}

.login--filled:not(.login--error) .login__submit input {
    background: #34DD79;
    cursor: pointer;
    color: #FFFFFF;
}

::placeholder {
    font-family: "San Francisco";
    font-weight: 400;
    color: #E9E9E9;
}
:-ms-input-placeholder {
    font-family: "San Francisco";
    font-weight: 400;
    color: #E9E9E9;
}
::-webkit-input-placeholder {
    font-family: "San Francisco";
    font-weight: 400;
    color: #E9E9E9;
}
@media (max-height: 413px) {
    .login__wrap {
        margin-top: 14px;
        display: block;
    }
}