#formWrapperOuter {
    width: 100vw;
    display: grid;
    justify-content: center;
    justify-items: center;
    text-align: center;
    margin-top: 20px;
}

#formWrapperInner {
    display: grid;
    justify-content: center;
    justify-items: center;
    width: 500px;
    max-width: calc(100vw - 80px);
    padding: 20px;
    margin: 20px;
    box-shadow: 0 0 10px var(--principal-light-gray);
    border-radius: 4px;
}

#formTitle {
    font-weight: bold;
    margin: 0;
    margin-bottom: 20px;
}

#passwordWrapper {
    border: solid 1px var(--principal-light-gray);
    border-radius: 2px;
    margin-top: 10px;
    position: relative;
}

#email, #password {
    padding: 5px 10px;
    border: solid 1px var(--principal-light-gray);
    border-radius: 2px;
    width: 300px;
    max-width: calc(100vw - 120px);
}

#password {
    padding: 5px 38px 5px 10px;
    border: none;
    width: calc(300px - 28px);
    max-width: calc(100vw - 120px - 28px);
}

#passwordShow, #passwordHide {
    padding: 0;
    margin: 0;
    height: 100%;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    align-content: center;
    align-items: center;
}

#passwordShow img,
#passwordHide img {
    width: 18px;
    margin: 0;
    margin-right: 10px;
}

#submitButton {
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    background: var(--principal-green);
    color: white;
    font-weight: bold;
    border: none;
}

.error {
    color: red;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 315px;
    max-width: calc(100vw - 105px);
    padding-left: 5px;
    margin-top: 2px;
    font-size: 1rem;
}

#globalErrorWrapper {
    width: 100vw;
    background: red;
    color: white;
    display: grid;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

#globalError {
    margin: 10px 20px;
    width: 600px;
    max-width: calc(100vw - 40px);
    font-weight: bold;
}