.scroll-pad {
  overflow: auto !important; }

.text-center {
  text-align: center !important; }

.tfa-user-verification-types {
  margin: 1em 0; }

.tfa-user-verification-type-sw {
  text-decoration: none;
  background: #617a7a;
  color: #fff; }
  .tfa-user-verification-type-sw:before {
    content: "\2610"; }
  .tfa-user-verification-type-sw.is-on:before {
    content: "\2611"; }

.tfa-confirm-sms .tfa-send-sms-button.is-inside {
  position: absolute;
  margin: 1px 0 0 -121px;
  min-width: 120px;
  font-size: .8rem;
  height: 28px;
  box-sizing: border-box;
  white-space: nowrap; }

.tfa-tel-verify {
  cursor: pointer; }

.tfa-tel-verify.tfa-tel-verified {
  padding: 2px 4px;
  background: transparent;
  color: #0a0;
  cursor: default;
  line-height: 24px;
  border: none; }
  .tfa-tel-verify.tfa-tel-verified:hover, .tfa-tel-verify.tfa-tel-verified:active {
    background: transparent;
    color: #0a0; }
  .tfa-tel-verify.tfa-tel-verified:before {
    content: "\2714";
    margin-right: .1em; }

.form-buttons {
  margin: 1em 0; }

.tfa-user-settings-table {
  margin: 1em 0; }

.tfa-user-settings-table .verification-type {
  white-space: nowrap; }

.tfa-user-login-verification-method ul {
  margin: 1em 0;
  padding: 0 !important; }
  .tfa-user-login-verification-method ul li {
    margin: .5em 0;
    list-style: none; }

.tfa-notices {
  position: fixed;
  top: 0;
  width: 100%;
  pointer-events: none;
  z-index: 9999999; }

.tfa-notice {
  pointer-events: all;
  display: block;
  max-width: 30%;
  padding: 10px;
  margin: 10px auto;
  background: #0b69da;
  color: #fff;
  border-radius: 5px; }
  .tfa-notice.error {
    background: #aa4a2f; }

.tfa-password-reset {
  text-align: center; }

.tfa-popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  line-height: 100vh;
  text-align: center;
  vertical-align: middle;
  z-index: 9999; }
  .tfa-popup-wrapper.error {
    background: rgba(100, 0, 0, 0.8); }
    .tfa-popup-wrapper.error .tfa-popup {
      border: 2px solid #500; }
  .tfa-popup-wrapper.tfa-modal .tfa-popup-close {
    display: none; }

.tfa-popup-title {
  line-height: 2rem;
  display: block;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px; }
  .tfa-popup-title .tfa-popup-close {
    width: 2rem;
    height: 2rem;
    border: none;
    background: none;
    padding: 0;
    color: #a00;
    background: #eee;
    text-decoration: none;
    float: right;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 20%; }
    .tfa-popup-title .tfa-popup-close:hover {
      color: #fff;
      background: #a00; }

.tfa-popup-footer {
  text-align: center;
  margin: .5em 0 0; }
  .tfa-popup-footer button + button {
    margin-left: 1em !important; }

.tfa-popup {
  text-align: left;
  font-size: 1rem;
  line-height: 1.3em;
  display: inline-block;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 2px #000;
  margin: 0 auto;
  top: 100px;
  min-width: 300px;
  padding: 10px;
  vertical-align: middle; }
  .tfa-popup .form-buttons .button {
    margin-right: .2em; }
  .tfa-popup .form-row {
    margin: 1em 0;
    display: block; }
    .tfa-popup .form-row button[disabled] {
      background: #aaa !important;
      color: #888 !important; }

.tfa-popup-caption {
  font-weight: 700;
  color: #333;
  font-size: 1rem; }

.tfa-popup-text {
  margin: 1em 0; }
  .tfa-popup-text p {
    margin: .8em 0; }

.tfa-enable-gau {
  width: 320px; }
  .tfa-enable-gau .form-buttons {
    text-align: center; }

.tfa-gau-manual {
  display: block;
  width: 100%;
  border: none;
  background: none;
  font-size: 1.2em;
  font-family: monospace;
  letter-spacing: 8px;
  color: #000; }

.tfa-gau-qr {
  display: block;
  width: 300px;
  height: 300px;
  margin: 0 auto; }

.tfa-code-input-row {
  margin: 1em 0 !important; }
  .tfa-code-input-row label {
    display: block;
    margin: .5em 0;
    font-weight: 700;
    color: #333; }

.tfa-code-input {
  display: inline-block !important;
  width: auto !important;
  margin: .3em 0 !important;
  font-size: 2rem !important;
  text-align: center !important;
  max-width: 300px !important;
  font-family: monospace;
  letter-spacing: .3em; }

.tfa-confirm .form-buttons {
  text-align: center;
  margin: 10px 0; }

.tfa-confirm-sms {
  min-width: 300px; }
  .tfa-confirm-sms .form-row label {
    display: block; }
  .tfa-confirm-sms input[name=tel] {
    height: 44px; }

.login .tfa-popup form {
  margin: 0;
  padding: 0;
  font-weight: normal;
  overflow: visible;
  background: none;
  border: none;
  box-shadow: none; }
