@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/Roboto-Light.ttf") format("truetype")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Roboto-Regular.ttf") format("truetype")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Roboto-Medium.ttf") format("truetype")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Roboto-Bold.ttf") format("truetype")
}

* {
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0
}

.flex {
    display: flex;
    align-items: center
}

.container {
    align-items: center;
    background: #f2f2f2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 100vh
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#loader img {
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.hidden {
    display: none !important;
}

.wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
    margin: 0 15px;
    overflow: hidden;
    padding: 55px;
    width: 390px
}

.logo {
    display: block;
    margin: 0 auto 25px;
    width: 60%
}

.wrap-input {
    border-bottom: 2px solid #adadad;
    margin-bottom: 30px;
    position: relative
}

.wrap-checkbox {
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
    width: 80%
}

.label {
    color: #333333;
    font-size: 14px;
    margin-top: 2px;
}

.input {
    background: transparent;
    border: none;
    color: #333333;
    font-size: 16px;
    height: 40px;
    outline: none;
    width: 100%
}

.checkbox {
    background: transparent;
    margin-right: 10px;
    transform: scale(1.2);
}

.focus {
    display: block;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%
}

.focus::before {
    background: #e2001e;
    bottom: -2px;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    transition: all .4s;
    width: 0
}

.focus::after {
    align-items: center;
    bottom: 0;
    color: #adadad;
    display: flex;
    font-size: 22px;
    height: calc(100% - 20px);
    justify-content: center;
    left: 0;
    padding-left: 13px;
    padding-top: 3px;
    position: absolute
}

.input:focus + .focus::after {
    top: 0
}

.input:focus + .focus::before {
    width: 100%
}

.btn {
    background-color: #e2001e;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    height: 50px;
    outline: none;
    text-transform: uppercase;
    width: 100%
}

@media (max-width: 576px) {
    .wrap {
        padding: 40px 15px 33px
    }

    .logo {
        margin: 0 auto 25px;
        width: 60%;
    }
}

.error-message {
    background-color: #ffbf4a;
    color: black;
    padding: 10px;
    border-radius: 10px;
    margin: 0 0 20px
}

.error-icon {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 5px
}

.error-text {
    margin: 0;
    text-align: center;
    width: 100%
}
