body {
    height: 100vh;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #ebeeef;
}

.container .wrapper {
    width: 670px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.form-title-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 20px 15px;
    background-color: #000;
}

.form-title-wrapper > img {
    width: 170px;
}

.form-title-wrapper .text {
    font-family: Poppins-Bold;
    font-size: 30px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 16px;
    color: #333;
    width: 150px;
    flex: 0 0 150px;
}

form {
    padding: 60px 40px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    font-size: 15px;
    color: #555555;
    width: calc(100% - 180px);
    flex: 0 0 calc(100% - 180px);
    line-height: 1.2;
    display: block;
    width: 100%;
    background: transparent;
    padding: 0 5px;
    height: 45px;
    outline: none;
    border: none;
    border-bottom: 1px solid #b6b6b6;
}

[type="submit"] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 35px;
    background-color: #6b7e88;
    border-radius: 25px;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    border: 0;
    outline: 0;
}

.form-group.form-actions {
    justify-content: end;
    align-items: end;
}

.form-group.form-actions a {
    font-size: 16px;
    text-decoration: none;
    line-height: 1.2;
    color: #333;
}

.error {
    color: red;
    margin-bottom: 2rem;
    font-size: 14px;
}

@media screen and (max-width: 740px) {
    .container .wrapper {
        width: 86%;
    }
}

@media screen and (max-width: 580px) {
    .form-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-group label {
        width: 100%;
        flex: 1;
    }

    input[type="text"], input[type="password"], input[type="email"] {
        width: 100%;
        flex: unset;
    }
}
