/* DaPesceOS Login Theme - Safe overlay, no JS modification */
.login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #030712 0%, #0c1929 30%, #030712 60%, #052e16 100%);
}

.login-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.login-fish {
  position: fixed;
  font-size: 2.5rem;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  animation: loginFloat 6s ease-in-out infinite;
}

.login-fish:nth-child(2) { top: 15%; left: 8%; animation-delay: -1.5s; }
.login-fish:nth-child(3) { top: 35%; right: 12%; animation-delay: -3s; font-size: 2rem; }
.login-fish:nth-child(4) { bottom: 30%; left: 15%; animation-delay: -0.5s; font-size: 1.8rem; }
.login-fish:nth-child(5) { top: 55%; right: 20%; animation-delay: -4s; font-size: 1.5rem; }
.login-fish:nth-child(6) { bottom: 15%; right: 35%; animation-delay: -2s; font-size: 2.2rem; }

@keyframes loginFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1.5deg); }
  66% { transform: translateY(6px) rotate(-0.5deg); }
}

.login-wave-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(59,130,246,0.06), transparent);
  animation: loginWave 8s ease-in-out infinite;
}

.login-wave-bottom:nth-last-child(2) {
  height: 40px;
  background: linear-gradient(to top, rgba(5,150,105,0.04), transparent);
  animation-delay: -3s;
}

@keyframes loginWave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-10px); }
}

/* Style the login card - target elements directly */
div.min-h-screen > div > div:first-child > div:first-child {
  position: relative !important;
  z-index: 1 !important;
}

/* Card styling */
div.min-h-screen .card {
  background: rgba(17, 24, 39, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border-color: rgba(55, 65, 81, 0.5) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* Button gradient */
div.min-h-screen .btn-primary {
  background: linear-gradient(135deg, #2563eb, #059669) !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.3s ease !important;
}

div.min-h-screen .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

/* Title gradient */
div.min-h-screen h1 {
  background: linear-gradient(135deg, #60a5fa, #34d399) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Logo glow */
div.min-h-screen .text-6xl {
  filter: drop-shadow(0 0 15px rgba(59,130,246,0.3));
  animation: loginBounce 3s ease-in-out infinite;
}

@keyframes loginBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Input focus glow */
div.min-h-screen .input-dark:focus {
  border-color: rgba(59,130,246,0.5) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important;
}
