.activateOrForget .content {
    min-height: 250px;
    position: relative;
    display: flex;
    overflow: hidden;
}

.activateOrForget .content > div {
    margin-right: -100%;
    padding: 0 5px;
    width: 100%;
    background-color: white;
    transform: translateX(100%);
    animation: pageOut .2s linear;
    z-index: 0;
    height: 0;
    overflow-x: auto;
}

.activateOrForget .content > .active {
    height: initial;
    transition: transform .2s linear;
    transform: translateX(0);
    animation: none;
    z-index: 2;
}

#accountHelp > span {
    display: none;
}

#newPassword.is-invalid ~ div {
    display: none;
}

#newPassword.is-invalid ~ div.PasswordUsedBeforeError {
    display: initial;
}

#newPassword ~ div.PasswordUsedBeforeError {
    display: none;
}


span.mail-count-down[disabled] {
    pointer-events: none;
    color: rgba(0,0,0,.5);
}

.mail-count-down[disabled] > .count {
    display: initial;
}
.mail-count-down > .count {
    display: none;
    font-size: .8em;
}

.mail-count-down > .count:before {
    content: "(";
}
.mail-count-down > .count:after {
    content: "s)";
}

@keyframes pageOut {
    from {
        transform: translateX(0%);
        z-index: 1;
    }
    to {
        transform: translateX(-100%);
        z-index: 0;
    }
}

.email {
    padding: 5px 10px;
    max-width: 100%;
}

#emailMask {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.code-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
}

.code-inputs input {
    height: 45px;
    width: 32px;
    font-size: 30px;
    text-align: center;
    padding: 0;
    visibility: hidden;
}
.active .code-inputs input {
    visibility: visible;
}

.code-inputs input:focus {
    outline: none;
}

form#codeForm.invalid .code-inputs > input {
    border-color: red
}

form#codeForm:focus-within .code-inputs > input {
    border-color: #ced4da;
}

form#codeForm.invalid .code-inputs {
    animation: shaking .5s ease-out;
}

form#codeForm:focus-within .code-inputs {
    animation: none;
}

@keyframes shaking {
    10%,
    90% {
        transform: translate(-1px, 0);
    }
    20%,
    80% {
        transform: translate(+2px, 0);
    }
    30%,
    70% {
        transform: translate(-4px, 0);
    }
    40%,
    60% {
        transform: translate(+4px, 0);
    }
    50% {
        transform: translate(-4px, 0);
    }
}