body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-page {
    flex-grow: 1;
    align-content: center;
}

.login-page__wrapper {
    padding: 20px 0;
}

.auth-header {
    background-color: #3b3b3b;
    padding: 25px 0;
}

.auth-header__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.auth-header__wrapper__phone > a {
    color: #fff;
    font-weight: 600;
    font-size: 21px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    justify-self: end;
}

.auth-header__wrapper__phone > a > i {
    margin-right: 10px;
    color: #d71637;
}

.auth-header__wrapper__logo > a > img {
    width: 240px;
    height: auto;
}

.auth-header__wrapper__continue-shopping > a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.auth-header__wrapper__logo {
    justify-self: center;
}

#loginForm {
    padding: 50px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, .2);
    max-width: 480px;
    margin: 0 auto;
}

#loginForm .form-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

#loginForm .form-input {
    position: relative;
}

#loginForm .form-input input {
    height: 40px;
    border: 1px solid #ebebeb;
    width: 100%;
    padding: 0 15px 0 35px;
    outline: none;
}

#loginForm .form-input i {
    position: absolute;
    top: 9px;
    left: 10px;
    pointer-events: none;
    font-size: 16px;
    color: #858585;
}

#loginForm .form-title {
    font-size: 21px;
    font-weight: 600;
    color: #464646;
    text-align: center;
}

#loginForm .form-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #464646;
    text-align: center;
}

#loginForm .form-subtitle > a {
    color: #d71637;
    text-decoration: underline;
}

#loginForm .form-input button[type='submit'] {
    width: 180px;
    height: 40px;
    border: 1px solid #363636;
    color: #363636;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    background: #fff;
    margin: 0 auto;
}

#loginForm .form-input button[type='submit']:hover {
    background-color: #d71637;
    color: #fff;
    border-color: #d71637;
}

#loginForm .form-fields .form-input.center {
    justify-self: center;
}

#loginForm .form-input a.forgot-pw {
    text-decoration: none;
    color: #464646;
    margin-top: 5px;
    display: flex;
}

#loginForm a.google {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #363636;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    width: 100px;
    border: 1px solid #dedede;
    padding: 5px;
    margin: 0 auto;
}


#loginForm a.google:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

#loginForm a.google img {
    width: 16px;
    margin-right: 10px;
}

#loginForm hr {
    margin: 35px auto 35px auto;
    width: 80%;
    border-color: #ebebeb;
    opacity: 1;
}

#loginForm span.error-message {
    font-size: 12px;
    color: red;
}

#loginForm .error-alert {
    padding: 10px;
    border: 0;
    background-color: #ff8383;
    margin-bottom: 10px;
    color: #363636;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#loginForm .error-alert > i {
    font-size: 18px;
    color: #c30000;
}

@media(max-width: 767.5px) {
    #loginForm {
        padding: 20px;
    }

    .auth-header__wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .auth-header__wrapper__logo {
        grid-column: span 2;
        order: 3;
    }

    .auth-header__wrapper__continue-shopping {
        order: 1;
    }

    .auth-header__wrapper__phone {
        order: 2;
    }

    .auth-header__wrapper__phone > a {
        font-size: 16px;
    }
}