/* Sign in / sign up modal opened from the "Iniciar Sesión" buttons */
.lf-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s 0.3s;
}
/* Dim + blur live on their own layer so the panel never fades see-through */
.lf-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lf-backdrop.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: none;
}
.lf-backdrop.is-open::before {
  opacity: 1;
}
.lf-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 32px 24px 28px;
  border-radius: 24px 24px 0 0;
  background: rgb(20 21 25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 1, 1), opacity 0.2s ease;
}
.lf-backdrop.is-open .lf-panel {
  opacity: 1;
  transform: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
/* Panel height glides between steps; each step's content slides in */
.lf-body {
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lf-step-in {
  animation: lf-step 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lf-step-back {
  animation: lf-step-back 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lf-step {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}
@keyframes lf-step-back {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}
.lf-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  line-height: 1;
}
.lf-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.lf-back {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 16px;
}
.lf-back:hover {
  color: #fff;
}
.lf-logo {
  width: 40px;
  height: 30px;
  margin-bottom: 20px;
}
.lf-title {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}
.lf-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 24px;
}
.lf-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.2s, background 0.2s;
}
.lf-btn + .lf-btn {
  margin-top: 12px;
}
.lf-btn-primary {
  background: rgb(39 173 117);
  color: #fff;
}
.lf-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.lf-btn:hover {
  opacity: 0.9;
}
.lf-soon {
  color: rgb(39 173 117);
}
@media (min-width: 640px) {
  .lf-backdrop {
    align-items: center;
    padding: 16px;
  }
  .lf-panel {
    border-radius: 24px;
    padding: 40px 32px 32px;
    transform: translateY(16px) scale(0.96);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lf-panel,
  .lf-backdrop.is-open .lf-panel {
    transform: none;
    transition: opacity 0.2s ease;
  }
  .lf-step-in,
  .lf-step-back {
    animation: none;
  }
}
@view-transition {
  navigation: auto;
}
