/* ============================================================
   ProductManager Pro — Auth Pages
   ============================================================ */

.auth-body {
  min-height: 100vh;
  overflow: hidden;
}

.auth-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
}

/* Animated floating shapes */
.auth-shapes { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .15;
  animation: float 8s infinite ease-in-out;
}
.shape-1 {
  width: 400px; height: 400px;
  background: #fff;
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.shape-2 {
  width: 300px; height: 300px;
  background: #fff;
  bottom: -100px; right: -80px;
  animation-delay: -3s;
}
.shape-3 {
  width: 200px; height: 200px;
  background: #fff;
  top: 50%; left: 60%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-30px) rotate(15deg); }
}

/* Auth card */
.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
}

/* Fade-up animation */
.animate-fade-up {
  animation: fadeUp .5s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo */
.logo-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 16px;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
}

/* Form controls */
.form-control:focus, .form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,.2);
}

/* Password strength */
.password-strength-bar {
  height: 5px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}
.strength-fill {
  height: 100%;
  width: 0;
  border-radius: 9999px;
  transition: width .3s ease, background .3s ease;
}

/* Password rules */
.password-rules { list-style: none; padding-left: 0; }
.password-rules li { padding: 2px 0; }
.password-rules li::before { content: '✗ '; color: #dc3545; }
.password-rules li.valid::before { content: '✓ '; color: #28a745; }
.password-rules li.valid { color: #28a745; }

/* Button */
.btn-glow { box-shadow: 0 4px 20px rgba(102,126,234,.4); }
.btn-glow:hover { box-shadow: 0 6px 28px rgba(102,126,234,.6); transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); border: none; }
.btn-primary:hover { background: linear-gradient(135deg, #5a67d8, #6b46a0); }

/* Dark mode support on auth pages */
@media (prefers-color-scheme: dark) {
  .auth-card { background: #1a1d2e; color: #e2e8f0; }
  .form-control, .form-select { background: #252840; border-color: #3d4268; color: #e2e8f0; }
  .text-muted { color: #94a3b8 !important; }
}
