:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  --danger-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.4);
}

body {
  background: radial-gradient(circle at 50% 50%, #eef2ff 20%, #e0e7ff 100%);
  color: #2c3e50;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

/* Glassmorphism Card Style */
.card-premium {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.1);
}

/* Status Badges */
.status-badge {
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.bg-premium-green { background: var(--secondary-gradient); color: white; }
.bg-premium-gray { background: #e2e8f0; color: #64748b; }

/* Buttons Customization */
.btn-premium {
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary-p { background: var(--primary-gradient); color: white; }
.btn-primary-p:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4); color: white; }

.btn-danger-p { background: var(--danger-gradient); color: white; }
.btn-danger-p:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 65, 108, 0.4); color: white; }

/* Stats Widgets */
.stat-widget {
  background: white;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid #f1f5f9;
}

.stat-widget:hover {
  border-color: #667eea;
  background: #f8faff;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  color: white;
}

/* Animated Pulse for Online Status */
.pulse-online {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
  display: inline-block;
  margin-right: 8px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Loading Spinner for Buttons */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

