/* Einstrade VIP Saham - Custom Stylesheet */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
  }
  50% {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.65);
  }
}

.pulse-emerald {
  animation: pulseGlow 2.5s infinite;
}

/* Package card selected state */
.package-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:hover {
  transform: translateY(-2px);
}

.package-card.active {
  border-color: #059669 !important;
  background-color: #ecfdf5 !important;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.15), 0 4px 6px -4px rgba(16, 185, 129, 0.1);
}

/* FOMO Toast animation */
#fomoPopup {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#fomoPopup.show {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Dark mode overrides if user flips theme */
html:not(.light) {
  background-color: #0b0f19;
  color: #f8fafc;
}

html:not(.light) body {
  background-color: #0b0f19;
  color: #e2e8f0;
}

html:not(.light) nav,
html:not(.light) .bg-white {
  background-color: #111827 !important;
  border-color: #1f2937 !important;
  color: #f1f5f9;
}

html:not(.light) .text-slate-900 {
  color: #f8fafc !important;
}

html:not(.light) .text-slate-800 {
  color: #f1f5f9 !important;
}

html:not(.light) .text-slate-700 {
  color: #cbd5e1 !important;
}

html:not(.light) .text-slate-600 {
  color: #94a3b8 !important;
}

html:not(.light) .bg-slate-50,
html:not(.light) .bg-slate-100 {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
}

html:not(.light) input,
html:not(.light) select,
html:not(.light) textarea {
  background-color: #1f2937 !important;
  border-color: #374151 !important;
  color: #f8fafc !important;
}

html:not(.light) .package-card {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

html:not(.light) .package-card.active {
  border-color: #10b981 !important;
  background-color: rgba(16, 185, 129, 0.12) !important;
}
