/* public/style.css - Token & Animasi Tambahan */

:root {
  --bg-primary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --text-main: #0F172A;
  --accent-indigo: #6366F1;
  --accent-emerald: #10B981;
}

html.dark {
  --bg-primary: #020617;
  --bg-surface: #0F172A;
  --text-main: #F1F5F9;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.login-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.login-orb-1 {
  width: 340px;
  height: 340px;
  background: #6366F1;
  top: -80px;
  left: -80px;
}

.login-orb-2 {
  width: 320px;
  height: 320px;
  background: #10B981;
  bottom: -90px;
  right: -70px;
}

.nav-item {
  color: #64748B;
}

.nav-item:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

html.dark .nav-item {
  color: #94A3B8;
}

html.dark .nav-item:hover {
  background-color: #1E293B;
  color: #F8FAFC;
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.1));
  color: #4F46E5;
}

html.dark .nav-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(16, 185, 129, 0.14));
  color: #A5B4FC;
}

.mobile-nav-item {
  color: #64748B;
}

.mobile-nav-item.active {
  color: #4F46E5;
  background-color: rgba(99, 102, 241, 0.08);
}

html.dark .mobile-nav-item {
  color: #94A3B8;
}

html.dark .mobile-nav-item.active {
  color: #A5B4FC;
  background-color: rgba(99, 102, 241, 0.18);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-modal {
  animation: modalIn 0.2s ease-out;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-toast {
  animation: toastIn 0.22s ease-out;
}
