/* Authentication
******************************************************************************* */
.authentication-wrapper {
  --bs-auth-basic-inner-max-width: 450px;
  display: flex;
  flex-basis: 100%;
  inline-size: 100%;
  min-block-size: 100vh;
  /* For two-steps auth */
}
.authentication-wrapper .authentication-bg {
  background-color: var(--bs-paper-bg);
}
.authentication-wrapper .authentication-inner {
  inline-size: 100%;
}
.authentication-wrapper.authentication-basic {
  align-items: center;
  justify-content: center;
}
.authentication-wrapper.authentication-basic .authentication-inner {
  max-inline-size: var(--bs-auth-basic-inner-max-width);
}
.authentication-wrapper .auth-cover-illustration {
  z-index: 1;
  max-inline-size: 38rem;
}
.authentication-wrapper .authentication-image {
  position: absolute;
  z-index: -1;
  inline-size: 100%;
  inset-block-end: 7%;
  inset-inline-start: 0;
}
.authentication-wrapper .authentication-image-model {
  inline-size: 768px;
}
.authentication-wrapper.authentication-cover {
  align-items: flex-start;
}
.authentication-wrapper.authentication-cover .authentication-inner {
  position: relative;
  min-block-size: 100vh;
}
.authentication-wrapper.authentication-cover .authentication-image {
  inline-size: 70%;
  inset-inline-start: unset;
}
.authentication-wrapper .auth-input-wrapper .auth-input {
  font-size: 150%;
  max-inline-size: 50px;
  padding-inline: 0.4rem;
}
@media (max-width: 575.98px) {
  .authentication-wrapper .auth-input-wrapper .auth-input {
    font-size: 1.125rem;
  }
}
.authentication-wrapper .divider .divider-text {
  font-size: 0.9375rem;
}

@media (max-width: 1199.98px) {
  .authentication-cover .authentication-image-model {
    position: relative;
    inline-size: 575px;
    inset-block-start: 1rem;
  }
}
/* app-brand at he corner of page */
.auth-cover-brand {
  position: absolute;
  z-index: 1;
  inset-block-start: 2rem;
  inset-inline-start: 2.5rem;
}
@media (max-width: 575.98px) {
  .auth-cover-brand {
    inset-inline-start: 1.5rem;
  }
}

/* Two Steps Verification
? Used for validation specific style as we have validated hidden field */
#twoStepsForm .fv-plugins-bootstrap5-row-invalid .form-control {
  border-width: 2px;
  border-color: #ff4d49;
  box-shadow: none;
}

@media (max-width: 575.98px) {
  .numeral-mask-wrapper .numeral-mask {
    padding: 0;
  }
  .numeral-mask {
    margin-inline: 1px;
  }
}

      .auth-feedback {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        border-radius: 0.9rem;
        padding: 1rem 1.25rem;
        margin-bottom: 1.5rem;
        border: 1px solid transparent;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
      }
      .auth-feedback .feedback-icon {
        font-size: 1.6rem;
        line-height: 1;
        margin-top: 0.15rem;
      }
      .auth-feedback .feedback-icon i {
        display: inline-flex;
      }
      .auth-feedback .feedback-title {
        margin: 0;
        font-weight: 600;
        font-size: 1rem;
      }
      .auth-feedback .feedback-message {
        margin: 0.2rem 0 0;
        font-size: 0.94rem;
      }
      .auth-feedback.feedback-error {
        background: #fff1f2;
        border-color: #fecdd3;
        color: #b91c1c;
      }
      .auth-feedback.feedback-success {
        background: #ecfdf5;
        border-color: #bbf7d0;
        color: #047857;
      }
      .auth-feedback.feedback-info {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1d4ed8;
      }
      .btn.is-loading,
      .btn:disabled.btn-auth-loading {
        cursor: wait;
      }
      .btn-auth-loading .btn-loader {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
      }
      .btn-auth-loading .button-label {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
      }
      .preloader-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
      }
      .preloader-wrapper.small {
        width: 20px;
        height: 20px;
      }
      .preloader-wrapper .spinner-material {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, 0.35);
        border-top-color: #fff;
        animation: spinner-rotate 0.8s linear infinite;
      }
      @keyframes spinner-rotate {
        to {
          transform: rotate(360deg);
        }
      }