/* Gambar Kiri */
/* Base */
.illustration-wrap {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* Float halus naik-turun + sedikit scale */
.illustration-float {
  display: inline-block;
  animation: floatY 5.5s ease-in-out infinite;
  will-change: transform;
  /* filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .15)); */
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center center;
}

/* Hover = tilt + sedikit zoom */
.illustration-wrap:hover .illustration-float {
  transform: translateY(-4px) scale(1.02) rotateX(4deg) rotateY(-4deg);
  /* filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .18)); */
}

/* Keyframes floating */
@keyframes floatY {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.01);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* Aksen glow pelan (opsional, bisa dihapus) */
.illustration-wrap::after {
  content: "";
  position: absolute;
  inset: 8% 10% auto 10%;
  height: 18%;
  background: radial-gradient(
    ellipse at center,
    rgba(79, 139, 255, 0.16),
    rgba(79, 139, 255, 0)
  );
  filter: blur(14px);
  pointer-events: none;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .illustration-float {
    animation: none;
  }

  .illustration-wrap:hover .illustration-float {
    transform: none;
  }
}

/* Login Form */
.login-form .form-control {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.login-form .form-control:focus {
  box-shadow: 0 0 12px rgba(13, 110, 253, 0.25);
  transform: scale(1.02);
}

.stylish-btn {
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #0d6efd, #3b82f6);
}

.stylish-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}
