/* Custom style enhancements for Novavault VPS Cloud Panel */

/* Smooth animations */
@keyframes status-glow-running {
  0%, 100% {
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.4), 0 0 12px rgba(16, 185, 129, 0.2);
    opacity: 0.9;
  }
  50% {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.7), 0 0 20px rgba(16, 185, 129, 0.4);
    opacity: 1;
  }
}

@keyframes status-glow-stopped {
  0%, 100% {
    box-shadow: 0 0 4px rgba(244, 63, 94, 0.3);
    opacity: 0.8;
  }
  50% {
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
    opacity: 1;
  }
}

.glow-running {
  animation: status-glow-running 2.5s infinite ease-in-out;
}

.glow-stopped {
  animation: status-glow-stopped 2.5s infinite ease-in-out;
}

/* Custom Scrollbars */
.scrollbar-thin::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 8px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.15);
  border-radius: 8px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.3);
}

/* Backdrop Blur utilities */
.backdrop-blur-xs {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Custom transitions and states */
.vm-card-active {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

/* SweetAlert overrides for premium style dark mode */
.swal2-popup.swal-dark-custom {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  color: #e2e8f0 !important;
  border-radius: 1.25rem !important;
}
.swal2-title.swal-dark-custom {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
}
.swal2-html-container.swal-dark-custom {
  color: #94a3b8 !important;
}
.swal2-confirm.swal-dark-custom {
  background-color: #3b82f6 !important;
  border-radius: 0.75rem !important;
  padding: 0.6rem 1.5rem !important;
}
.swal2-deny.swal-dark-custom {
  background-color: #e11d48 !important;
  border-radius: 0.75rem !important;
  padding: 0.6rem 1.5rem !important;
}
.swal2-cancel.swal-dark-custom {
  background-color: #334155 !important;
  border-radius: 0.75rem !important;
  color: #e2e8f0 !important;
  padding: 0.6rem 1.5rem !important;
}
