/* SMT auth — clean centered login, comfortable UX */
#page-auth,
#page-auth main,
#page-auth .tp-page-area,
#page-auth .smt-auth-page {
  background: #fff !important;
  background-color: #fff !important;
}

#page-auth .breadcrumb__area {
  background: #fff !important;
  background-color: #fff !important;
  height: 72px !important;
  min-height: 72px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

#page-auth .breadcrumb__area.mb-30 {
  margin-bottom: 0 !important;
}

#page-auth .breadcrumb__content {
  text-align: start;
}

#page-auth .breadcrumb__title {
  font-size: 1.5rem !important;
  margin: 0 0 0.1rem !important;
  line-height: 1.2;
}

#page-auth .breadcrumb__list {
  justify-content: flex-start;
}

#page-auth .tp-page-area,
#page-auth .tp-page-area.pt-50,
#page-auth .tp-page-area.pb-80 {
  padding-top: 0.75rem !important;
  padding-bottom: 2rem !important;
}

#page-auth .smt-auth-page {
  --smt-auth-ink: #0b1f33;
  --smt-auth-muted: #6b7785;
  --smt-auth-line: #e6ebf0;
  --smt-auth-blue: #0c55aa;
  padding: 0 0 1.5rem;
}

#page-auth .smt-auth-page > .container {
  max-width: 420px;
  margin-inline: auto;
  padding-inline: 12px;
}

#page-auth .smt-auth-page .row.justify-content-center,
#page-auth .smt-auth-page .row.justify-content-center.py-5 {
  padding: 0 !important;
  margin: 0 !important;
  --bs-gutter-x: 0;
}

#page-auth .smt-auth-page .col-xl-6,
#page-auth .smt-auth-page .col-lg-8,
#page-auth .smt-auth-page .col-lg-10 {
  max-width: 100% !important;
  width: 100% !important;
  flex: 0 0 100%;
  padding: 0 !important;
}

#page-auth .smt-auth-page .auth-card,
#page-auth .smt-auth-page .auth-card.card {
  border: 1px solid var(--smt-auth-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  background-color: #fff !important;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.05) !important;
  overflow: hidden;
}

#page-auth .smt-auth-page .auth-card.auth-card__horizontal {
  display: block;
}

#page-auth .smt-auth-page .auth-card__banner,
#page-auth .smt-auth-page .auth-card__left {
  display: none !important;
}

#page-auth .smt-auth-page .auth-card__right {
  width: 100%;
  max-width: none;
  background: transparent !important;
  padding: 0;
}

#page-auth .smt-auth-page .auth-card__header {
  padding: 1.15rem 1.2rem 0 !important;
}

#page-auth .smt-auth-page .auth-card__header .d-flex {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.7rem !important;
}

#page-auth .smt-auth-page .auth-card__header-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 9px !important;
  border: 1px solid var(--smt-auth-line);
  background: #fff !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

#page-auth .smt-auth-page .auth-card__header-icon svg {
  width: 17px !important;
  height: 17px !important;
}

#page-auth .smt-auth-page .auth-card__header-title,
#page-auth .smt-auth-page .auth-card__header-title.fs-4 {
  color: var(--smt-auth-ink);
  font-size: 1.05rem !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem !important;
  line-height: 1.3;
}

#page-auth .smt-auth-page .auth-card__header-description {
  color: var(--smt-auth-muted) !important;
  font-size: 0.8rem !important;
  line-height: 1.4;
  margin: 0 !important;
}

#page-auth .smt-auth-page .auth-card__body {
  padding: 0.85rem 1.2rem 1.2rem !important;
}

#page-auth .smt-auth-page .form-label {
  color: var(--smt-auth-ink);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

#page-auth .smt-auth-page .form-control,
#page-auth .smt-auth-page input.form-control {
  min-height: 40px !important;
  height: 40px !important;
  font-size: 0.875rem !important;
  line-height: 1.3 !important;
  border-radius: 8px !important;
  border: 1px solid #d9e0e8 !important;
  background: #fff !important;
  box-shadow: none !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
}

#page-auth .smt-auth-page .form-control:focus,
#page-auth .smt-auth-page input.form-control:focus {
  border-color: rgba(12, 85, 170, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(12, 85, 170, 0.1) !important;
}

#page-auth .smt-auth-page .ps-5 {
  padding-inline-start: 2.4rem !important;
}

/* Pin icons to the input height only (not label/error), so validation
   messages never shove icons into the bottom-left corner. */
#page-auth .smt-auth-page form .auth-input-icon {
  position: absolute !important;
  inset-inline-start: 1px !important;
  top: 0 !important;
  transform: none !important;
  z-index: 4;
  width: 2.35rem !important;
  height: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #8a96a3 !important;
  pointer-events: none;
}

#page-auth .smt-auth-page form .auth-input-icon svg,
#page-auth .smt-auth-page form svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

#page-auth .smt-auth-page .invalid-feedback {
  display: block;
  position: static !important;
  width: 100%;
  max-width: 100%;
  margin-top: 0.35rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

/* Keep scroll-top clear of the auth card on mobile */
#page-auth .back-to-top-wrapper {
  z-index: 20;
  right: 16px !important;
  bottom: 88px !important;
}

#page-auth .back-to-top-wrapper.back-to-top-btn-show {
  bottom: 88px !important;
}

#page-auth .smt-auth-page .mb-3 {
  margin-bottom: 0.7rem !important;
}

/* Password field: keep eye toggle inside field */
#page-auth .smt-auth-page .input-group {
  position: relative;
  display: block;
  width: 100%;
  flex-wrap: nowrap;
}

#page-auth .smt-auth-page .input-group > .form-control {
  width: 100%;
  padding-inline-end: 2.5rem !important;
}

#page-auth .smt-auth-page .input-password-toggle {
  position: absolute;
  inset-inline-end: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  color: #8a96a3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#page-auth .smt-auth-page .btn-auth-submit,
#page-auth .smt-auth-page .btn.btn-primary.btn-auth-submit {
  min-height: 40px !important;
  height: 40px !important;
  font-size: 0.875rem !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-weight: 650;
  background: var(--smt-auth-blue) !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

#page-auth .smt-auth-page .btn-auth-submit:hover,
#page-auth .smt-auth-page .btn.btn-primary.btn-auth-submit:hover {
  background: #0a447f !important;
  filter: none;
  transform: none;
  box-shadow: none !important;
}

#page-auth .smt-auth-page a {
  color: var(--smt-auth-blue);
  font-size: 0.8rem;
  text-underline-offset: 2px;
}

#page-auth .smt-auth-page a:hover {
  color: #083d7a;
}

#page-auth .smt-auth-page .form-check {
  min-height: 1.15rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-inline-start: 0 !important;
}

#page-auth .smt-auth-page .form-check .form-check-input {
  margin: 0 !important;
  float: none;
}

#page-auth .smt-auth-page .form-check-label,
#page-auth .smt-auth-page .text-muted {
  font-size: 0.8rem;
}

#page-auth .smt-auth-page .row.g-0.mb-3 {
  align-items: center;
  margin-bottom: 0.85rem !important;
}

#page-auth .smt-auth-page .mt-3.text-center {
  margin-top: 0.75rem !important;
  font-size: 0.8rem;
  color: var(--smt-auth-muted);
}

/* Social login — kill plugin double-line / huge gap */
#page-auth .smt-auth-page .login-options {
  margin: 0.85rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: center;
}

#page-auth .smt-auth-page .login-options-title {
  position: relative !important;
  z-index: 1;
  border: 0 !important;
  border-top: 0 !important;
  margin: 0 0 0.65rem !important;
  padding: 0.75rem 0 0 !important;
}

#page-auth .smt-auth-page .login-options-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--smt-auth-line);
}

#page-auth .smt-auth-page .login-options-title p {
  display: inline-block !important;
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 0 0.75rem !important;
  font-size: 0.75rem !important;
  color: var(--smt-auth-muted) !important;
  background: #fff;
  transform: translateY(-50%);
}

#page-auth .smt-auth-page .social-login-basic {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
}

#page-auth .smt-auth-page .social-login-basic li {
  width: 100%;
  list-style: none !important;
  margin: 0 !important;
}

#page-auth .smt-auth-page .social-login-basic .social-login,
#page-auth .smt-auth-page .social-login {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0.5rem 0.85rem !important;
  border: 1px solid var(--smt-auth-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--smt-auth-ink) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

#page-auth .smt-auth-page .social-login-basic .social-login:hover,
#page-auth .smt-auth-page .social-login:hover {
  background: #f7f9fc !important;
  border-color: #cfd8e3 !important;
  color: var(--smt-auth-ink) !important;
  box-shadow: none !important;
  transform: none !important;
}

#page-auth .smt-auth-page .social-login-basic .social-login img,
#page-auth .smt-auth-page .social-login img {
  width: 16px !important;
  max-width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
}

@media (max-width: 767.98px) {
  #page-auth .breadcrumb__area {
    height: 58px !important;
    min-height: 58px !important;
  }

  #page-auth .smt-auth-page .auth-card__header,
  #page-auth .smt-auth-page .auth-card__body {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
