/* --------------------------------------------------------
   KANRI AUTH MODULE
   Login + 2FA + Forgot + Confirm Password
--------------------------------------------------------- */

/* Fondo especial solo para auth */
body.auth-bg {
  background: radial-gradient(circle at top left, #ffffff 0, #f4f5f7 45%, #e5e7eb 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper auth */
.login-wrapper {
  max-width: 960px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 22px;
  box-shadow:
    0 22px 45px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(148, 163, 184, 0.15);
  padding: 48px 64px;
}

@media (max-width: 768px) {
  .login-wrapper {
    padding: 32px 24px;
    border-radius: 16px;
  }

  body.auth-bg {
    padding: 16px;
  }

  .login-right {
    margin-top: 32px;
  }
}

/* Título auth */
.login-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .2rem;
}

.login-title img {
  display: block;
  position: relative;
  top: -1px;
  transition: transform .25s ease, opacity .25s ease;
}

.login-title img:hover {
  transform: scale(1.06);
  opacity: .85;
}

.login-intro {
  font-size: 0.9rem !important; 
  line-height: 1.4;
}

/* Footnote */
.login-footnote {
  font-size: .7rem;
  color: #9ca3af;
  margin-top: 1.6rem;
  line-height: 1.4;
}
.login-footnote a {
  color: #6b7280;
  text-decoration: underline;
}

/* Transiciones Alpine */
.step-transition {
  transition: opacity .25s ease-out, transform .25s ease-out;
}
.step-enter-start { opacity: 0; transform: translateX(24px); }
.step-enter-end { opacity: 1; transform: translateX(0); }
.step-leave-start { opacity: 1; transform: translateX(0); }
.step-leave-end { opacity: 0; transform: translateX(-24px); }

/* Back link */
.back-link {
  font-size: .85rem;
  color: #6b7280;
  cursor: pointer;
  text-decoration: none;
}
.back-link:hover {
  color: var(--kanri-blue);
  text-decoration: underline;
}