#totp_error {
    position: relative !important;
    width: 100%;
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    visibility: hidden;
    color: #ff5656;
}
#totp-message > p {
    color: #000;
    margin-bottom: 0;
}
#totp-input {
    margin-bottom: 0;
}
#totp-input ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    white-space: nowrap;
}
#totp-input ul li {
    position: relative;
    display: inline-block;
    margin: 2px;
    font-size: 18px;
    padding: 5px 0;
    border-radius: 2px;
    width: auto;
    float: none;
}
#totp-input ul li > div {
    padding: 4px 5px;
    padding-top: 6px;
    font-size: 23px;
    width: 44px;
    border-radius: 2px;
    color: #a8a8a8 !important;
    background-color: #eaeaea !important;
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
#totp-input ul li > div.active .inset-space {
    color: #fff;
    border-radius: 2px;
    background-color: #2586f2;
    box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
#totp-input ul li > div .inset-space {
    padding: 1px 4px;
}
#totp-input ul li > div .inset-space input {
    width: 100%;
    border: none;
    background-color: transparent;
    text-align: center;
    font-size: 36px;
    height: 50px;
    color: #000000;
    outline: none;
    box-shadow: none;
}
#totp-input ul li > div .inset-space input:focus {
    color: #fff;
}
#totp-input .back-link {
    margin-top: 20px;
}
#totp-input .mdl-card__supporting-text {
    width: inherit;
}
#totp-input .mdl-textfield__error {
    font-size: 16px;
    position: relative;
    visibility: visible;
    display: none;
}
/* For Firefox */
input[type='number'][name='totp'] {
    -moz-appearance: textfield;
}
/* Webkit browsers like Safari and Chrome */
input[type='number'][name='totp']::-webkit-inner-spin-button,
input[type='number'][name='totp']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
