/* ==========================================================================
   Zaryon Premium Vendor Panel Stylesheet (Orange Theme)
   Designed & Polished like a World-Class Web App with Advanced Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* Scope all rules when vendor panel body class is active */
body.rm-admin.rm-vendor {
  --vz-primary: #f97316;       /* Vibrant Brand Orange */
  --vz-primary-2: #ea580c;     /* Darker Orange for gradients */
  --vz-primary-light: rgba(249, 115, 22, 0.08);
  --vz-primary-glow: rgba(249, 115, 22, 0.35);
  --vz-bg: #f8fafc;            /* Clean slate-50 base */
  --vz-surface: rgba(255, 255, 255, 0.65); /* Glassmorphic translucent surface */
  --vz-border: rgba(255, 255, 255, 0.65);  /* Specular highlight border */
  --vz-border-dark: rgba(15, 23, 42, 0.06);
  --vz-text: #0f172a;          /* Slate 900 */
  --vz-muted: #475569;         /* Slate 600 */
  --vz-radius: 24px;           /* Large premium rounded curves */
  --vz-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --vz-shadow-hover: 0 20px 45px -15px rgba(249, 115, 22, 0.18), 0 0 0 1px rgba(249, 115, 22, 0.05);
  --pm-primary: var(--vz-primary);

  /* Override dark theme variable defaults with light theme glassmorphism variables */
  --rm-bg: var(--vz-bg);
  --rm-panel: var(--vz-surface);
  --rm-card: var(--vz-surface);
  --rm-border: rgba(15, 23, 42, 0.08);
  --rm-text: var(--vz-text);
  --rm-muted: var(--vz-muted);
  --rm-accent: var(--vz-primary);

  background: radial-gradient(circle at 12% 15%, rgba(249, 115, 22, 0.18) 0%, transparent 45%),
              radial-gradient(circle at 88% 10%, rgba(99, 102, 241, 0.1) 0%, transparent 45%),
              radial-gradient(circle at 50% 85%, rgba(249, 115, 22, 0.07) 0%, transparent 55%),
              #f8fafc !important;
  color: var(--vz-text) !important;
  font-family: 'Inter', 'Montserrat', system-ui, -apple-system, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

/* Clear solid backgrounds to let body mesh gradients shine through */
body.rm-admin.rm-vendor .rm-shell,
body.rm-admin.rm-vendor .rm-main,
body.rm-admin.rm-vendor .rm-content {
  background: transparent !important;
}

/* Scrollbar Customization */
body.rm-admin.rm-vendor ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
body.rm-admin.rm-vendor ::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.02);
}
body.rm-admin.rm-vendor ::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.25);
  border-radius: 99px;
}
body.rm-admin.rm-vendor ::-webkit-scrollbar-thumb:hover {
  background: var(--vz-primary);
}

body.rm-admin.rm-vendor * {
  box-sizing: border-box;
}

/* Layout Polishing */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-shell {
  gap: 0;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-content {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ==========================================================================
   Sidebar Styling (Premium Frosted Glassmorphism with Vector Icons)
   ========================================================================== */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-sidebar {
  background: rgba(255, 255, 255, 0.72) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(30px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(125%) !important;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.01) !important;
  display: flex;
  flex-direction: column;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-brand {
  padding: 32px 24px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.25);
  box-shadow: 0 8px 16px rgba(249, 115, 22, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-brand-logo:hover {
  transform: rotate(5deg) scale(1.05);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-brand-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-brand-title {
  display: flex;
  flex-direction: column;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-brand-title .rm-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--vz-text);
  letter-spacing: -0.8px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-brand-title .rm-sub {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--vz-primary) !important;
  margin-top: -2px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-sidebar .rm-nav {
  padding: 12px 14px;
}

/* User Info Card Widget in Sidebar */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-sidebar > div.px-3.pb-2 {
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 16px !important;
  margin: 0 14px 16px 14px !important;
  padding: 16px !important;
  backdrop-filter: blur(10px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 12px rgba(15, 23, 42, 0.02) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-sidebar > div.px-3.pb-2 .small {
  color: var(--vz-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-sidebar > div.px-3.pb-2 .fw-semibold {
  color: var(--vz-text) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-sidebar > div.px-3.pb-2 .fw-semibold::after {
  content: 'Verified Store' !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  background: rgba(249, 115, 22, 0.1) !important;
  color: #ea580c !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 1px solid rgba(249, 115, 22, 0.15) !important;
}

/* Base style for sidebar nav links */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a {
  color: #334155 !important;
  border: 1px solid transparent !important;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  padding: 11px 14px 11px 16px;
  margin-bottom: 5px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide plain arrow indicators completely */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a .text-muted {
  display: none !important;
}

/* Active sidebar nav links styling - custom orange glow */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a.active {
  background: rgba(249, 115, 22, 0.08) !important;
  border: 1px solid rgba(249, 115, 22, 0.18) !important;
  border-left: 4px solid var(--vz-primary) !important;
  color: var(--vz-primary-2) !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.03) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a.active::before {
  transform: scale(1.05);
  color: var(--vz-primary-2) !important;
}

/* Hover transitions on nav links */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a:hover {
  background: rgba(249, 115, 22, 0.04) !important;
  border-color: rgba(249, 115, 22, 0.08) !important;
  color: var(--vz-primary) !important;
  transform: translateX(5px);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a:hover::before {
  transform: scale(1.1);
  color: var(--vz-primary) !important;
}

/* Vector icon injection via CSS masking */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a::before {
  content: '' !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: 12px !important;
  background-color: currentColor !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  transition: transform 0.25s ease !important;
  flex-shrink: 0 !important;
}

/* Icon Map */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="dashboard.php"]::before,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="index.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_products.php"]::before,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="add_product.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="inventory.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="analytics.php"]::before,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="commission_report.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 002 2h2a2 2 0 002-2'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 002 2h2a2 2 0 002-2'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="inbox.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_orders.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_returns.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 4v5h.582m15.356 2A8.001 8.001 0 1121.21 8H18.582'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 4v5h.582m15.356 2A8.001 8.001 0 1121.21 8H18.582'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="payouts.php"]::before,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="vendor_payouts.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_questions.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_reviews.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.907c.969 0 1.371 1.24.588 1.81l-3.97 2.88a1 1 0 00-.364 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.971-2.88a1 1 0 00-1.175 0l-3.97 2.88c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.364-1.118l-3.97-2.88c-.783-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.907c.969 0 1.371 1.24.588 1.81l-3.97 2.88a1 1 0 00-.364 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.971-2.88a1 1 0 00-1.175 0l-3.97 2.88c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.364-1.118l-3.97-2.88c-.783-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="complaints.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="csv_bulk_upload.php"]::before,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="bulk_upload.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="profile.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href*="logout"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1'/%3E%3C/svg%3E") !important;
}

/* New Admin Panel Specific Icon Mappings */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_categories.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_users.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_vendors.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="email_settings.php"]::before,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="settings.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_coupons.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7 7h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7 7h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_flash_sales.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_bundles.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_banners.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_campaigns.php"]::before,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_campaign_templates.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11 5.882V19.24a1.76 1.76 0 01-3.417.592l-2.147-6.15M18 13a3 3 0 100-6M5.436 13.683A4.001 4.001 0 017 6h1.832c4.1 0 7.625-1.234 9.168-3v14c-1.543-1.766-5.067-3-9.168-3H7a3.988 3.988 0 01-1.564-.317z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11 5.882V19.24a1.76 1.76 0 01-3.417.592l-2.147-6.15M18 13a3 3 0 100-6M5.436 13.683A4.001 4.001 0 017 6h1.832c4.1 0 7.625-1.234 9.168-3v14c-1.543-1.766-5.067-3-9.168-3H7a3.988 3.988 0 01-1.564-.317z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_home_sections.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zm0 8a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1v-2zm0 8a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1v-2z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zm0 8a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1v-2zm0 8a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1v-2z'/%3E%3C/svg%3E") !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-nav a[href$="manage_reports.php"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 17v-2m3 2v-4m3 4v-6m2 10H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 17v-2m3 2v-4m3 4v-6m2 10H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   Topbar (Translucent Sticky Panel)
   ========================================================================== */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar {
  background: rgba(255, 255, 255, 0.45) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 12px 0;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner {
  padding: 8px 24px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner .fw-bold {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px !important;
  letter-spacing: -0.5px;
  color: var(--vz-text);
}

/* ==========================================================================
   World-Class Glassmorphism Card Panels (Frosted Gloss look)
   ========================================================================== */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-card,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .card,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-form,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-table,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-filters,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-csv-guide {
  background: var(--vz-surface) !important;
  border: 1px solid var(--vz-border) !important; 
  border-radius: var(--vz-radius) !important;
  color: var(--vz-text) !important;
  box-shadow: var(--vz-shadow) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
  margin-bottom: 24px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-card:hover,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .card:hover,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-form:hover,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-table:hover,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-filters:hover,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-csv-guide:hover {
  transform: translateY(-5px) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(249, 115, 22, 0.3) !important;
  box-shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.15), 
              0 0 0 1px rgba(249, 115, 22, 0.05) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .card-header,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-header {
  background: rgba(255, 255, 255, 0.45) !important;
  border-bottom: 1px solid var(--vz-border-dark) !important;
  padding: 20px 24px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .card-title,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  color: var(--vz-text);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .card-body,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-card-body {
  padding: 24px !important;
}

/* ==========================================================================
   Premium Forms, Inputs, Focus Rings
   ========================================================================== */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .form-label {
  color: var(--vz-text) !important;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 6px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .form-control,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .form-select,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) textarea.form-control {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: var(--vz-text) !important;
  border-radius: 14px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 550;
  transition: all 0.25s ease;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .form-control:focus,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .form-select:focus,
body.rm-admin.rm-vendor:not(.pm-vendor-auth) textarea.form-control:focus {
  background: #ffffff !important;
  border-color: var(--vz-primary) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .form-check-input:checked {
  background-color: var(--vz-primary) !important;
  border-color: var(--vz-primary) !important;
}

/* ==========================================================================
   Premium Table Customization
   ========================================================================== */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .table-responsive {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .table {
  color: var(--vz-text) !important;
  margin-bottom: 0;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .table thead th {
  background-color: rgba(249, 115, 22, 0.04) !important;
  color: var(--vz-muted) !important;
  border-bottom: 1px solid var(--vz-border-dark) !important;
  font-weight: 750;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  padding: 16px 20px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .table tbody td {
  color: var(--vz-text) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04) !important;
  padding: 16px 20px;
  font-size: 14px;
  vertical-align: middle;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .table tbody tr {
  transition: background-color 0.2s ease;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .table tbody tr:hover {
  background-color: rgba(249, 115, 22, 0.03) !important;
}

/* Table badging */
body.rm-admin.rm-vendor .badge {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
}

body.rm-admin.rm-vendor .badge.bg-success {
  background-color: rgba(34, 197, 94, 0.12) !important;
  color: #15803d !important;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

body.rm-admin.rm-vendor .badge.bg-warning {
  background-color: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

body.rm-admin.rm-vendor .badge.bg-danger {
  background-color: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   Buttons (Orange Gradient Glow Panels)
   ========================================================================== */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn {
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-primary {
  background: linear-gradient(135deg, var(--vz-primary) 0%, var(--vz-primary-2) 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 8px 24px -6px rgba(249, 115, 22, 0.5) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(249, 115, 22, 0.6) !important;
  filter: brightness(1.02);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-primary:active {
  transform: translateY(1px);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-outline-light {
  color: var(--vz-primary) !important;
  border: 1.5px solid rgba(249, 115, 22, 0.3) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-outline-light:hover {
  background: var(--vz-primary) !important;
  border-color: var(--vz-primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3) !important;
  transform: translateY(-2px);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-outline-primary {
  color: var(--vz-primary) !important;
  border: 1.5px solid var(--vz-primary) !important;
  background: transparent !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-outline-primary:hover {
  background: var(--vz-primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2) !important;
  transform: translateY(-2px);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-outline-danger {
  color: #ef4444 !important;
  border: 1.5px solid rgba(239, 68, 68, 0.4) !important;
  background: transparent !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-outline-danger:hover {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #ef4444 !important;
  transform: translateY(-2px);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: 10px;
}

/* ==========================================================================
   Interactive Dashboard Widget Grid (Glowing Glass cards)
   ========================================================================== */
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid var(--vz-border) !important;
  border-radius: var(--vz-radius) !important;
  box-shadow: var(--vz-shadow) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
  padding: 24px !important;
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:has(.pm-icon-products)::after { background: #f97316 !important; }
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:has(.pm-icon-alert)::after { background: #f59e0b !important; }
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:has(.pm-icon-orders)::after { background: #8b5cf6 !important; }
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:has(.pm-icon-sales)::after { background: #06b6d4 !important; }
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:has(.pm-icon-fees)::after { background: #ef4444 !important; }
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:has(.pm-icon-earnings)::after { background: #10b981 !important; }

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--vz-shadow-hover) !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:hover::after {
  top: 14px;
  bottom: 14px;
  width: 6px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card:hover .pm-dashboard-icon {
  transform: scale(1.08) rotate(3deg);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-icon-products {
  background: linear-gradient(135deg, #f97316 0%, #ff8a4c 100%) !important;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3) !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-icon-alert {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3) !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-icon-orders {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3) !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-icon-sales {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3) !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-icon-fees {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3) !important;
}
body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-icon-earnings {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3) !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-label {
  color: var(--vz-muted) !important;
  font-weight: 700;
  font-size: 11px !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 23px;
  color: var(--vz-text);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-card--chart {
  background: rgba(255, 255, 255, 0.65) !important;
  padding: 0 !important;
  margin-top: 12px;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-header {
  border-bottom: 1px solid var(--vz-border-dark) !important;
  padding: 20px 24px !important;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--vz-text);
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-subtitle {
  color: var(--vz-muted);
  font-size: 12px;
  font-weight: 550;
}

body.rm-admin.rm-vendor:not(.pm-vendor-auth) .pm-dashboard-chart {
  padding: 24px;
  height: 290px;
}

/* ==========================================================================
   Product Detail & SKU Variant Panels
   ========================================================================== */
.pm-vendor-gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.pm-gallery-item {
  background: #fff;
  border: 1px solid var(--vz-border);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pm-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.pm-gallery-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.02);
  margin-bottom: 8px;
}

.pm-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-gallery-thumb-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-gallery-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-gallery-actions .btn {
  padding: 4px 8px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
  width: 100%;
}

.pm-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--vz-text);
  margin-bottom: 8px;
}

/* CNIC Image uploads / preview lists */
.pm-cnic-preview {
  max-width: 180px;
  border-radius: 8px;
  border: 1px solid var(--vz-border);
  margin-top: 8px;
}

/* ==========================================================================
   Profile Page Layout specific tweaks
   ========================================================================== */
.pm-profile-header {
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) ;
  border-radius: var(--vz-radius);
  padding: 24px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  backdrop-filter: blur(24px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
  box-shadow: var(--vz-shadow);
}

.pm-profile-avatar {
  position: relative;
  width: 90px;
  height: 90px;
}

.pm-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 16px rgba(249, 115, 22, 0.15);
}

.pm-avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vz-primary);
  color: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}
.pm-avatar-edit-btn:hover {
  background: var(--vz-primary-2);
}

.pm-profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pm-profile-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--vz-text);
  margin: 0;
}

.pm-profile-email {
  font-size: 13.5px;
  color: var(--vz-muted);
  margin: 0;
}

.pm-profile-shop {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--vz-primary);
  background: rgba(249, 115, 22, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 4px;
  width: fit-content;
}

.pm-profile-tabs .nav-tabs {
  border-bottom: 2px solid var(--vz-border-dark) !important;
  margin-bottom: 20px;
  gap: 8px;
}

.pm-profile-tabs .nav-tabs .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--vz-muted);
  border: none;
  background: transparent;
  padding: 12px 20px;
  position: relative;
  transition: color 0.2s ease;
}

.pm-profile-tabs .nav-tabs .nav-link:hover {
  color: var(--vz-primary);
}

.pm-profile-tabs .nav-tabs .nav-link.active {
  color: var(--vz-primary) !important;
  background: transparent !important;
}

.pm-profile-tabs .nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -2px;
  height: 3px;
  background: var(--vz-primary);
  border-radius: 99px;
}

/* ==========================================================================
   Resolved: CSV Bulk Upload styling overrides (Fixes white text on white bg)
   ========================================================================== */
body.rm-admin.rm-vendor .pm-csv-bulk-page,
body.rm-admin.rm-vendor .pm-csv-bulk-page .card,
body.rm-admin.rm-vendor .pm-csv-bulk-page .pm-csv-guide,
body.rm-admin.rm-vendor .pm-csv-bulk-page .form-label,
body.rm-admin.rm-vendor .pm-csv-bulk-page .fw-bold,
body.rm-admin.rm-vendor .pm-csv-bulk-page .fw-semibold,
body.rm-admin.rm-vendor .pm-csv-bulk-page label,
body.rm-admin.rm-vendor .pm-csv-bulk-page p,
body.rm-admin.rm-vendor .pm-csv-bulk-page strong,
body.rm-admin.rm-vendor .pm-csv-bulk-page ol,
body.rm-admin.rm-vendor .pm-csv-bulk-page li {
  color: var(--vz-text) !important;
}

body.rm-admin.rm-vendor .pm-csv-bulk-page .text-muted,
body.rm-admin.rm-vendor .pm-csv-bulk-page .form-text,
body.rm-admin.rm-vendor .pm-csv-bulk-page .section-hint {
  color: var(--vz-muted) !important;
}

body.rm-admin.rm-vendor .pm-csv-bulk-page code {
  color: #c2410c !important;
  background: rgba(249, 115, 22, 0.08) !important;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 13px !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(249, 115, 22, 0.15) !important;
  font-weight: 600 !important;
}

body.rm-admin.rm-vendor .pm-csv-bulk-page .pm-csv-ai-box,
body.rm-admin.rm-vendor .pm-csv-bulk-page .pm-csv-delivery-box {
  background: rgba(249, 115, 22, 0.03) !important;
  border: 1px dashed rgba(249, 115, 22, 0.2) !important;
}

body.rm-admin.rm-vendor .pm-csv-bulk-page .form-control,
body.rm-admin.rm-vendor .pm-csv-bulk-page .form-select {
  background: #fff !important;
  color: var(--vz-text) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

body.rm-admin.rm-vendor .pm-csv-bulk-page .form-control:focus,
body.rm-admin.rm-vendor .pm-csv-bulk-page .form-select:focus {
  border-color: var(--vz-primary) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12) !important;
}

body.rm-admin.rm-vendor .pm-csv-bulk-page #csvResultCard .table-light,
body.rm-admin.rm-vendor .pm-csv-bulk-page #csvResultCard .table-light th {
  background-color: rgba(249, 115, 22, 0.04) !important;
  color: var(--vz-muted) !important;
}

body.rm-admin.rm-vendor .pm-csv-bulk-page #csvStatsCard {
  background: rgba(249, 115, 22, 0.04) !important;
  border: 1px solid rgba(249, 115, 22, 0.15) !important;
}

/* ==========================================================================
   Responsive Rules & Mobile Slide-Out Drawer Navigation
   ========================================================================= */
@media (max-width: 991.98px) {
  /* Turn sidebar into a slide-out drawer menu */
  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    z-index: 1060 !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 10px 0 40px rgba(15, 23, 42, 0.15) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(125%) !important;
  }

  body.rm-admin.rm-vendor.sidebar-open:not(.pm-vendor-auth) .rm-sidebar {
    left: 0 !important;
  }

  /* Premium Backdrop Overlay when sidebar is open */
  body.rm-admin.rm-vendor.sidebar-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(4px);
    z-index: 1050;
    animation: fadeInOverlay 0.2s ease forwards;
  }

  @keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Compact and align topbar on mobile */
  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    gap: 8px !important;
  }

  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  /* Hide secondary descriptive subtitles on mobile to maximize space */
  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner .small,
  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner > div.d-flex.gap-2 > div.small {
    display: none !important;
  }

  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner .d-flex.gap-2 {
    gap: 6px !important;
  }

  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-topbar-inner .btn-sm {
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  body.rm-admin.rm-vendor:not(.pm-vendor-auth) .rm-content {
    padding: 16px;
  }

  .pm-profile-header {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* Stat card styles for admin index page when styled with rm-vendor class */
body.rm-admin.rm-vendor .rm-stat-icon {
  background: rgba(249, 115, 22, 0.1) !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
  color: var(--vz-primary-2) !important;
  font-size: 20px !important;
  border-radius: 12px !important;
}
body.rm-admin.rm-vendor .rm-stat-label {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  color: var(--vz-muted) !important;
}
body.rm-admin.rm-vendor .rm-stat-value {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  color: var(--vz-text) !important;
}

/* Badge styles in admin panel header/brand */
body.rm-admin.rm-vendor .rm-badge {
  background: rgba(249, 115, 22, 0.12) !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
  color: var(--vz-primary) !important;
}
