
/*mfa related CSS*/

.mfa-modal-container {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  overflow: auto;
}

.mfa-modal {
  position: relative;
  max-height:100%;
  z-index : 1;
  border-radius: 2px;
  border: 1px solid #CDCDCD;
  overflow-wrap: break-word;
  background: linear-gradient(0deg, #FFFFFF, #FFFFFF), linear-gradient(0deg, #CDCDCD, #CDCDCD);
  text-align: left !important;
}

.mfa-registration-modal {
  width: 450px;
  height: 608px;
}

.mfa-verification-modal {
  width: 450px;
  max-height: 392px;
}

.success-modal {
  width: 450px;
  height: 293px;
}

.mfa-modal-title {
  width: 450px;
  height: 48px;
  padding: 12px 16px 0px 16px;
  gap: 4px;
  overflow-wrap: break-word;
}

.mfa-modal-title h1 {
  font-family: "Open Sans";
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  text-align: left;
}

.registration-modal-body {
  width: 450px;
  height: 491px;
  padding: 16px 16px 24px 16px;
  overflow-wrap: break-word;
}

.verification-modal-body {
  width: 450px;
  max-height: 275px;
  padding: 16px 16px 42px 16px;
  text-align: left;
}

.modal-success-body {
  width: 450px;
  height: 176px;
  padding: 16px;
  gap: 24px;
  text-align: left;
}

.registration-modal-body-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 418px;
  height: 188px;
}

.verification-modal-body-description {
  width: 418px;
  max-height: 68px;
  margin: 0px 0px 24px 0px;
}

.success-description{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 418px;
  height: 120px;
}

.registration-modal-body-description p, .verification-modal-body-description p, .success-description p {
  margin-bottom: 0px;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  overflow-wrap: break-word;
  text-align: left !important;
  font-family: "Open Sans";
}

.registration-qr-code {
  display: flex;
  align-items: center;
  width: 362px;
  height: 154px;
  margin: 24px;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #CDCDCD;
  gap: 24px;
}

.custom-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: black;
}

span {
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
}

.qr-code-img {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  border: 1px solid #CDCDCD;
  padding: 8px;
}

.mobile-content
{
  display: none;
}

.secret-key-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 184px;
  height: 120px;
  gap: 8px;
}

.secret-key-container p {
  margin-bottom: 0px;
  font-family: "Open Sans";
}

.secret-key-container a {
  font-size: 12px;
  line-height: 18px;
  text-decoration: underline;
  font-family: "Open Sans";
}

.next-progress-info {
  width: 418px;
  height: 47px;
  font-size: 14px;
  margin-top: 24px;
}

.next-progress-info p {
  margin-bottom: 0px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(0deg, #F8F8F8, #F8F8F8), linear-gradient(0deg, #CDCDCD, #CDCDCD);
  border-top: 1px solid #CDCDCD;
  flex-wrap: wrap;
  max-width: 450px;
  height: 69px;
  padding: 16px;
  gap: 8px;
}

.modal-button {
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  text-align: center;
  box-shadow: none;
  background: #262626;
  color: #E5E5E5;
}

.button-cancel, .button-back {
  background: #E5E5E5 !important;
  color: #262626 !important;
}

.button-submit:disabled {
  color: #767676;
  background-color: #E5E5E5;
  box-shadow: none;
}

.button-submit:disabled:hover {
  color: #767676;
  background-color: #E5E5E5;
  box-shadow: none;
}

.button-cancel:hover, .button-next:hover, .button-submit:hover, .button-done:hover, .button-back:hover {
  background-color: #262626;
  color: #E5E5E5;
}

.copy-key {
  width: 154px;
  height: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.copyfeedback {
  display: none;
  align-items: center;
}

.copy-success {
  width: 83px;
  height: 18px;
  gap: 2px;
  display: flex;
  align-items: end;
}

.verification-input {
  display: flex;
  width: 208px;
  max-height: 37px;
  margin: 0px 121px 0px 100px;
  border-radius: 2px;
  border: 1px solid #CDCDCD;
  gap: 8px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.verification-input input[type=text] {
  width: 208px;
  height: 21px;
  text-align: center;
  padding: 3px 6px;
  -moz-appearance: textfield;
}

.validation-error-message-container {
  display: flex;
  align-items: center;
  width: 418px; /* Adjusted for responsiveness */
  max-height: 66px;
  margin: 24px 0px 0px 0px;
  padding: 12px 16px;
  gap: 8px;
  background: #FFDAD6;
}

.validation-error-message-container p {
  margin: 12px 16px 12px 0px;
  width: 362px;
  max-height: 42px;
  font-size: 14px;
  line-height: 21px;
}

.course-room-callout .callout-icon {
  margin-right: 1em;
}

.bb-svg-icon {
  display: inline-flex;
  vertical-align: inherit;
  margin-left: 12px;
}

.svg-icon.large {
  font-size: 16px;
}

.svg-icon {
  display: inline-block;
  height: 1em;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  vertical-align: inherit;
  width: 1em;
}

#loading-spinner {
  display: none;
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-outer {
  width: 38px;
  height: 38px;
  border: 1px solid #767676;
  border-radius: 50%;
}

.loader-inner {
  width: 30px;
  height: 30px;
  border: 1px solid #767676;
  border-radius: 50%;
}

#loader {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid #A234B5;
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

dialog:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*Responsive Styles*/
@media screen and (max-width: 450px) {
  .mfa-registration-modal {
    width: 300px;
    height: 624px;
  }

  .mfa-verification-modal {
    width: 300px;
    max-height: 481px;
  }

  .success-modal {
    width: 300px;
    height: 403px;
  }

  .mfa-modal-title {
    width: 300px;
    height: 84px;
  }

  .registration-modal-body {
    width: 300px;
    height: 460px;
    padding: 16px;
  }

  .verification-modal-body {
    width: 300px;
    max-height: 317px;
    padding: 16px 16px 40px 16px;
  }

  .modal-success-body {
    width: 300px;
    height: 239px;
  }

  .registration-modal-body-description {
    width: 268px;
    height: 209px;
  }

  .verification-modal-body-description {
    width: 268px;
    max-height: 89px;
  }

  .success-description {
    width: 268px;
    height: 183px;
  }

  .mobile-content{
    display: flex;
  }

  .web-content{
    display: none;
  }

  .registration-qr-code {
    width: 268px;
    height: 79px;
    margin: 16px 0px 0px 0px;
  }

  .secret-key-container {
    width: 236px;
    height: 68px;
    gap: 8px;
  }

  .qr-code-img {
    display: none;
  }

  .next-progress-info {
    width: 268px;
    height: 68px;
  }

  .modal-footer {
    max-width: 300px;
    height: 80px;
  }

  .verification-input {
    width: 208px;
    max-height: 37px;
    margin: 0px 16px 0px 30px;
  }

  .validation-error-message-container {
    width: 268px;
    max-height: 87px;
  }

  .validation-error-message-container p {
    width: 212px;
    max-height: 63px;
  }
}

@media screen and (max-height: 608px) {
  .mfa-modal-container {
    overflow: auto;
  }
  .mfa-modal{
    overflow-y: auto;
  }
}
