/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.tfa-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80rem;
  width: 100%;
  padding: 0 2rem;
  margin: 0 auto;
}
.tfa-text {
  font-family: inherit;
  line-height: inherit;
  text-transform: unset;
  text-rendering: optimizeLegibility;
}
.tfa-text-large {
  font-size: 2rem;
  font-weight: 600;
  color: #121212;
}
.tfa-text-normal {
  font-size: 1rem;
  font-weight: 400;
  color: #121212;
}
.tfa-text-links {
  font-size: 1rem;
  font-weight: 400;
  color: #1a73e8;
}
.tfa-text-links:hover {
  text-decoration: underline;
}

.tfa-main .tfa-wrapper {
  max-width: 28rem;
  width: 100%;
  margin: 2rem auto;
  padding: 2rem 2.5rem;
  border: none;
  outline: none;
  border-radius: 0.25rem;
  color: #121212;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.tfa-main .tfa-wrapper .tfa-form {
  width: 100%;
  height: auto;
  margin-top: 2rem;
}
.tfa-main .tfa-wrapper .tfa-form .tfa-input-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.tfa-main .tfa-wrapper .tfa-form .tfa-input-field {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: inherit;
  width: 100%;
  height: auto;
  padding: 0.75rem 1.25rem;
  border: 1px solid #fff;
  outline: none;
  border-radius: 2rem;
  color: #121212;
  background: #f1f5f9;
  text-transform: unset;
  text-rendering: optimizeLegibility;
}
.tfa-main .tfa-wrapper .tfa-form .tfa-input-submit {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: inherit;
  cursor: pointer;
  min-width: 40%;
  height: auto;
  padding: 0.65rem 1.25rem;
  border: none;
  outline: none;
  border-radius: 2rem;
  color: #ffffff;
  background: #dd9933;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-transform: capitalize;
  text-rendering: optimizeLegibility;
}
.tfa-main .tfa-wrapper .tfa-striped {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}
.tfa-main .tfa-wrapper .tfa-striped-line {
  flex: auto;
  flex-basis: auto;
  border: none;
  outline: none;
  height: 2px;
  background: #dadce0;
}
.tfa-main .tfa-wrapper .tfa-striped-text {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: inherit;
  color: #121212;
  margin: 0 1rem;
}
.tfa-main .tfa-wrapper .tfa-method-control {
  margin-bottom: 1rem;
}
.tfa-main .tfa-wrapper .tfa-method-action {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 0.35rem 1.25rem;
  outline: none;
  border: 2px solid #dadce0;
  border-radius: 2rem;
  color: #121212;
  background: #ffffff;
  text-transform: capitalize;
  text-rendering: optimizeLegibility;
  transition: all 0.35s ease;
}
.tfa-main .tfa-wrapper .tfa-method-action:hover {
  background: #f1f5f9;
}
#tfa-loader-container{
    display: none;
}
.tfa-wrapper{
    position: relative;
}
.tfa-loader-main{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
        z-index: 99;
}
.tfa-loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #dd9933;
    border-bottom: 5px solid #dd9933;
    width: 40px;
    height: 40px;
    -webkit-animation: tfaspin 2s linear infinite;
    animation: tfaspin 2s linear infinite;
}

@-webkit-keyframes tfaspin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes tfaspin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
  .tfa-radio-control {
  display: flex;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.375em;
  /* Accessible outline */
  /* Remove comment to use */
  /*
    &:focus-within {
        outline: .125em solid $primary-color;
    }
  */
}
label.tfa-radio-control input {
  position: absolute;
  left: -9999px;
}
label.tfa-radio-control input:checked + span {
  background-color: #f1f5f9;
}
label.tfa-radio-control input:checked + span:before {
  box-shadow: inset 0 0 0 0.4375em #dd9933;
}
label.tfa-radio-control span {
  display: flex;
  align-items: center;
  padding: 0.375em 0.75em 0.375em 0.375em;
  border-radius: 99em;
  transition: 0.25s ease;
}
label.tfa-radio-control span:hover {
  background-color: #f1f5f9;
}
label.tfa-radio-control span:before {
  display: flex;
  flex-shrink: 0;
  content: "";
  background-color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  margin-right: 0.375em;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.125em #dd9933;
}
#tfa-login-error{
    color: red;
    text-align: center;
    border-radius: 20px;
    padding: 1px 3px;
    font-size: 14px;
}
#tfa-login-error p {
    background: #FFCDD2;
    border: 1px solid #C62828;
    border-radius: 2px;
    color: #C62828;
    position: relative;
        margin: 0px;
}
#tfa-login-error p span.remove-tfa-error {
    position: absolute;
    right: -7px;
    top: -8px;
    background: #C62828;
    color: #fff;
    padding: 0px 5px;
    border-radius: 25px;
    font-size: 12px;
}
span.remove-tfa-error:hover {
    background-color: #F44336!important;
    cursor: pointer;
}

#tfa-resend-otp {
    background: #fff;
    border-radius: 4px;
    padding: 8px;
    color: #dd9933;
    border: 1px solid #dd9933;
}


#tfa-login-error p.green-tfa-message {
    color: green!important;
    border-color: green!important;
    background: #4caf502e!important;
}

#tfa-login-error p.green-tfa-message span.remove-tfa-error {
    background: green!important;
}

.tfa-card {
  width: 25rem;
  background-color: #fff;
  border-radius: 24px;
  margin: 0 auto;
      border: 1px solid #ccc;
}

.tfa-card .tfa-card-container {
  width: 80%;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tfa-card-container img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 10px solid #ecf0fc;
}

.tfa-card-container h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
}

.tfa-card-container small {
  color: #120c35;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 2rem;
}

.tfa-card-container .bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tfa-card .bar .btn {
  cursor: pointer;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 16px;
  border: 1px solid #c2cdef;
  color: #120c35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


@media screen and (max-width: 425px) {
  .tfa-card {
    width: 15rem;
  }
  .container img {
    width: 100px;
    height: 100px;
  }

  .tfa-card-container h2 {
    font-size: 20px;
  }

  .tfa-card-container small {
    font-size: 14px;
  }
}

.tfa-logo img {
    width: 100px;
}
.tfa-logo {
    position: absolute;
    right: 5px;
    top: 0px;
}

section.tfa-wrapper.logged-out-tfa {
    margin-top: 100px;
}
section.tfa-wrapper.logged-in-tfa .tfa-logo {
    display: none;
}