@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --vb-primary: #2f7255;
  --vb-primary-hover: #22543d;
  --vb-bg-app: #fafafa;
  --vb-border: #e2e8f0;
  --vb-text-main: #101828;
  --vb-text-muted: #64748b;
  --nb-black: #101828;

  --nb-shadow-1: 0 1px 3px rgba(0, 0, 0, 0.02);
  --nb-shadow-2: 0 4px 20px rgba(0, 0, 0, 0.03);
  --nb-shadow-5: 0 8px 30px rgba(0, 0, 0, 0.05);

  --nb-shadow-primary-3: 0 4px 12px rgba(47, 114, 85, 0.1);
  --nb-shadow-primary-4: 0 4px 20px rgba(47, 114, 85, 0.15);

  /* --- TYPOGRAPHY SCALE (Modular Ratio: 1.125 for Product UI density) --- */
  --font-title: "Space Grotesk", sans-serif;
  --font-base: "Noto Sans", sans-serif;

  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.75rem; /* 28px */
  --text-4xl: 2.25rem; /* 36px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 800;

  --tracking-tight: -0.02em;
  --tracking-tighter: -0.04em;
  --tracking-normal: 0em;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  --transition-1: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- THEME OVERRIDES --- */
#vibe-invoice-dashboard .text-emerald-600 {
  color: var(--vb-primary);
}
#vibe-invoice-dashboard .bg-emerald-600 {
  background-color: var(--vb-primary);
}
#vibe-invoice-dashboard .border-emerald-600 {
  border-color: var(--vb-primary);
}
#vibe-invoice-dashboard .text-emerald-500 {
  color: #599669;
}
#vibe-invoice-dashboard .bg-emerald-500 {
  background-color: #599669;
}
#vibe-invoice-dashboard .border-emerald-500 {
  border-color: #599669;
}
#vibe-invoice-dashboard .text-emerald-400 {
  color: #95bc92;
}
#vibe-invoice-dashboard .bg-emerald-400 {
  background-color: #95bc92;
}
#vibe-invoice-dashboard .border-emerald-400 {
  border-color: #95bc92;
}
#vibe-invoice-dashboard .text-emerald-300 {
  color: #a8c29c;
}
#vibe-invoice-dashboard .bg-emerald-300 {
  background-color: #a8c29c;
}
#vibe-invoice-dashboard .border-emerald-300 {
  border-color: #a8c29c;
}
#vibe-invoice-dashboard .bg-emerald-100 {
  background-color: rgba(47, 114, 85, 0.15);
}
#vibe-invoice-dashboard .text-emerald-800 {
  color: #506b65;
}
#vibe-invoice-dashboard .bg-emerald-800 {
  background-color: #506b65;
}
#vibe-invoice-dashboard .bg-emerald-50 {
  background-color: rgba(47, 114, 85, 0.06);
}
#vibe-invoice-dashboard .text-emerald-700 {
  color: #2f7255;
}
#vibe-invoice-dashboard .border-emerald-100 {
  border-color: rgba(47, 114, 85, 0.15);
}
#vibe-invoice-dashboard .ring-emerald-500 {
  --tw-ring-color: rgba(89, 150, 105, 0.5);
}
#vibe-invoice-dashboard .ring-emerald-600 {
  --tw-ring-color: rgba(47, 114, 85, 0.5);
}

/* --- BASE STYLES --- */
body {
  font-family: var(--font-base);
  background-color: var(--vb-bg-app);
  color: var(--vb-text-main);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-title {
  font-family: var(--font-title);
  font-weight: var(--font-weight-black);
  letter-spacing: var(--tracking-tighter);
  text-wrap: balance;
  line-height: 1.25;
}

h1 {
  font-size: var(--text-3xl);
}
h2 {
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-tight);
}
h3 {
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-tight);
}
h4 {
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-tight);
}
h5 {
  font-size: var(--text-base);
}
h6 {
  font-size: var(--text-sm);
}

/* --- TYPOGRAPHY UTILITIES --- */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
.pre-wrap {
  white-space: pre-wrap;
  word-wrap: break-word;
}
.prose-measure {
  max-width: 65ch;
}
.text-wrap-pretty {
  text-wrap: pretty;
}

*:focus-visible {
  outline: 2px solid var(--vb-primary);
  outline-offset: 2px;
}

[x-cloak] {
  display: none !important;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

/* --- DASHBOARD WRAPPER --- */
#vibe-invoice-dashboard {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#vibe-invoice-dashboard .centered-container {
  --container-pad: 14px;
  max-width: 1296px; /* Match landing page main container width */
  margin: 0 auto;
  border-right: 1px solid var(--vb-border);
  border-left: 1px solid var(--vb-border);
  background-image: url("../images/line-pattern.svg");
  background-position: 0 0;
  background-size: 100%;
  position: relative;
  background-color: var(--vb-bg-app);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

#vibe-invoice-dashboard .centered-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--container-pad);
  right: var(--container-pad);
  background-color: #ffffff;
  z-index: 0;
}

#vibe-invoice-dashboard .centered-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--container-pad);
  right: var(--container-pad);
  border-left: 1px solid var(--vb-border);
  border-right: 1px solid var(--vb-border);
  z-index: 5;
  pointer-events: none;
}

#vibe-invoice-dashboard .centered-container > * {
  position: relative;
  z-index: 1;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Divider matching landing page */
#vibe-invoice-dashboard .section-divider {
  border-bottom: 1px solid var(--vb-border);
  background-image: url("../images/content-lines.svg");
  background-position: 0 0;
  background-size: 100%;
  height: 32px;
  position: relative;
  z-index: 1;
}

/* Override centered-container child padding when section-divider is a direct child */
#vibe-invoice-dashboard .centered-container > .section-divider {
  padding-left: 0;
  padding-right: 0;
}

#vibe-invoice-dashboard .section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200vw;
  margin-left: -100vw;
  height: 1px;
  background-color: var(--vb-border);
  z-index: 2;
}

#vibe-invoice-dashboard .flex-1.overflow-y-auto {
  overflow-x: hidden;
}

/* --- SIDEBAR SYSTEM --- */
#vibe-invoice-dashboard aside#sidebar-panel {
  background-color: #f3f6f4; /* Subtle sage-tinted neutral background */
  border-right: 1px solid rgba(47, 114, 85, 0.08); /* Matches green palette */
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 18rem; /* w-72 */
  flex-shrink: 0;
  z-index: 101;
  position: static;
  transform: none;
}

@media (max-width: 1023px) {
  #vibe-invoice-dashboard aside#sidebar-panel {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    background-color: #ffffff;
    box-shadow:
      0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  body #vibe-invoice-dashboard aside#sidebar-panel.translate-x-0 {
    transform: translateX(0);
  }
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #475569; /* Soft slate-600 */
  font-weight: var(--font-weight-semibold);
  border-radius: 6px;
  position: relative;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  background: transparent;
  overflow: hidden;
}

.sidebar-item .button-text,
.sidebar-item-logout .button-text {
  font-family: var(--font-title);
  font-size: 0.6875rem; /* ~11px */
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.sidebar-item:hover:not(.active) {
  background: rgba(47, 114, 85, 0.04);
  color: var(--vb-primary);
  border-color: rgba(47, 114, 85, 0.06);
}

.sidebar-item.active {
  background: rgba(47, 114, 85, 0.08);
  color: var(--vb-primary);
  border-color: rgba(47, 114, 85, 0.15);
}

/* Icon Wrap */
.sidebar-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #64748b;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-item:hover:not(.active) .sidebar-icon-wrap {
  color: var(--vb-primary);
}

.sidebar-item.active .sidebar-icon-wrap {
  color: var(--vb-primary);
}

/* Lock Badge */
.sidebar-lock-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background-color: #cbd5e1; /* slate-300 */
  color: #475569; /* slate-600 */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid #f3f6f4; /* Matches sidebar bg */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sidebar-item.active .sidebar-lock-badge {
  border-color: rgba(47, 114, 85, 0.08); /* Matches active bg */
}

/* Disabled sidebar item for guest users */
.sidebar-item-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.sidebar-item-disabled .sidebar-icon-wrap {
  opacity: 0.6;
}
.sidebar-item-disabled .sidebar-lock-badge {
  background-color: #ef4444;
  color: #fff;
  border-color: transparent;
}

/* Sidebar Divider */
.sidebar-divider {
  margin: 1.25rem 0.5rem;
  height: 1px;
  background-color: rgba(47, 114, 85, 0.08);
}

/* Lottie Icons Layout (Anti-Inline Style) & Filters */
#vibe-invoice-dashboard .sidebar-lottie-icon {
  width: 28px;
  height: 28px;
  display: block;
}
#vibe-invoice-dashboard .sidebar-lottie-icon-sm {
  width: 14px;
  height: 14px;
  display: block;
}
#vibe-invoice-dashboard .sidebar-lottie-icon svg,
#vibe-invoice-dashboard .sidebar-lottie-icon-sm svg {
  width: 100% !important;
  height: 100% !important;
  transition: filter 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Green Color Filter for Active and Hovered Lottie Icons */
#vibe-invoice-dashboard .sidebar-item.active .sidebar-lottie-icon svg,
#vibe-invoice-dashboard
  .sidebar-item:hover:not(.active)
  .sidebar-lottie-icon
  svg {
  filter: invert(38%) sepia(11%) saturate(2255%) hue-rotate(105deg)
    brightness(93%) contrast(83%);
}

/* Logout Button */
.sidebar-item-logout {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #64748b; /* Soft slate color by default */
  font-weight: var(--font-weight-semibold);
  border-radius: 6px;
  width: 100%;
  text-align: left;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(47, 114, 85, 0.08);
}

.sidebar-item-logout:hover {
  background-color: rgba(239, 68, 68, 0.06);
  color: #ef4444;
}

.sidebar-item-logout .sidebar-icon-wrap {
  background-color: rgba(148, 163, 184, 0.1);
  color: #64748b;
}

.sidebar-item-logout:hover .sidebar-icon-wrap {
  background-color: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

#vibe-invoice-dashboard .sidebar-brand-box {
  background-color: transparent;
  border-bottom: 1px solid rgba(47, 114, 85, 0.08);
  height: auto;
  padding: 1.5rem;
}

#vibe-invoice-dashboard .brand-title {
  font-family: var(--font-title);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-black);
  color: var(--vb-text-main);
  letter-spacing: var(--tracking-tighter);
}

.header-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--vb-border);
}

/* --- BUTTON SYSTEM (IDENTICAL TO LANDING) --- */
#vibe-invoice-dashboard .button,
#vibe-invoice-dashboard .btn,
#vibe-invoice-dashboard .vb-submit-btn,
#vibe-invoice-dashboard .category-btn {
  cursor: pointer;
  background-color: var(--vb-primary);
  color: #fff;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding-left: 24px;
  padding-right: 24px;
  font-family: var(--font-title);
  font-size: 0.6875rem; /* ~11px to match design precisely */
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 14px;
}

#vibe-invoice-dashboard .category-btn {
  background-color: #ffffff;
  color: #101828;
  border: 1px solid var(--vb-border);
  height: 36px;
  padding-left: 1rem;
  padding-right: 1.25rem;
  box-shadow: none;
}

#vibe-invoice-dashboard .button:hover,
#vibe-invoice-dashboard .btn:hover,
#vibe-invoice-dashboard .category-btn:hover {
  transform: translateY(-1px);
}

#vibe-invoice-dashboard .button:hover,
#vibe-invoice-dashboard .btn:hover {
  box-shadow: 0 6px 15px rgba(5, 150, 105, 0.15);
}

#vibe-invoice-dashboard .button.white,
#vibe-invoice-dashboard .btn-outline {
  background-color: #fff;
  color: #101828;
  border: 1px solid var(--vb-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

#vibe-invoice-dashboard .button.white:hover,
#vibe-invoice-dashboard .btn-outline:hover {
  border-color: var(--vb-primary);
  background-color: #fafafa;
}

#vibe-invoice-dashboard .btn-emerald {
  background-color: var(--vb-primary);
  color: #fff;
}

#vibe-invoice-dashboard .btn-emerald:hover {
  background-color: var(--vb-primary-hover);
  box-shadow: 0 6px 15px rgba(47, 114, 85, 0.25);
}

#vibe-invoice-dashboard .btn-secondary {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

#vibe-invoice-dashboard .btn-secondary:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}

#vibe-invoice-dashboard .label-caps {
  display: block;
  font-size: 0.625rem; /* ~10px */
  font-weight: var(--font-weight-black);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--vb-text-muted);
  margin-bottom: 0.5rem;
}

#vibe-invoice-dashboard .button-text__wrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  height: 14px;
  overflow: hidden;
}

/* multi-line buttons height */
#vibe-invoice-dashboard .group\/analyze .button-text__wrap,
#vibe-invoice-dashboard .vb-analyze-btn .button-text__wrap {
  height: 32px;
}

#vibe-invoice-dashboard .button-text {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: inherit;
  white-space: nowrap;
}

#vibe-invoice-dashboard .button:hover .button-text,
#vibe-invoice-dashboard .btn:hover .button-text,
#vibe-invoice-dashboard .sidebar-item:hover:not(.active) .button-text,
#vibe-invoice-dashboard .category-btn:hover .button-text,
#vibe-invoice-dashboard .group\/cat:hover .button-text {
  transform: translate3d(0, -100%, 0);
}

#vibe-invoice-dashboard .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- CARDS & CONTAINERS --- */
#vibe-invoice-dashboard .main-card,
#vibe-invoice-dashboard .history-item-card,
#vibe-invoice-dashboard .token-stat-card,
#vibe-invoice-dashboard .token-package-card,
#vibe-invoice-dashboard .vb-modal-box,
#vibe-invoice-dashboard .magic-ring-container,
#vibe-invoice-dashboard .category-btn {
  background: #ffffff;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

#vibe-invoice-dashboard .category-btn.active-category {
  background-color: var(--vb-primary);
  color: #ffffff;
  border-color: var(--vb-primary);
}

#vibe-invoice-dashboard .magic-ring-container {
  padding: 4px;
  background: #ffffff;
  border: 1px solid var(--vb-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

/* --- TOKEN STATS CARDS --- */
#vibe-invoice-dashboard .token-stat-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
}

#vibe-invoice-dashboard .token-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

#vibe-invoice-dashboard .token-stat-value {
  font-family: var(--font-title);
  font-weight: var(--font-weight-black);
  color: var(--vb-text-main);
  line-height: 1;
  letter-spacing: var(--tracking-tighter);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-variant-numeric: tabular-nums;
}

#vibe-invoice-dashboard .token-stat-unit {
  font-size: 0.6875rem; /* ~11px */
  font-weight: var(--font-weight-black);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--vb-text-muted);
}

/* Sky Blue */
#vibe-invoice-dashboard .token-card-sky {
  color: #0ea5e9;
}
#vibe-invoice-dashboard .token-card-sky .token-stat-icon {
  background-color: #f0f9ff;
  color: #0ea5e9;
  border-color: #e0f2fe;
}

/* Lime Green */
#vibe-invoice-dashboard .token-card-lime {
  color: #84cc16;
}
#vibe-invoice-dashboard .token-card-lime .token-stat-icon {
  background-color: #f7fee7;
  color: #65a30d;
  border-color: #ecfccb;
}

/* Amber Yellow */
#vibe-invoice-dashboard .token-card-amber {
  color: #f59e0b;
}
#vibe-invoice-dashboard .token-card-amber .token-stat-icon {
  background-color: #fffbeb;
  color: #d97706;
  border-color: #fef3c7;
}

/* Highlight (Dark) */
#vibe-invoice-dashboard .token-card-highlight {
  color: #ffffff;
  background-color: #0f172a;
  border-color: #000000;
}
#vibe-invoice-dashboard .token-card-highlight::after {
  background: radial-gradient(circle, #ffffff 0%, transparent 70%);
  opacity: 0.05;
}
#vibe-invoice-dashboard .token-card-highlight .token-stat-icon {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
#vibe-invoice-dashboard .token-card-highlight .token-stat-label,
#vibe-invoice-dashboard .token-card-highlight .token-stat-unit {
  color: #94a3b8;
}
#vibe-invoice-dashboard .token-card-highlight .token-stat-value {
  color: #ffffff;
}

#vibe-invoice-dashboard .extractor-textarea {
  border: none;
  padding: 1.5rem;
  min-height: 160px;
  border-radius: 4px;
}

/* --- EXTRACTOR PROMPT BOX ELEVATION --- */
#vibe-invoice-dashboard #extractor-prompt-box {
  border: 1px solid #d0d5dd;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
}

#vibe-invoice-dashboard #extractor-prompt-box:focus-within {
  border-color: var(--vb-primary);
  box-shadow:
    0 4px 20px rgba(47, 114, 85, 0.12),
    0 0 0 3px rgba(47, 114, 85, 0.08);
}

/* --- EXTRACTOR ACTION BUTTONS (FILE & RECORD) --- */
#extractor-upload-btn,
#extractor-mic-btn {
  position: relative;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#extractor-upload-btn:hover,
#extractor-mic-btn:hover:not(.recording) {
  border-color: var(--vb-primary);
  background: rgba(47, 114, 85, 0.06);
  color: var(--vb-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 114, 85, 0.1);
}

#extractor-upload-btn:active,
#extractor-mic-btn:active:not(.recording) {
  transform: translateY(0);
}

#extractor-mic-btn.recording {
  border-color: #ef4444;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  animation: vb-mic-pulse 1.5s ease-in-out infinite;
}

@keyframes vb-mic-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.08);
  }
}

/* Extract button always prominent */
#extractor-analyze-btn {
  box-shadow: 0 4px 14px rgba(47, 114, 85, 0.2);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#extractor-analyze-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 114, 85, 0.3);
}

#extractor-analyze-btn:active:not(:disabled) {
  transform: translateY(0);
}

/* --- INPUTS --- */
#vibe-invoice-dashboard .vb-input {
  border: 1px solid var(--vb-border);
  padding: 10px 14px;
  font-weight: var(--font-weight-medium);
  font-size: var(--text-xs);
  width: 100%;
  transition: all 0.2s ease;
  background: #ffffff;
  border-radius: 6px;
  color: var(--vb-text-main);
  outline: none;
}

#vibe-invoice-dashboard .vb-input-date {
  padding-right: 96px;
}

#vibe-invoice-dashboard .vb-input-action {
  padding-right: 40px;
}

#vibe-invoice-dashboard .vb-input-vat {
  padding-right: 24px;
}

#vibe-invoice-dashboard .vb-input:focus {
  border-color: var(--vb-primary);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.05);
}

#vibe-invoice-dashboard input:focus,
#vibe-invoice-dashboard input:focus-visible,
#vibe-invoice-dashboard textarea:focus,
#vibe-invoice-dashboard textarea:focus-visible {
  outline: none !important;
}

/* --- BADGES --- */
.header-badge-free,
.header-badge-token {
  background-color: #ffffff;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* --- SECTION DIVIDERS --- */
.vb-section-divider {
  position: relative;
  height: 1px;
  background: var(--vb-border);
  margin: 2rem 0;
  width: 100%;
  opacity: 0.6;
}

.vb-section-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--vb-primary);
}

/* --- PROCESSING OVERLAY (Glassmorphism Upgrade) --- */
.vb-processing-blur {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  position: absolute;
  inset: 0;
  z-index: 50;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtle dot pattern overlay */
.vb-processing-blur::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 114, 85, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Ambient glow - dual light sources */
.vb-processing-blur .vb-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(47, 114, 85, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 30% 40%, rgba(47, 114, 85, 0.04) 0%, transparent 40%);
  pointer-events: none;
  animation: vb-ambient-pulse 4s ease-in-out infinite;
}

@keyframes vb-ambient-pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* AI Processing Orb (Upgraded) */
.vb-ai-pulse-orb {
  position: relative;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 50%;
  box-shadow:
    0 4px 24px rgba(47, 114, 85, 0.12),
    0 0 0 1px rgba(47, 114, 85, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vb-orb-breathe 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Outer glow ring */
.vb-ai-pulse-orb::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(47, 114, 85, 0.15) 25%,
    transparent 50%,
    rgba(47, 114, 85, 0.08) 75%,
    transparent 100%
  );
  animation: vb-orb-spin 4s linear infinite;
  mask: radial-gradient(circle, transparent 55%, black 56%, black 100%);
  -webkit-mask: radial-gradient(circle, transparent 55%, black 56%, black 100%);
}

/* Inner ripple */
.vb-ai-pulse-orb::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 114, 85, 0.12);
  animation: vb-orb-ripple 3s ease-out infinite;
}

@keyframes vb-orb-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 4px 24px rgba(47, 114, 85, 0.12),
      0 0 0 1px rgba(47, 114, 85, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  50% {
    transform: scale(1.03);
    box-shadow:
      0 8px 40px rgba(47, 114, 85, 0.18),
      0 0 0 1px rgba(47, 114, 85, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

@keyframes vb-orb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes vb-orb-ripple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Progress bar (Upgraded with gradient) */
.vb-progress-bar-container {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.vb-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vb-primary) 0%, #34d399 100%);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.vb-progress-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: vb-progress-shimmer 1.5s ease-in-out infinite;
}

@keyframes vb-progress-shimmer {
  0% { transform: translateX(-40px); }
  100% { transform: translateX(40px); }
}

/* Single subtle light source */
.vb-processing-blur .vb-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* AI Processing Orb (Minimal) */
.vb-ai-pulse-orb {
  position: relative;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(5, 150, 105, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vb-orb-breathe 2.4s ease-in-out infinite;
  border: 1px solid rgba(5, 150, 105, 0.06);
}

.vb-ai-pulse-orb::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(5, 150, 105, 0.1);
  animation: vb-orb-ripple 2.4s ease-out infinite;
}

@keyframes vb-orb-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 24px rgba(5, 150, 105, 0.1);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 4px 32px rgba(5, 150, 105, 0.16);
  }
}

@keyframes vb-orb-ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Progress bar (clean) */
.vb-progress-bar-container {
  width: 100%;
  height: 4px;
  background-color: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.vb-progress-bar-fill {
  height: 100%;
  background: var(--vb-primary);
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- MODAL REFINEMENT --- */
.vb-modal-backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 500;
}

.vb-modal-box {
  background-color: var(--vb-bg-surface, #ffffff);
  border: 1px solid var(--vb-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

#vibe-invoice-dashboard .vb-modal-header {
  padding: 1.25rem 1.5rem;
  background-color: var(--vb-bg-surface, #ffffff);
  border-bottom: 1px solid var(--vb-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#vibe-invoice-dashboard .vb-modal-header-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--vb-bg-app);
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  color: var(--vb-primary);
  flex-shrink: 0;
}

#vibe-invoice-dashboard .vb-modal-footer {
  padding: 1.25rem 1.5rem;
  background-color: var(--vb-bg-app, #fafafa);
  border-top: 1px solid var(--vb-border);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.vb-modal-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--vb-text-muted);
  transition: all 0.2s ease;
}

.vb-modal-close-btn:hover {
  background-color: #f1f5f9;
  color: #ef4444;
}

/* --- UTILS --- */
.animate-bounce-slow {
  animation: bounce-slow 2s infinite;
}
@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(-5%);
  }
  50% {
    transform: translateY(0);
  }
}

/* --- REFRESH BUTTON --- */
#vibe-invoice-dashboard .vb-btn-refresh {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  color: var(--vb-text-muted);
  transition: var(--transition-1);
  cursor: pointer;
  box-shadow: var(--nb-shadow-1);
}

#vibe-invoice-dashboard .vb-btn-refresh:hover {
  border-color: var(--vb-primary);
  color: var(--vb-primary);
  transform: translateY(-1px);
}

#vibe-invoice-dashboard .vb-btn-refresh:active {
  transform: translateY(0);
}

/* --- MINIMALIST CHECKBOX --- */
#vibe-invoice-dashboard .vb-checkbox-minimal {
  width: 20px;
  height: 20px;
  border: 1px solid #cbd5e1; /* slate-300 */
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-1);
  cursor: pointer;
  background-color: #ffffff;
}

#vibe-invoice-dashboard .vb-checkbox-minimal.active {
  background-color: var(--vb-primary);
  border-color: var(--vb-primary);
}

#vibe-invoice-dashboard .vb-checkbox-minimal input[type="checkbox"] {
  display: none;
}

/* --- STANDARD SEARCH BAR --- */
#vibe-invoice-dashboard .vb-search-input {
  height: 44px;
  padding-left: 2.75rem;
}

/* --- BUTTON MODIFIERS --- */
#vibe-invoice-dashboard .btn-dark {
  background-color: #0f172a;
  color: #ffffff;
}

#vibe-invoice-dashboard .btn-dark:hover {
  background-color: #1e293b;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
}

#vibe-invoice-dashboard .btn-danger {
  background-color: #dc2626;
  color: #ffffff;
}

#vibe-invoice-dashboard .btn-danger:hover {
  background-color: #b91c1c;
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.25);
}

#vibe-invoice-dashboard .btn-md {
  height: 44px;
}

#vibe-invoice-dashboard .btn-yellow {
  background-color: #fbbf24;
  color: #0f172a;
}

#vibe-invoice-dashboard .btn-yellow:hover {
  background-color: #f59e0b;
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.2);
}

#vibe-invoice-dashboard .btn-sm {
  height: 32px;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 10px;
}

/* --- PREMIUM UNIFIED SEARCH & FILTER SYSTEM --- */

#vibe-invoice-dashboard .vb-search-box-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

#vibe-invoice-dashboard .vb-search-input-premium {
  height: 42px;
  width: 100%;
  padding-left: 2.75rem;
  padding-right: 3rem;
  font-size: 0.8125rem; /* ~13px */
  font-weight: var(--font-weight-medium);
  color: #1e293b;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

#vibe-invoice-dashboard .vb-search-input-premium:hover {
  border-color: #cbd5e1;
  background-color: #f1f5f9;
}

#vibe-invoice-dashboard .vb-search-input-premium:focus {
  border-color: var(--vb-primary);
  background-color: #ffffff;
  box-shadow:
    0 4px 18px rgba(16, 185, 129, 0.06),
    0 0 0 3px rgba(16, 185, 129, 0.1);
}

#vibe-invoice-dashboard .vb-search-kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  font-family: monospace;
  font-size: 0.625rem; /* ~10px */
  font-weight: var(--font-weight-semibold);
  color: #94a3b8;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  pointer-events: none;
}

#vibe-invoice-dashboard .vb-segmented-control {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px;
  border-radius: 6px;
  height: 42px;
}

#vibe-invoice-dashboard .vb-segmented-control button {
  padding: 0 16px;
  height: 100%;
  font-size: 0.625rem; /* ~10px */
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: #64748b;
  border-radius: 4px;
  transition: all 0.2s ease;
}

#vibe-invoice-dashboard .vb-segmented-control button:hover:not(.active) {
  color: #0f172a;
  background-color: rgba(255, 255, 255, 0.4);
}

#vibe-invoice-dashboard .vb-segmented-control button.active {
  background-color: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

#vibe-invoice-dashboard .vb-filter-pills-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}

#vibe-invoice-dashboard .vb-filter-pills-wrap::-webkit-scrollbar {
  display: none;
}

#vibe-invoice-dashboard .vb-filter-pill {
  padding: 8px 16px;
  font-size: 0.625rem; /* ~10px */
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: #64748b;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

#vibe-invoice-dashboard .vb-filter-pill:hover:not(.active) {
  color: #0f172a;
  border-color: #cbd5e1;
  background-color: #f1f5f9;
  transform: translateY(-1px);
}

#vibe-invoice-dashboard .vb-filter-pill.active {
  color: #ffffff;
  background-color: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

#vibe-invoice-dashboard .vb-refresh-btn-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
}

#vibe-invoice-dashboard .vb-refresh-btn-premium:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background-color: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

#vibe-invoice-dashboard .vb-refresh-btn-premium:active {
  transform: scale(0.95);
}

#vibe-invoice-dashboard .vb-btn-premium {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

@media (max-width: 767px) {
  #vibe-invoice-dashboard .vb-btn-premium {
    height: 48px;
  }
  #vibe-invoice-dashboard .vb-search-input {
    height: 48px;
  }
  #vibe-invoice-dashboard .vb-btn-refresh {
    width: 48px;
    height: 48px;
  }
  #vibe-invoice-dashboard .btn-md {
    height: 48px;
  }
  #vibe-invoice-dashboard .vb-search-input-premium {
    height: 48px;
  }
  #vibe-invoice-dashboard .vb-segmented-control {
    height: 48px;
  }
  #vibe-invoice-dashboard .vb-refresh-btn-premium {
    width: 48px;
    height: 48px;
  }
}

/* --- CANVAS PREVIEW PANEL BACKGROUND (Dot Grid Pattern) --- */
#vibe-invoice-dashboard #preview-panel {
  background-color: #eef2f7;
  background-image:
    radial-gradient(circle, #b9c8dd 1px, transparent 1px),
    radial-gradient(circle, #d4dcea 1px, transparent 1px);
  background-size:
    24px 24px,
    8px 8px;
  background-position:
    0 0,
    4px 4px;
}

/* --- SKELETON LOADER COMPONENT --- */
#vibe-invoice-dashboard .skeleton {
  background-color: #e2e8f0;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --- PREMIUM DELIGHT: SPOTLIGHT, BORDER SHINE, SHIMMER & SWITCHES --- */
#vibe-invoice-dashboard .spotlight-card {
  position: relative;
  overflow: hidden;
}

#vibe-invoice-dashboard .spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(47, 114, 85, 0.05),
    transparent 45%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#vibe-invoice-dashboard .spotlight-card:hover::before {
  opacity: 1;
}

#vibe-invoice-dashboard .border-shine {
  position: relative;
}

#vibe-invoice-dashboard .border-shine:hover {
  border-color: transparent;
}

#vibe-invoice-dashboard .border-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    180px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(47, 114, 85, 0.35),
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#vibe-invoice-dashboard .border-shine:hover::before {
  opacity: 1;
}

#vibe-invoice-dashboard .logo-shimmer-container {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

#vibe-invoice-dashboard .logo-shimmer-container::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 55%
  );
  transform: rotate(-45deg) translate3d(-100%, -100%, 0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#vibe-invoice-dashboard .logo-shimmer-container:hover::after {
  transform: rotate(-45deg) translate3d(100%, 100%, 0);
}

#vibe-invoice-dashboard .btn-emerald,
#vibe-invoice-dashboard .vb-submit-btn,
#vibe-invoice-dashboard .vb-publish-pdf-btn {
  position: relative;
  overflow: hidden;
}

#vibe-invoice-dashboard .btn-emerald::after,
#vibe-invoice-dashboard .vb-submit-btn::after,
#vibe-invoice-dashboard .vb-publish-pdf-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: translate3d(-120%, 0, 0) skewX(-20deg);
  transition: none;
  pointer-events: none;
}

#vibe-invoice-dashboard .btn-emerald:hover::after,
#vibe-invoice-dashboard .vb-submit-btn:hover::after,
#vibe-invoice-dashboard .vb-publish-pdf-btn:hover::after {
  transform: translate3d(120%, 0, 0) skewX(-20deg);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

#vibe-invoice-dashboard .vb-switch {
  width: 2rem;
  height: 1.125rem;
  border-radius: 9999px;
  position: relative;
  transition:
    background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s;
  cursor: pointer;
  border: none;
  background-color: #cbd5e1;
}

#vibe-invoice-dashboard .vb-switch.active {
  background-color: var(--vb-primary);
}

#vibe-invoice-dashboard .vb-switch-dot {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.2s,
    left 0.2s;
}

#vibe-invoice-dashboard .vb-switch:active .vb-switch-dot {
  width: 1.125rem;
}

#vibe-invoice-dashboard .vb-switch.active .vb-switch-dot {
  transform: translateX(0.875rem);
}

#vibe-invoice-dashboard .vb-switch:active.active .vb-switch-dot {
  transform: translateX(0.625rem);
}

/* --- MOTION SENSITIVITY ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
  #vibe-invoice-dashboard *,
  #vibe-invoice-dashboard *::before,
  #vibe-invoice-dashboard *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
