﻿@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../../lib/fonts/Open-Sans/open-sans-v18-latin_cyrillic-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../../lib/fonts/Open-Sans/open-sans-v18-latin_cyrillic-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local(''), url('../../lib/fonts/Open-Sans/open-sans-v18-latin_cyrillic-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../../lib/fonts/Open-Sans/open-sans-v18-latin_cyrillic-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('../../lib/fonts/Open-Sans/open-sans-v18-latin_cyrillic-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../../lib/fonts/Open-Sans/open-sans-v18-latin_cyrillic-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    background-color: #2558B5;
    background-image: url(../../images/Auth/logo-bg.svg);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* MAIN SECTION */

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo__indent-margin {
    margin-top: 52px;
}

/* TITLE SECTION */

.title__indent-margin {
    margin-top: 116px;
}

.title__font {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    color: #FFFFFF;
}

/* FORM SECTION */

.form {
    width: 388px;
    background: #FFFFFF;
    box-shadow: 0px 12px 20px rgba(31, 73, 186, 0.64);
    border-radius: 8px;
    padding: 24px;
}

.form__indent-margin {
    margin-top: 28px;
}

.form__group-indent {
    margin-top: 20px;
}

.form__text {
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 24px;
}

.form__text-red {
    color: red;
}

.form__label {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #888D9D;
}

.form__password {
    display: flex;
}

.form__input {
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    padding: 16px 20px;
    border: 1px solid #CFD4E1;
    box-sizing: border-box;
    border-radius: 5px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 2px;
    color: #1A204B;
}

    .form__input::-ms-reveal,
    .form__input::-ms-clear {
        display: none;
    }

.form__input-eye {
    margin-left: -30px;
    margin-top: 8px;
    cursor: pointer;
}

.form__input-indent {
    margin-top: 8px;
}

.form__input::placeholder {
    color: #888D9D;
}

.form__input:focus {
    border: 1px solid #86AAFD;
}

.form__error {
    width: 340px;
    background: rgba(226, 43, 40, 0.08);
    border-radius: 5px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.form__error-wrapper {
    width: 258px;
}

.form__error-indent {
    margin-top: 32px;
}

.form__button-wrapper {
    display: flex;
    justify-content: flex-end;
}

.form__button-indent {
    margin-top: 40px;
}

.form__button {
    background: #2558B5;
    border-radius: 4px;
    border: none;
    padding: 8px 24px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    cursor: pointer;
}

    .form__button:hover {
        background: #5485D2;
    }

.form__lock {
    display: flex;
    justify-content: center;
}
