.material-icons {
  display: inline-block;
  width: 1em;
  height: 1em;
  overflow: hidden;
  line-height: 1;
  vertical-align: middle;
}

/* Hide icons only while fonts are loading (requires JS to add .fonts-loading class) */
.fonts-loading .material-icons {
  visibility: hidden;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  height: 66px;
  background: var(--header);
  position: relative;
}

.header-container button {
  margin-bottom: 0;
  height: 36px;
}

.card {
  max-width: 490px;
  width: 90%;
  box-sizing: border-box;
  margin: 80px auto 20px auto;
  margin-bottom: 20px;
  border: solid 1px rgb(0, 0, 0, 0.1);
  background-color: white;
}

.header {
  padding: 16px 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(0, 0, 0, 0.87);
}

.header-info {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #555454;
  margin-bottom: 32px;
}

.header-small-margin {
  margin-bottom: 8px !important;
}

.header.logged-out {
  border: none;
  margin: 0;
}

.content {
  padding: 32px;
}

.content h1 {
  font-weight: normal;
  font-size: 24px;
  line-height: 40px;
  margin: 0 0 28px;
}

.content input {
  height: 48px;
  width: 100%;
  border: solid 1px gray;
  border-radius: 4px;
  padding: 0 16px;
  box-sizing: border-box;
}

.content input[type="checkbox"] {
  height: 17px;
  width: 20px;
  margin-right: 8px;
}

.content input[type="radio"] {
  height: 20px;
  width: 20px;
  margin: 4px;
}

.form-field-checkbox {
  display: flex;
  align-items: center;
}

.content label {
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  color: #555454;
  margin-bottom: 4px;
  display: block;
}

.input-above-link {
  float: right;
  margin-left: 12px;
}

.input-with-button {
  position: relative;
  border: solid 1px gray;
  border-radius: 4px;
  background-color: #fcfcff;
}

.input-with-button input {
  width: calc(100% - 48px);
  border: none;
}

.input-with-button button {
  position: absolute;
  top: 3px;
  right: 4px;
  padding: 8px;
  background: none;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-with-button button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.input-with-button button > i {
  color: gray;
}

.input-with-prefix-button button {
  left: 4px;
  right: unset;
  pointer-events: none;
}

.input-with-prefix-button input {
  margin-left: 48px;
}

.submit-button {
  width: 100%;
  min-width: 120px;
  height: 48px;
  color: white;
  background-color: var(--mdc-theme-primary);
  border: none;
  border-radius: 4px;
  font-size: 15px;
  box-shadow: 0px 3px 1px -2px rgb(0, 0, 0, 0.2),
    0px 2px 2px 0px rgb(0, 0, 0, 0.14), 0px 1px 5px 0px rgb(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-button:hover:not(:disabled) {
  opacity: 0.95;
  box-shadow: 0px 2px 4px -1px rgb(0, 0, 0, 0.2),
    0px 4px 5px 0px rgb(0, 0, 0, 0.14), 0px 1px 10px 0px rgb(0, 0, 0, 0.12);
}

.submit-button:disabled {
  cursor: not-allowed;
  background-color: #b2b3b5;
}

.submit-button i {
  margin-right: 8px;
  font-size: 20px;
}

.no-bottom-margin {
  margin-bottom: 0 !important;
}

.extra-bottom-margin {
  margin-bottom: 24px;
}

.extra-top-margin {
  margin-top: 32px;
}

.extra-top-margin-small {
  margin-top: 16px;
}

.margin-bottom-16 {
  margin-bottom: 16px !important;
}

.margin-top-24 {
  margin-top: 24px;
}

.text-button {
  height: 48px;
  width: 100%;
  min-width: 120px;
  border: none;
  font-size: 15px;
  border-radius: 4px;
  color: #555454;
  background: #fbfcfd;
  border: solid 1px #e9ebec;
}

.text-button:hover {
  opacity: 0.95;
  box-shadow: 0px 2px 4px 0px rgba(104, 104, 104, 0.2);
}

.buttons-container {
  text-align: right;
  margin-top: 32px;
  margin-bottom: 24px;
}

.buttons-container > a {
  font-size: 12px;
  font-weight: 600;
}

.buttons-container > button:last-of-type {
  margin-left: 8px;
}

.buttons-container-full-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.buttons-container-full-width > button {
  flex: 1;
}

.reverse-flex-container {
  display: flex;
  flex-direction: column-reverse;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.full-width {
  width: 100%;
}

.text-button-link {
  display: flex;
  align-items: center;
  justify-content: center;
    height: 48px;
  flex: 1;
  width: 100%;
  min-width: 120px;
  border: none;
  font-size: 15px;
  border-radius: 4px;
  color: #555454;
  background: #fbfcfd;
  border: solid 1px #e9ebec;
}

.text-button-link:hover {
  opacity: 0.95;
  box-shadow: 0px 2px 4px 0px rgba(104, 104, 104, 0.2);
}

.caption {
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  color: #555454;
}

.array-item {
  margin-bottom: 8px;
}

.add-item {
  display: flex;
  align-items: center;
  padding: 8px;
  background: none;
  border: none;
}

.add-item:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.add-item i {
  font-size: 16px;
  margin-right: 8px;
}

.label-with-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.label-with-link > button {
  border: none;
  background: none;
  color: var(--mdc-theme-primary);
  font-weight: 600;
  font-size: 12px;
}

.footer-with-link {
  text-align: center;
  font-size: 12px;
}

.footer-with-link  > a{
  font-weight: 600;
}

.footer-with-link > button {
  border: none;
  background: none;
  color: var(--mdc-theme-primary);
  font-weight: 600;
  font-size: 12px;
}

.notification-container {
  padding: 12px 16px;
  color: #545454;
  background-color: #f0f7ff;
  font-size: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.notification-container > i {
  font-size: 16px;
  margin-right: 8px;
}

.notification-container > span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-container > button {
  font-weight: 600;
  color: var(--mdc-theme-primary);
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
}

.error-container {
  padding: 12px 16px;
  color: #a71b12;
  background-color: #fff8f7;
  font-size: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.error-container > i {
  font-size: 16px;
  margin-right: 8px;
}

.error-details {
  color: #555454;
  font-size: 12px;
  padding-top: 12px;
}

.scopes-list li {
  margin-bottom: 8px;
}

.text-field-helper {
  margin-top: 4px;
  font-size: 12px;
  color: gray;
}

#address-field-error {
  margin-top: 4px;
  font-size: 12px;
  color: #cf3228;
}

.tabs-container {
  display: flex;
}

.tab-button {
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  padding: 14px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.tab-button:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.tab-button i {
  margin-right: 8px;
  font-size: 18px;
}

.tab-button-active {
  border-bottom: 2px solid var(--mdc-theme-primary);
}

.demo-content {
  max-width: 1024px;
  width: 90%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08), 0px 0px 1px rgba(0, 0, 0, 0.31);
  background-color: white;
  border-radius: 4px;
}

.demo-content pre {
  background-color: #f7faff;
  color: #212533;
  border: 1px solid #c2c3c6;
}

.demo-unauthorized-container pre {
  text-align: left;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
}

.demo-table td,
th {
  padding: 8px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.demo-table th {
  border: none;
}

.demo-table tr.selectable {
  cursor: pointer;
}

.demo-table-action-col {
  width: 26px;
}

.demo-table-collapsed-content {
  padding: 24px 36px !important;
  background: #fcfcff;
}

.demo-table h4 {
  margin: 0 0 16px 0;
}

.empty-info {
  color: darkgray;
  text-align: center;
  padding: 80px;
}

.tag {
  padding: 2px 4px;
  background: #f7faff;
  border: 1px solid #c2c3c6;
  border-radius: 4px;
  margin-left: 6px;
}

.select-content {
  display: flex;
  flex-direction: column;
}

.consent-header {
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.consent-header h1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consent-footer {
  line-height: 21px;
}

.consent-header-name-container {
  display: flex;
  align-items: center;
  margin: 16px 0;
}

.consent-header-name-container h4 {
  font-weight: 500;
  margin: 0;
}

.consent-header-name-container a {
  margin-top: 8px;
}

.consent-header-name-container i {
  border-radius: 24px;
  border: solid 1px #ccc;
  color: gray;
  padding: 8px;
}

.consent-header-name {
  display: flex;
  flex-direction: column;
  margin-left: 16px;
}

.consent-scopes-container {
  margin-bottom: 24px;
}

.consent-scopes-container h4 {
  margin-top: 0;
}

.consent-scopes-container > div {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.consent-scopes-container-row-container {
  margin-bottom: 0 !important;
}

.consent-scope-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.consent-scope-row label {
  flex: 1;
  font-weight: normal;
  font-size: 13px;
  color: black;
}

.consent-scope-row button {
  border: none;
  background: none;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.consent-scope-row button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.consent-scope-description {
  margin-bottom: 16px;
  margin-left: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
  font-size: 13px;
  color: #555454;
  line-height: 18px;
}

.consent-authorization-detail-description {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
  font-size: 13px;
  color: #555454;
  line-height: 18px;
}

.mfa-additional-info {
  background-color: #fdf9f8;
  margin-left: 34px;
  margin-bottom: 16px;
  padding: 4px 16px;
  border-radius: 4px;
}

.mfa-additional-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mfa-additional-info > div > div {
  display: flex;
  align-items: center;
}

.mfa-additional-info i {
  font-size: 20px;
  color: #bd271e;
  padding-top: 2px;
  margin-right: 8px;
}

.mfa-additional-info button {
  background: none;
  border: 1px solid #bd271e;
  height: 36px;
  color: #bd271e;
  font-size: 12px;
  min-width: 100px;
}

.mfa-additional-info p {
  font-size: 12px;
  line-height: 21px;
}

.header-with-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-with-avatar > div {
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fcfcff;
  width: 48px;
  height: 48px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #555454;
  text-transform: uppercase;
  margin-right: 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -24px;
}

.quick-access-content {
  padding: 16px 32px 8px;
  background-color: #fcfcff;
}

.quick-access-content > div {
  padding-bottom: 20px;
}

.quick-access-content h1 {
    font-size: 16px;
}

.href-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  box-shadow: 0px 1px 1px rgb(0 0 0 / 8%), 0px 0px 1px rgb(0 0 0 / 31%);
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 16px;
  cursor: pointer;
  color: #c2c3c6;
  width: 100%;
  border: none;
  box-sizing: border-box;
}

.href-card:hover {
  box-shadow: 0px 1px 16px -4px rgba(0, 0, 0, 0.25),
    0px 0px 1px rgba(0, 0, 0, 0.31);
}

.href-card.disabled {
  pointer-events: none;
  opacity: 0.7;
  cursor: default;
}

.href-card.disabled:hover {
  box-shadow: none;
}

.href-card > div {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.href-card img {
  margin-right: 14px;
  width: 32px;
  max-height: 32px;
}

.href-card i {
  color: #9ea1b7;
}

.href-card span {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #555454;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.href-card-avatar {
  color: white !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex: unset !important;
}

.href-card-avatar-color {
  background-color: var(--mdc-theme-primary);
}

.href-card-avatar-with-img {
  border-radius: 0;
}

.href-card-avatar-with-img > img {
  margin: 0;
}

.quick-access-info {
  padding: 16px 32px;
  font-weight: normal;
  font-size: 12px;
  line-height: 22px;
  border-top: solid 1px #ececec;
}

.quick-access-info a {
    text-decoration: underline;
}

#login-hint-description {
  margin-bottom: 32px;
}

#login-hint-description div {
  margin-bottom: 8px;
}

.spacer-container {
  line-height: 24px;
  margin-bottom: 24px;
  color: #555454;
}

.spacer-container > div {
  display: flex;
  align-items: center;
  width: 100%;
  white-space: nowrap;
  font-size: 12px;
}

.spacer-container > div::before,
.spacer-container > div::after {
  height: 1px;
  background-color: #f2f4ff;
  width: 100%;
  content: "";
  display: block;
}

.spacer-container > div::before {
  margin-right: 24px;
}

.spacer-container > div::after {
  margin-left: 24px;
}

.login-welcome-back-container {
  margin-bottom: 16px;
}

.login-welcome-back-container > h5 {
  margin-top: 0;
}

.login-welcome-back-card {
  background: #fcfcff;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08), 0px 0px 1px rgba(0, 0, 0, 0.31);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  word-break: break-all;
}

.login-welcome-back-card > div {
  margin-left: 16px;
}

.login-welcome-back-card-name {
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  color: black;
}

.login-welcome-back-card-email {
  font-size: 12px;
  line-height: 22px;
  color: #555454;
}

.login-welcome-back-select-different-link {
  font-size: 14px;
  margin: 0 0 20px;
  border: none;
  background: none;
  color: var(--mdc-theme-primary);
}

.pool-login-reduce-mfa-prompts-switch-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-end;
}

.pool-login-remember-idp-switch-container {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.pool-login-remember-idp-switch-container > button {
  border: none;
  background: none;
  color: var(--mdc-theme-primary);
  font-weight: 600;
  font-size: 12px;
}

.authn-mode-switch-container {
  margin-top: 32px;
}

/* Authentication methods grid */
.authn-methods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.authn-methods-grid .href-card {
  margin-bottom: 0;
  flex: 1 1 calc(33.333% - 8px);
  justify-content: center;
}

.authn-methods-grid .href-card > div {
  flex: unset;
  justify-content: center;
}

.methods-grid .href-card {
  margin-bottom: 0;
  flex: 1 1 calc(33.333% - 8px);
  justify-content: center;
}

.methods-grid .href-card > div {
  flex: unset;
  justify-content: center;
}

.device-already-paired-label {
  margin: 24px 0;
  display: block;
}

/* Push/Symbol/QR wait page styles */
.push-loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 24px 24px 24px;
  position: relative;
}

.push-loader-container .loader-text {
  color: #9EA1B7;
  padding-top: 16px;
}

.push-loader-container .push-symbol {
  position: absolute;
  top: 10px;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.12px;
  background: linear-gradient(180deg, #BDCC91 0%, #10B0E9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* QR code scan page styles */
.qr-code-download-text {
  color: #626576;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.qr-code-app-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  margin-bottom: 16px;
  gap: 10px;
}

.qr-code-scan-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #F2F3F4;
  background: #FAFAFA;
  padding: 8px 0 24px 0;
}

.qr-code-scan-container .qr-code-instruction {
  color: #9EA1B7;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.qr-code-scan-container .qr-code-image-wrapper {
  border-radius: 8px;
  box-shadow: 0 78px 22px 0 rgba(0, 0, 0, 0.00), 0 50px 20px 0 rgba(0, 0, 0, 0.01), 0 28px 17px 0 rgba(0, 0, 0, 0.05), 0 13px 13px 0 rgba(0, 0, 0, 0.09), 0 3px 7px 0 rgba(0, 0, 0, 0.10);
}

.push-no-access-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.push-no-access-container .no-access-text {
  color: #626576;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.push-no-access-container a {
    border: none;
    background: none;
    color: var(--mdc-theme-primary);
    font-weight: 600;
    font-size: 12px;
}

.skip-for-now-blue {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-end;
}

.skip-for-now-blue > button {
  border: none;
  background: none;
  color: var(--mdc-theme-primary);
  font-weight: 600;
  font-size: 12px;
}

.login-remember-idp-switch-container {
  display: flex;
}

.login-remember-idp-switch-container > label {
  margin-bottom: 0;
  font-weight: normal;
}

.totp-container > label {
  margin-bottom: 24px;
}

.totp-container.with-setup {
    border: 1px solid #F2F3F4;
    text-align: center;
    border-radius: 4px;
}

.totp-container.with-setup .alert-danger {
    margin-bottom: 0;
}

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

.otp-container > label {
  margin-bottom: 24px;
}

#go-back-button {
  border: none;
  background: none;
  color: var(--mdc-theme-primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  left: -4px;
}

#go-back-button > i {
  font-size: 18px;
  margin-right: 4px;
}

.content-otp > h4 {
  color: #555454;
  margin: 0 0 16px;
  word-break: break-word;
}

.otp-methods {
  background: #ffffff;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08), 0px 0px 1px rgba(0, 0, 0, 0.31);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 32px 0 0;
  padding: 0 24px;
}

.otp-methods > div {
  border-bottom: solid 1px #ececec;
}

.otp-methods > div:last-of-type {
  border-bottom: none;
}

.otp-methods button {
  border: none;
  background: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.otp-methods button > i {
  color: #c2c3c6;
  margin-left: 15px;
}

.otp-method-info {
  display: flex;
}

.otp-method-info > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.otp-method-info span {
    font-weight: bold;
}

.otp-method-icon {
  color: var(--mdc-theme-primary);
  margin-right: 15px;
}

.otp-method-info h4 {
  margin: 0;
}

.otp-method-info p {
  font-size: 12px;
  line-height: 22px;
  color: #555454;
  text-align: left;
}

.otp-send-header {
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 32px;
}

.otp-verify-error {
  background-color: #f9e6eb;
  margin-top: 16px;
  margin-bottom: 24px;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.otp-verify-error > i {
  font-size: 20px;
  color: #bd271e;
  padding-top: 2px;
  margin-left: -10px;
  margin-right: 8px;
}

.otp-send-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
}

.otp-send-options > a {
  border: none;
  background: none;
  color: var(--mdc-theme-primary);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tooltip {
  position: relative;
  display: inline-block;
  margin-left: 9px;
}

.tooltip > i {
  position: relative;
  top: 3px;
  font-size: 18px;
  color: #555454;
}

.tooltip-content {
  visibility: hidden;
  width: 256px;
  background-color: #212533;
  color: white;
  border-radius: 4px;
  padding: 12px;
  position: absolute;
  bottom: 35px;
  margin-left: -135px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.14), 0px 1px 18px rgba(0, 0, 0, 0.12),
    0px 3px 5px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  font-weight: normal;
  font-size: 12px;
  line-height: 22px;
}

#tooltip-triangle {
  visibility: hidden;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
}

.tooltip:hover .tooltip-content,
.tooltip:hover #tooltip-triangle {
  visibility: visible;
}

#idps-list {
  margin-bottom: 16px;
  max-height: 400px;
  overflow-y: auto;
  padding: 2px;
}

button {
  cursor: pointer;
}

.switch-container {
  display: flex !important;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  margin-right: 8px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  border-radius: 17px;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: var(--mdc-theme-primary);
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px var(--mdc-theme-primary);
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

.choose-account-card-link > .login-welcome-back-card:hover {
  box-shadow: 0px 1px 16px -4px rgba(0, 0, 0, 0.25),
    0px 0px 1px rgba(0, 0, 0, 0.31);
}

.header-with-logo {
  border-bottom: 1px solid #f2f3f4;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-with-logo img {
  max-height: 44px;
  max-width: 220px;
}

/* loader */

.dots-loader {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 10px;
}

.dots-loader > div {
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.dots-loader > div:nth-child(1) {
  left: 0;
  animation: dots-loader-first 0.6s infinite;
}

.dots-loader > div:nth-child(2) {
  left: 0;
  animation: dots-loader-middle 0.6s infinite;
}

.dots-loader > div:nth-child(3) {
  left: 20px;
  animation: dots-loader-middle 0.6s infinite;
}

.dots-loader > div:nth-child(4) {
  left: 40px;
  animation: dots-loader-last 0.6s infinite;
}

@keyframes dots-loader-first {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes dots-loader-middle {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 0);
  }
}

@keyframes dots-loader-last {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

/* loader */

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #000;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.otp-input-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.otp-input-container input {
  border: none;
  border-bottom: 1px solid #b2b3b5;
  border-radius: 0;
  text-align: center;
  padding: 0;
  width: 24px;
  height: 32px;
  font-size: 22px;
}

.otp-input-container input:not(:last-child) {
  margin-right: 5px;
}

.otp-input-container > [data-lastpass-icon-root] {
  display: none;
}

.radio-buttons {
  border: solid 1px var(--mdc-theme-primary);
  border-radius: 4px;
  display: flex;
}

.radio-buttons > button {
  border: none;
  border-right: solid 1px var(--mdc-theme-primary);
  background: none;
  flex: 1;
  padding: 8px;
  color: var(--mdc-theme-primary);
}

.radio-buttons > button.active {
  background-color: var(--mdc-theme-primary);
  color: white;
}

.radio-buttons > button:last-of-type {
  border-right: none;
}

.visible-flex {
  display: flex;
}

.visible {
  display: block;
}

.non-visible {
  display: none;
}

.pool-register-form {
  max-height: 564px;
  overflow-y: auto;
  margin-right: -16px;
  padding-right: 16px;
}

.steps-container {
  color: #555454;
  font-size: 10px;
}

.header-bottom-info {
  color: #555454;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 24px;
}

.header-bottom-info {
    a {
        text-decoration: underline;
    }
}

.button-top-margin-to-field {
  margin-top: 8px;
}

.small-icon {
  width: 24px;
  height: 24px;
}

.recaptcha-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.log-in-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.setup-credential-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.no-margin-bottom {
  margin-bottom: 0px !important;
}

.icon-2fa {
  width: 40px;
  height: 40px;
}

.totp-qrcode-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 42px;
  background: #FAFAFA;
  margin-bottom: 24px;
}

.totp-qrcode-container .totp-setup-key-container {
  width: 256px;
  position: relative;
  text-align: center;
}

.totp-qrcode-container .totp-setup-key-container a {
  font-weight: bold;
  font-size: 12px;
  background: #FFFFFF;
  padding: 4px 8px;
  box-shadow: 0px 78px 22px 0px rgba(0, 0, 0, 0.00), 0px 50px 20px 0px rgba(0, 0, 0, 0.01), 0px 28px 17px 0px rgba(0, 0, 0, 0.05), 0px 13px 13px 0px rgba(0, 0, 0, 0.09), 0px 3px 7px 0px rgba(0, 0, 0, 0.10);
  border-radius: 0 0 4px 4px;
  position: relative;
}

.setup-key-block {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  font-size: 12px;
  font-weight: bold;
  border-top: 1px solid #F2F3F4;
  border-bottom: 1px solid #F2F3F4;
  text-align: center;
  background: #FCFCFF;
  margin-top: -24px;
  margin-bottom: 24px;
  position: relative;
  color: #212533;
}

.setup-key-block.visible {
    display: flex;
}

.setup-key-block i {
    margin-left: 6px;
    font-size: 16px;
    color: #626576;
}

.setup-key-block #copied-confirmation {
    position: absolute;
    right: 16px;
    color: #555454;
}

.totp-qrcode-container #totp-qrcode {
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0px 78px 22px 0px rgba(0, 0, 0, 0.00), 0px 50px 20px 0px rgba(0, 0, 0, 0.01), 0px 28px 17px 0px rgba(0, 0, 0, 0.05), 0px 13px 13px 0px rgba(0, 0, 0, 0.09), 0px 3px 7px 0px rgba(0, 0, 0, 0.10);
}

.authenticator-label {
    color: #9EA1B7;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 16px;
}

.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top: 5px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.skeleton {
  display: block;
  background: #e0e0e0;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-input {
  height: 40px;
  margin: 10px 0;
}

.skeleton-button {
  height: 50px;
  margin: 10px 0;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* language selector */

.dropdown-button {
  background: none;
  height: 48px;
  width: 100%;
  border: solid 1px gray;
  border-radius: 4px;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: left;
  position: relative;
}

.dropdown {
  position: absolute;
  width: 100%;
  margin-top: 77px;
  visibility: hidden;
  z-index: 1;
  background-color: white;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0,0,0,.12);
}

.flag-selector {
  display: inline-flex;
  position: absolute;
  right: 50px;
  top: 20px;
}

.flag-selector .flag-img {
  width: 24px;
  height: 16px;
  font-size: 20px;
}

.flag-selector .dropdown-button-container {
  position: relative;
}

.flag-selector #dropdown-button {
  display: flex;
  align-items: center;
  position: absolute;
}

.flag-selector #dropdown-button:hover {
  cursor: pointer;
}

.flag-selector #dropdown-button svg {
  width: 16px;
  height: 16px;
}

.flag-dropdown {
  position: absolute;
  min-width: 200px;
  right: -30px;
  margin-top: 25px;
  visibility: hidden;
  z-index: 1;
  background-color: white;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0,0,0,.12);
}

.dropdown-show {
  visibility: visible;
}

.dropdown-arrow {
  position: absolute;
  right: 8px;
  top: 11px;
  width: 20px;
}

.dropdown-arrow-rotate {
  transform: rotate(180deg);
}

.dropdown button, .flag-dropdown button {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  text-decoration: none;
  width: 100%;
  background: none;
  border: none;
}

.flag-dropdown button .language-option-name {
  font-size: 11px;
  margin-left: 8px;
}

.dropdown button:hover,.flag-dropdown button:hover {
  background-color: #ebebeb;
}

#dropdown-button-content {
  display: flex;
  align-items: center;
}

.radio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0 8px;
}

.radio-card img {
  height: 18px;
  margin-right: 10px;
}

.radio-card label,
.radio-card span {
  margin-bottom: 0;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 48px;
  cursor: pointer;
}

.radio-card-left {
  display: flex;
  align-items: center;
}

.username-div {
  background: #fbfcfd;
  border: 1px solid #e9ebec;
  height: 48px;
  line-height: 48px;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #000;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}