/* Vendor Dashboard – Modern theme */
:root {
  --vd-font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --vd-bg: #f8fafc;
  --vd-surface: #ffffff;
  --vd-border: #e2e8f0;
  --vd-text: #0f172a;
  --vd-text-muted: #64748b;
  --vd-primary: #0d9488;
  --vd-primary-hover: #0f766e;
  --vd-primary-light: rgba(13, 148, 136, 0.08);
  --vd-sidebar-bg: #2e1065;
  --vd-sidebar-bg-mid: #6b21a8;
  --vd-sidebar-bg-end: #9d174d;
  --vd-sidebar-text: #c4b5fd;
  --vd-sidebar-active: #ffffff;
  --vd-sidebar-border: rgba(255, 255, 255, 0.15);
  --vd-radius: 12px;
  --vd-radius-sm: 8px;
  --vd-shadow: 0 1px 3px rgba(0,0,0,0.06);
  --vd-shadow-lg: 0 10px 40px -10px rgba(0,0,0,0.12);
}

body { font-family: var(--vd-font-sans); background: var(--vd-bg); color: var(--vd-text); }

/* Login page */
.vd-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0d9488 100%);
  padding: 1.5rem;
}
.vd-auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--vd-surface);
  border-radius: var(--vd-radius);
  box-shadow: var(--vd-shadow-lg);
  padding: 2rem;
}
.vd-auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}
.vd-auth-logo img { height: 36px; }
.vd-auth-title { font-size: 1.5rem; font-weight: 700; color: var(--vd-text); margin-bottom: 0.25rem; }
.vd-auth-subtitle { color: var(--vd-text-muted); font-size: 0.9375rem; margin-bottom: 1.5rem; }
.vd-auth .form-control {
  border-radius: var(--vd-radius-sm);
  border: 1px solid var(--vd-border);
  padding: 0.75rem 1rem;
}
.vd-auth .form-control:focus {
  border-color: var(--vd-primary);
  box-shadow: 0 0 0 3px var(--vd-primary-light);
}
.vd-btn-primary {
  background: var(--vd-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--vd-radius-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  width: 100%;
}
.vd-btn-primary:hover { background: var(--vd-primary-hover); color: #ffffff; }
.btn.vd-btn-primary,
button.vd-btn-primary,
a.vd-btn-primary { color: #ffffff; }
.btn.vd-btn-primary:hover,
button.vd-btn-primary:hover,
a.vd-btn-primary:hover { color: #ffffff; }
.vd-auth-footer { margin-top: 1.5rem; text-align: center; }
.vd-auth-footer a { color: var(--vd-primary); text-decoration: none; font-weight: 500; }
.vd-auth-footer a:hover { text-decoration: underline; }
.vd-register-msg { margin-top: 1rem; padding: 0.75rem; background: var(--vd-primary-light); border-radius: var(--vd-radius-sm); font-size: 0.875rem; color: var(--vd-text); }
.vd-resend { font-size: 0.875rem; margin-top: 0.75rem; }
.vd-resend a { color: var(--vd-primary); }

/* Auth loading state – keep button visible, show clear spinner */
.vd-btn-loading {
  position: relative;
  pointer-events: none;
  user-select: none;
}
.vd-btn-loading .vd-btn-loading-text { visibility: hidden; }
.vd-btn-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: #0f172a;
  border-radius: 50%;
  animation: vd-spin 0.6s linear infinite;
}
@keyframes vd-spin {
  to { transform: rotate(360deg); }
}
/* Primary button loading: keep teal background, dark spinner */
.vd-btn-primary.vd-btn-loading,
.vd-btn-primary.vd-btn-loading:disabled {
  background: var(--vd-primary) !important;
  opacity: 1 !important;
  color: transparent !important;
}
.vd-btn-primary.vd-btn-loading::after {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
}
.vd-resend a.vd-resend-loading { opacity: 0.7; cursor: wait; pointer-events: none; }

/* Layout */
#layout-wrapper { display: flex; min-height: 100vh; }
.vd-sidebar {
  width: 260px;
  background: var(--vd-surface);
  color: var(--vd-text);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, margin 0.2s;
  border-right: 1px solid var(--vd-border);
}
@media (max-width: 991.98px) {
  .vd-sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 1040; margin-left: -260px; }
  .vd-sidebar.vd-sidebar-open { margin-left: 0; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
}
.vd-sidebar-brand {
  min-height: 64px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--vd-sidebar-bg) 0%, var(--vd-sidebar-bg-mid) 50%, var(--vd-sidebar-bg-end) 100%);
  border-bottom: 1px solid var(--vd-sidebar-border);
}
.vd-sidebar-brand a { color: var(--vd-sidebar-active); font-weight: 700; text-decoration: none; display: block; width: 100%; text-align: center; }
.vd-sidebar-logo-text {
  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #e9d5ff !important;
}
.vd-sidebar-logo-text:hover { color: #f5f3ff !important; }
.vd-brand-logo-text {
  font-family: "Caveat Brush", cursive;
  color: #a78bfa;
  letter-spacing: 0.02em;
}
.vd-sidebar-nav { flex: 1; padding: 1rem 0; overflow-y: auto; background: var(--vd-surface); }
.vd-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  margin: 0 0.75rem;
  border-radius: var(--vd-radius-sm);
  color: var(--vd-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.vd-nav-link:hover { background: var(--vd-bg); color: var(--vd-text); }
.vd-nav-link.active {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border-left-color: #6366f1;
  font-weight: 600;
}
.vd-nav-link i { width: 20px; text-align: center; opacity: 0.9; }
.vd-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vd-header {
  min-height: 64px;
  background: linear-gradient(90deg, var(--vd-sidebar-bg) 0%, var(--vd-sidebar-bg-mid) 50%, var(--vd-sidebar-bg-end) 100%);
  border-bottom: 1px solid var(--vd-sidebar-border);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vd-header-left { display: flex; align-items: center; gap: 1rem; }
.vd-menu-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--vd-sidebar-text);
  border-radius: var(--vd-radius-sm);
}
.vd-menu-btn:hover { color: var(--vd-sidebar-active); background: rgba(255, 255, 255, 0.08); }
.vd-header-right { display: flex; align-items: center; gap: 1rem; }
.vd-noti-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--vd-sidebar-text);
  border-radius: var(--vd-radius-sm);
}
.vd-noti-btn:hover { color: var(--vd-sidebar-active); background: rgba(255, 255, 255, 0.08); }
.vd-noti-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vd-user-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--vd-radius-sm);
  color: var(--vd-sidebar-text);
}
.vd-user-menu:hover { color: var(--vd-sidebar-active); }
.vd-user-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.vd-header .vd-user-name { font-weight: 600; font-size: 0.9375rem; color: var(--vd-sidebar-active); }
.vd-header .vd-user-meta { font-size: 0.75rem; color: var(--vd-sidebar-text); }
.vd-header .vd-user-menu .text-muted { color: var(--vd-sidebar-text) !important; }
.vd-header .dropdown-menu { background: var(--vd-surface); border: 1px solid var(--vd-border); }
.vd-header .dropdown-item { color: var(--vd-text); }
.vd-header .dropdown-item:hover { background: var(--vd-bg); }
.vd-content {
  flex: 1;
  padding: 1.5rem;
  color: var(--vd-text);
}
.vd-content .card,
.vd-content .vd-card { color: var(--vd-text); }
.vd-content h1, .vd-content h2, .vd-content h3, .vd-content h4, .vd-content h5, .vd-content h6 { color: var(--vd-text); }

/* Page title */
.vd-page-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--vd-text); }
.vd-page-subtitle { color: var(--vd-text-muted); font-size: 0.9375rem; margin-bottom: 1.5rem; }

/* Cards */
.vd-card {
  background: var(--vd-surface);
  border-radius: var(--vd-radius);
  border: 1px solid var(--vd-border);
  box-shadow: var(--vd-shadow);
  overflow: hidden;
}
.vd-card-body { padding: 1.25rem; }
.vd-stat-card {
  background: var(--vd-surface);
  border-radius: var(--vd-radius);
  border: 1px solid var(--vd-border);
  padding: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.vd-stat-card:hover { box-shadow: var(--vd-shadow-lg); border-color: var(--vd-primary-light); }

/* Home stat cards – colorful dark gradients, white text */
.vd-stat-card.vd-stat-gradient {
  border: none;
  color: #ffffff;
}
.vd-stat-card.vd-stat-gradient .vd-stat-label { color: rgba(255, 255, 255, 0.85); }
.vd-stat-card.vd-stat-gradient .vd-stat-value { color: #ffffff; }
.vd-stat-card.vd-stat-gradient .vd-stat-icon { background: rgba(255, 255, 255, 0.2); color: #ffffff; }
.vd-stat-card.vd-stat-gradient.success { background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%); }
.vd-stat-card.vd-stat-gradient.primary { background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%); }
.vd-stat-card.vd-stat-gradient.info { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%); }
.vd-stat-card.vd-stat-gradient.warning { background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%); }
.vd-stat-card.vd-stat-gradient.purple { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%); }
.vd-stat-card.vd-stat-gradient:hover { box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.25); }

.vd-stat-card-actions.vd-stat-gradient .vd-stat-label { color: rgba(255, 255, 255, 0.9); }
.vd-stat-card-actions.vd-stat-gradient .vd-stat-icon { background: rgba(255, 255, 255, 0.2); color: #ffffff; }
/* Quick action buttons: same outline style, white on gradient */
.vd-stat-card-actions.vd-stat-gradient .vd-btn-inverse,
.vd-stat-card-actions.vd-stat-gradient .vd-btn-outline.vd-btn-inverse {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: transparent;
}
.vd-stat-card-actions.vd-stat-gradient .vd-btn-inverse:hover,
.vd-stat-card-actions.vd-stat-gradient .vd-btn-outline.vd-btn-inverse:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

.vd-stat-card-actions .vd-stat-value { display: none; }
.vd-stat-card-actions .vd-stat-label { margin-bottom: 0; }
.vd-stat-card-actions .vd-btn { flex-shrink: 0; }
.vd-stat-label { font-size: 0.8125rem; color: var(--vd-text-muted); margin-bottom: 0.25rem; }
.vd-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--vd-text); }
.vd-stat-icon { width: 40px; height: 40px; border-radius: var(--vd-radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 0.75rem; }
.vd-stat-icon.primary { background: var(--vd-primary-light); color: var(--vd-primary); }
.vd-stat-icon.success { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.vd-stat-icon.warning { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.vd-stat-icon.info { background: rgba(59, 130, 246, 0.12); color: #2563eb; }

/* Buttons – green/primary action buttons: white text */
.vd-btn-primary,
.vd-content .btn-primary,
.vd-content .btn.btn-primary,
#layout-wrapper .btn-primary {
  color: #ffffff !important;
}
.vd-content .btn-primary:hover,
.vd-content .btn.btn-primary:hover,
#layout-wrapper .btn-primary:hover {
  color: #ffffff !important;
}

.vd-btn { border-radius: var(--vd-radius-sm); font-weight: 500; padding: 0.5rem 1rem; }
.vd-btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }
.vd-btn-outline { border: 1px solid var(--vd-border); background: transparent; color: var(--vd-text); }
.vd-btn-outline:hover { background: var(--vd-bg); border-color: var(--vd-text-muted); }
.vd-btn-inverse { border: 1px solid rgba(255, 255, 255, 0.7); color: #ffffff; background: transparent; }
.vd-btn-inverse:hover { background: rgba(255, 255, 255, 0.2); border-color: #ffffff; color: #ffffff; }

/* Tables & lists */
.vd-table { width: 100%; }
.vd-table th { font-weight: 600; color: var(--vd-text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.75rem 1rem; border-bottom: 1px solid var(--vd-border); }
.vd-table td { padding: 1rem; border-bottom: 1px solid var(--vd-border); }
.vd-table tr:last-child td { border-bottom: none; }

/* Package grid */
.vd-pkg-card {
  background: var(--vd-surface);
  border-radius: var(--vd-radius);
  border: 1px solid var(--vd-border);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.vd-pkg-card:hover { box-shadow: var(--vd-shadow-lg); border-color: var(--vd-primary); }
.vd-pkg-cover { height: 140px; background: var(--vd-bg); object-fit: cover; width: 100%; }
.vd-pkg-body { padding: 1rem; }
.vd-pkg-title { font-weight: 600; margin-bottom: 0.25rem; }
.vd-pkg-meta { font-size: 0.875rem; color: var(--vd-text-muted); }
.vd-badge { display: inline-block; padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.75rem; font-weight: 500; }
.vd-badge-published { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.vd-badge-draft { background: rgba(245, 158, 11, 0.12); color: #d97706; }

/* Package detail – includes list & gallery */
.vd-include-item { background: var(--vd-bg); border: 1px solid var(--vd-border); }
.vd-include-item:hover { background: #f1f5f9; }
.vd-gallery-thumb { background: var(--vd-bg); }
.vd-gallery-delete { opacity: 0.9; }
.vd-gallery-thumb:hover .vd-gallery-delete { opacity: 1; }
.vd-include-sort-handle { cursor: grab; }
.vd-include-sort-handle:active { cursor: grabbing; }
.ui-sortable-helper { box-shadow: var(--vd-shadow-lg); }

/* Empty state */
.vd-empty { text-align: center; padding: 3rem 1.5rem; color: var(--vd-text-muted); }
.vd-empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }

/* Utilities */
.vd-text-muted { color: var(--vd-text-muted); }
.vd-fw-600 { font-weight: 600; }
.vd-mb-0 { margin-bottom: 0; }

/* Professional dashboard refresh (global) */
:root {
  --vd-bg: #f3f6fb;
  --vd-surface: #ffffff;
  --vd-border: #dbe3ef;
  --vd-text: #0f172a;
  --vd-text-muted: #5f6f86;
  --vd-primary: #2563eb;
  --vd-primary-hover: #1d4ed8;
  --vd-primary-light: rgba(37, 99, 235, 0.12);
  --vd-sidebar-bg: #2e1065;
  --vd-sidebar-bg-mid: #6b21a8;
  --vd-sidebar-bg-end: #9d174d;
  --vd-sidebar-text: #f5d0fe;
  --vd-sidebar-active: #ffffff;
  --vd-sidebar-border: rgba(255, 255, 255, 0.12);
  --vd-radius: 10px;
  --vd-radius-sm: 8px;
  --vd-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  --vd-shadow-lg: 0 16px 36px -18px rgba(15, 23, 42, 0.3);
}

body {
  letter-spacing: 0.01em;
}

.vd-content {
  max-width: none;
  width: 100%;
}

.vd-sidebar-brand,
.vd-header {
  background: linear-gradient(90deg, var(--vd-sidebar-bg) 0%, var(--vd-sidebar-bg-mid) 55%, var(--vd-sidebar-bg-end) 100%);
}

.vd-nav-link.active {
  background: rgba(37, 99, 235, 0.18);
  color: var(--vd-sidebar-active);
  border-left-color: #60a5fa;
}

.vd-nav-link:hover {
  background: #eef2f9;
  color: #0f172a;
}

.vd-card,
.vd-stat-card,
.card,
.modal-content {
  border-radius: var(--vd-radius);
  border: 1px solid var(--vd-border);
  box-shadow: var(--vd-shadow);
}

.vd-card:hover,
.vd-stat-card:hover,
.vd-pkg-card:hover {
  box-shadow: var(--vd-shadow-lg);
}

.table > :not(caption) > * > * {
  border-bottom-color: var(--vd-border);
}

.form-control,
.form-select {
  border-color: var(--vd-border);
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn {
  border-radius: 8px;
  font-weight: 600;
}

/* Replace fantasy gradients with restrained professional tones */
.vd-stat-card.vd-stat-gradient {
  color: var(--vd-text);
  border: 1px solid var(--vd-border);
}

.vd-stat-card.vd-stat-gradient .vd-stat-label {
  color: var(--vd-text-muted);
}

.vd-stat-card.vd-stat-gradient .vd-stat-value {
  color: var(--vd-text);
}

.vd-stat-card.vd-stat-gradient .vd-stat-icon {
  color: #334155;
}

.vd-stat-card.vd-stat-gradient.primary {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.vd-stat-card.vd-stat-gradient.success {
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

.vd-stat-card.vd-stat-gradient.info {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.vd-stat-card.vd-stat-gradient.warning {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.vd-stat-card.vd-stat-gradient.purple {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}

.vd-stat-card-actions.vd-stat-gradient .vd-btn-inverse,
.vd-stat-card-actions.vd-stat-gradient .vd-btn-outline.vd-btn-inverse {
  border-color: var(--vd-border);
  color: #0f172a;
  background: #ffffff;
}

.vd-stat-card-actions.vd-stat-gradient .vd-btn-inverse:hover,
.vd-stat-card-actions.vd-stat-gradient .vd-btn-outline.vd-btn-inverse:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #0f172a;
}

/* Profile page and legacy bootstrap cards inherit same visual language */
.profile-page .card-header,
.card-header {
  background: #f8fafc;
  border-bottom: 1px solid var(--vd-border);
}

/* Sidebar dark mode to match top menu */
.vd-sidebar {
  background: linear-gradient(90deg, var(--vd-sidebar-bg) 0%, var(--vd-sidebar-bg-mid) 55%, var(--vd-sidebar-bg-end) 100%);
  border-right: 1px solid var(--vd-sidebar-border);
}

.vd-sidebar-nav {
  background: transparent;
}

.vd-nav-link {
  color: var(--vd-sidebar-text);
}

.vd-nav-link i {
  color: var(--vd-sidebar-text);
}

.vd-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--vd-sidebar-active);
}

.vd-nav-link:hover i {
  color: var(--vd-sidebar-active);
}

.vd-nav-link.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--vd-sidebar-active);
  border-left-color: #93c5fd;
}

.vd-nav-link.active i {
  color: var(--vd-sidebar-active);
}

/* Final theme: solid dark purple + subtle particles */
.vd-sidebar,
.vd-sidebar-brand,
.vd-header {
  background: #2a0b52 !important;
}

.vd-sidebar {
  border-right: 1px solid rgba(196, 181, 253, 0.18) !important;
  position: relative;
  overflow: hidden;
}

.vd-sidebar-brand,
.vd-header {
  border-bottom: 1px solid rgba(196, 181, 253, 0.16) !important;
  position: relative;
  overflow: visible;
}

.vd-sidebar::before,
.vd-header::before,
.vd-sidebar-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(196, 181, 253, 0.22) 2px, transparent 3px),
    radial-gradient(circle at 28% 76%, rgba(167, 139, 250, 0.18) 2.2px, transparent 3.2px),
    radial-gradient(circle at 54% 38%, rgba(216, 180, 254, 0.2) 2px, transparent 3px),
    radial-gradient(circle at 74% 64%, rgba(192, 132, 252, 0.18) 2.2px, transparent 3.2px),
    radial-gradient(circle at 88% 28%, rgba(196, 181, 253, 0.16) 2px, transparent 3px);
  animation: vd-particle-blink 2.6s ease-in-out infinite;
  z-index: 0;
}

@keyframes vd-particle-blink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Topbar dropdown layering */
.vd-header > * {
  position: relative;
  z-index: 1;
}

.vd-header .dropdown-menu {
  z-index: 2000 !important;
}

/* Home stats: colorful + simple (final override) */
.vd-stat-card.vd-stat-gradient {
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.45);
  position: relative;
  overflow: hidden;
}

.vd-stat-card.vd-stat-gradient .vd-stat-label {
  color: rgba(255, 255, 255, 0.88) !important;
}

.vd-stat-card.vd-stat-gradient .vd-stat-value {
  color: #ffffff !important;
  font-weight: 700;
}

.vd-stat-card.vd-stat-gradient .vd-stat-icon {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2) !important;
  position: relative;
  z-index: 1;
}

.vd-stat-card.vd-stat-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.22) 2px, transparent 3px),
    radial-gradient(circle at 36% 74%, rgba(255, 255, 255, 0.16) 2px, transparent 3px),
    radial-gradient(circle at 62% 34%, rgba(255, 255, 255, 0.2) 2.2px, transparent 3.2px),
    radial-gradient(circle at 82% 64%, rgba(255, 255, 255, 0.15) 2px, transparent 3px);
  animation: vd-particle-blink 2.8s ease-in-out infinite;
}

.vd-stat-card.vd-stat-gradient > * {
  position: relative;
  z-index: 1;
}

.vd-stat-card.vd-stat-gradient.primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
}

.vd-stat-card.vd-stat-gradient.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.vd-stat-card.vd-stat-gradient.info {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
}

.vd-stat-card.vd-stat-gradient.warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.vd-stat-card.vd-stat-gradient.purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
}

.vd-stat-card-actions.vd-stat-gradient .vd-btn-inverse,
.vd-stat-card-actions.vd-stat-gradient .vd-btn-outline.vd-btn-inverse {
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  background: transparent !important;
}

.vd-stat-card-actions.vd-stat-gradient .vd-btn-inverse:hover,
.vd-stat-card-actions.vd-stat-gradient .vd-btn-outline.vd-btn-inverse:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}
