.lz-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf8fd 0%, #f4f0ff 50%, #e3f6ff 100%);
}
.lz-login::before,
.lz-login::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  will-change: transform;
}
/* Degradado radial en lugar de filter: blur(), mucho más barato de pintar en móviles */
.lz-login::before {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(23, 193, 232, .5) 0%, rgba(23, 193, 232, 0) 68%);
  top: -250px; left: -230px;
}
.lz-login::after {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, .5) 0%, rgba(167, 139, 250, 0) 68%);
  bottom: -240px; right: -210px;
}
.lz-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(23, 193, 232, .35), 0 8px 24px rgba(0, 0, 0, .06);
  padding: 28px 32px 24px;
  animation: lz-rise .5s ease-out both;
}
@keyframes lz-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lz-logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: transform .3s ease;
}
.lz-card h3 { font-size: 1.9rem; }
.lz-sub { color: #67748e; font-size: .9rem; }
.lz-card label {
  font-size: .8rem;
  font-weight: 700;
  color: #344767;
  margin-bottom: 6px;
}
.lz-field {
  display: flex;
  align-items: center;
  background: #f6f9fc;
  border: 1.5px solid #e3e9f0;
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  margin-bottom: 16px;
}
.lz-field:focus-within {
  background: #fff;
  border-color: #17c1e8;
  box-shadow: 0 0 0 4px rgba(23, 193, 232, .15);
}
.lz-field > i {
  padding-left: 16px;
  color: #8392ab;
}
.lz-field:focus-within > i { color: #17c1e8; }
.lz-field .form-control {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 13px 14px;
}
.lz-field .lz-eye {
  cursor: pointer;
  padding: 0 16px;
  color: #8392ab;
  background: transparent;
  border: 0;
}
.lz-field .lz-eye:hover { color: #17c1e8; }
.lz-card .btn.bg-gradient-info {
  padding: 13px;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}
.lz-card .btn.bg-gradient-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -8px rgba(23, 193, 232, .7);
}
.lz-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8392ab;
  font-size: .75rem;
  margin: 14px 0;
}
.lz-divider::before,
.lz-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e3e9f0;
}
.lz-google {
  background: #fff;
  border: 1.5px solid #e3e9f0;
  border-radius: 14px;
  color: #344767;
  font-weight: 600;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lz-google:hover {
  border-color: #17c1e8;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .25);
  transform: translateY(-1px);
}
.lz-forgot { font-size: .82rem; color: #67748e; }
.lz-forgot:hover { color: #17c1e8; }
/* ---- Animaciones ---- */
.lz-login::before { animation: lz-drift 14s ease-in-out infinite alternate; }
.lz-login::after  { animation: lz-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes lz-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, 40px) scale(1.15); }
}

.lz-logo img { animation: lz-float 4s ease-in-out infinite; }
@keyframes lz-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.lz-card h3, .lz-sub, .lz-card form > *, .lz-card > p {
  opacity: 0;
  animation: lz-fade .5s ease-out forwards;
}
.lz-card h3 { animation-delay: .15s; }
.lz-sub { animation-delay: .25s; }
.lz-card form > *:nth-child(2) { animation-delay: .30s; }
.lz-card form > *:nth-child(3) { animation-delay: .35s; }
.lz-card form > *:nth-child(4) { animation-delay: .40s; }
.lz-card form > *:nth-child(5) { animation-delay: .45s; }
.lz-card form > *:nth-child(6) { animation-delay: .50s; }
.lz-card form > *:nth-child(7) { animation-delay: .55s; }
.lz-card form > *:nth-child(8) { animation-delay: .60s; }
.lz-card form > *:nth-child(9) { animation-delay: .65s; }
.lz-card > p { animation-delay: .75s; }
@keyframes lz-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* brillo que cruza el botón Ingresar */
.lz-card .btn.bg-gradient-info { position: relative; overflow: hidden; }
.lz-card .btn.bg-gradient-info::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  animation: lz-shine 3.5s ease-in-out infinite;
}
@keyframes lz-shine {
  0%, 60% { left: -80%; }
  100%    { left: 140%; }
}

/* burbujas de saludos */
.lz-bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lz-bubbles span {
  position: absolute;
  bottom: -60px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #17c1e8;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 8px 20px -8px rgba(23, 193, 232, .5);
  animation: lz-rise-up linear infinite;
  opacity: 0;
}
.lz-bubbles span:nth-child(1) { left: 5%; animation-duration: 16s; animation-delay: 0s; }
.lz-bubbles span:nth-child(2) { left: 17%; animation-duration: 20s; animation-delay: 3s; color: #a78bfa; }
.lz-bubbles span:nth-child(3) { left: 29%; animation-duration: 18s; animation-delay: 7s; }
.lz-bubbles span:nth-child(4) { left: 41%; animation-duration: 22s; animation-delay: 1s; color: #a78bfa; }
.lz-bubbles span:nth-child(5) { left: 55%; animation-duration: 17s; animation-delay: 5s; }
.lz-bubbles span:nth-child(6) { left: 67%; animation-duration: 21s; animation-delay: 9s; color: #a78bfa; }
.lz-bubbles span:nth-child(7) { left: 79%; animation-duration: 19s; animation-delay: 11s; }
.lz-bubbles span:nth-child(8) { left: 91%; animation-duration: 23s; animation-delay: 6s; color: #a78bfa; }
@keyframes lz-rise-up {
  0%   { transform: translateY(0) rotate(-4deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-110vh) rotate(4deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lz-login::before, .lz-login::after, .lz-logo img, .lz-bubbles span,
  .lz-card .btn.bg-gradient-info::after { animation: none; }
  .lz-card h3, .lz-sub, .lz-card form > *, .lz-card > p { opacity: 1; animation: none; }
  .lz-bubbles { display: none; }
}

@media (max-width: 480px) {
  .lz-card { padding: 22px 20px 18px; border-radius: 20px; }
  .lz-logo img { width: 120px; height: 120px; }
}

/* ---- Validación y bloques extra (register, passwords, verify) ---- */
.lz-field.is-invalid {
  border-color: #ea0606;
  background: #fff;
}
.lz-field.is-invalid:focus-within {
  box-shadow: 0 0 0 4px rgba(234, 6, 6, .12);
}
.lz-error {
  color: #ea0606;
  font-size: .78rem;
  margin: -10px 0 14px 4px;
}
.lz-card .alert-success {
  color: #fff;
  font-size: .85rem;
}
.lz-mail-icon {
  font-size: 2.6rem;
  color: #17c1e8;
  margin-bottom: 12px;
  animation: lz-float 4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lz-mail-icon { animation: none; }
}

/* ---- Validación y bloques extra (register, passwords, verify) ---- */
.lz-field.is-invalid {
  border-color: #ea0606;
  background: #fff;
}
.lz-field.is-invalid:focus-within {
  box-shadow: 0 0 0 4px rgba(234, 6, 6, .12);
}
.lz-error {
  color: #ea0606;
  font-size: .78rem;
  margin: -10px 0 14px 4px;
}
.lz-card .alert-success {
  color: #fff;
  font-size: .85rem;
}
.lz-mail-icon {
  font-size: 2.6rem;
  color: #17c1e8;
  margin-bottom: 12px;
  animation: lz-float 4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lz-mail-icon { animation: none; }
}
