body {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
.sign-in{
    margin: 0 auto;
    padding: 150px 0 120px;
    width: 45%;
    font-size: 18px;
    font-family: Arial, sans-serif;
    max-width: 560px;
}
.sign-in__header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
} 
.sign-in__header-text {
    font-style: normal;
    font-weight: bold;
    font-size: 44px;
}
.sign-in__header-link {
    color: #1787D8;
    cursor: pointer;
    text-decoration: none;
}
.sign-in__form {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
}
.sign-in__form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
}
.sign-in__form-label {
    font-size: 18px;
    line-height: 28px;
    color: #021933;
    margin-bottom: 12px;
}
.sign-in__form-input {
    font-size: 18px;
    color: #818C99;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    border-radius: 8px;
    height: 60px;
    text-indent: 20px;
}
.sign-in__form-input:active, .sign-in__form-input:focus {
    outline: none;
}
.sign-in__password-input .sign-in__form-input {
    width: 100%;
}
.sign-in__password-toggle {
    position: absolute;
    top: 50%;
    right: 18px;
    display: flex;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #818C99;
    cursor: pointer;
    transform: translateY(-50%);
}
.sign-in__password-toggle:active, .sign-in__password-toggle:focus {
    outline: none;
}
.sign-in__exception {
    color: #E5221C;
}
.sign-in__info {
    display: flex;
}
.sign-in__info-text {
    margin: 0;
    color: #818C99;
}
.sign-in__alternative-entrance {
    color: #818C99;
    margin-top: 45px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.sign-in__alternative-entrance-text {
    margin: auto 0;
}
.sign-in__action {
    display: flex;
    margin-top: 35px;
}
.sign-in__entry-button {    
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    width: 355px;
    height: 60px;
    background-color: #1787D8;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}
.sign-in__entry-button:active, .sign-in__entry-button:focus {
    outline: none;
}
.sign-in__entry-button:disabled {
    opacity: 0.5;
    cursor: normal;
}
.sign-in__forgot-password {
    color: #1787D8;
    margin: auto 0 auto 55px;
    cursor: pointer;
    text-decoration: none;
}
.sign-in__services {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 55%;
}
.sign-in__service-type {
    cursor: pointer;
}
.input_is_failed {
    background-color: rgba(229,34,28,.1);
    border: 1px solid #e5221c !important;
}

@media (max-width: 600px) {
    .sign-in{
        padding: 65px 15px;
        width: 100%;
        font-size: 16px;
        box-sizing: border-box;
    }
    .sign-in__header{
        flex-direction: column;
    }
    .sign-in__header-text {
        font-size: 32px;
    }
    .sign-in__form-field {
        margin-bottom: 25px;
    }
    .sign-in__form-label {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 10px;
        font-weight: 400;
    }
    .sign-in__form-input {
        font-size: 16px;
        height: 48px;
    }
    .sign-in__alternative-entrance {
        margin-top: 15px;
        flex-direction: column;
    }
    .sign-in__alternative-entrance-text {
        font-size: 18px;
        line-height: 28px;
        color: #031933;
    }
    .sign-in__action {
        flex-direction: column;
        margin-top: 35px;
    }
    .sign-in__entry-button {    
        font-size: 16px;
        font-weight: 400;
        width: 100%;
        height: 48px;
    }
    .sign-in__forgot-password {
        margin: 25px auto;
    }
}
