body,
body[data-theme-preset] {
  color-scheme: light;
  --background: #edf1e8;
  --foreground: #30271f;
  --card: #fbfcf8;
  --card-foreground: #30271f;
  --popover: #ffffff;
  --popover-foreground: #30271f;
  --primary: #573729;
  --primary-foreground: #f7f8f3;
  --secondary: #e1e6dc;
  --secondary-foreground: #45382d;
  --muted: #e7ebe3;
  --muted-foreground: #6d7068;
  --accent: #e2e8dc;
  --accent-foreground: #44372c;
  --destructive: #b84c43;
  --destructive-foreground: #fff8f6;
  --success: #3f8067;
  --success-foreground: #f5fbf7;
  --warning: #a56d2f;
  --warning-foreground: #fffaf1;
  --info: #477c8b;
  --info-foreground: #f4fafb;
  --neutral: #82867a;
  --neutral-foreground: #ffffff;
  --border: #d6ddd0;
  --input: #d6ddd0;
  --ring: #79543d;
  --chart-1: #573729;
  --chart-2: #769078;
  --chart-3: #c19a62;
  --chart-4: #6f9299;
  --chart-5: #a76d52;
  --overview-accent-1: #573729;
  --overview-accent-2: #769078;
  --sidebar: #e5eade;
  --sidebar-foreground: #30271f;
  --sidebar-primary: #573729;
  --sidebar-primary-foreground: #f7f8f3;
  --sidebar-accent: #dbe3d5;
  --sidebar-accent-foreground: #45382d;
  --sidebar-border: #d1d9ca;
  --sidebar-ring: #79543d;
  --skeleton-base: #e1e6dc;
  --skeleton-highlight: #f5f7f1;
  --table-row: var(--background);
  --table-header: #e6ebe1;
  --table-header-hover: #dce4d7;
  --table-disabled: #e7ebe3;
  --table-disabled-hover: #dfe5da;
  --table-disabled-border: #cbd4c4;
}

html.dark body,
html.dark body[data-theme-preset],
body.dark,
body.dark[data-theme-preset] {
  color-scheme: dark;
  --background: #211f1b;
  --foreground: #f0f1e9;
  --card: #292722;
  --card-foreground: #f0f1e9;
  --popover: #302d27;
  --popover-foreground: #f0f1e9;
  --primary: #c99d7c;
  --primary-foreground: #30231b;
  --secondary: #3b4037;
  --secondary-foreground: #e8eade;
  --muted: #36352f;
  --muted-foreground: #b7b8ad;
  --accent: #3b4337;
  --accent-foreground: #e9ecdf;
  --destructive: #e08078;
  --destructive-foreground: #2c1715;
  --success: #84c5a6;
  --success-foreground: #15271e;
  --warning: #dfb474;
  --warning-foreground: #2b2113;
  --info: #91bdc9;
  --info-foreground: #17262b;
  --neutral: #a8aa9f;
  --neutral-foreground: #24241f;
  --border: #45423a;
  --input: #4a473f;
  --ring: #d0aa89;
  --chart-1: #c99d7c;
  --chart-2: #91ad8c;
  --chart-3: #dfb474;
  --chart-4: #91bdc9;
  --chart-5: #d28f72;
  --overview-accent-1: #c99d7c;
  --overview-accent-2: #91ad8c;
  --sidebar: #27251f;
  --sidebar-foreground: #f0f1e9;
  --sidebar-primary: #c99d7c;
  --sidebar-primary-foreground: #30231b;
  --sidebar-accent: #373b32;
  --sidebar-accent-foreground: #e8eade;
  --sidebar-border: #413e36;
  --sidebar-ring: #d0aa89;
  --skeleton-base: #39372f;
  --skeleton-highlight: #4a473f;
  --table-row: var(--background);
  --table-header: #302e28;
  --table-header-hover: #38362f;
  --table-disabled: #302e28;
  --table-disabled-hover: #39372f;
  --table-disabled-border: #5a564c;
}

body [class*="from-blue-400"][class*="via-violet-400"][class*="to-purple-500"] {
  background-image: linear-gradient(110deg, #573729 0%, #a47b5d 56%, #7b9277 100%) !important;
}

html.dark body [class*="from-blue-400"][class*="via-violet-400"][class*="to-purple-500"] {
  background-image: linear-gradient(110deg, #e7c6a8 0%, #c99d7c 56%, #a1b397 100%) !important;
}

body [class*="border-blue-500/20"][class*="bg-blue-500/5"] {
  color: var(--primary) !important;
  border-color: color-mix(in oklch, var(--primary) 24%, transparent) !important;
  background-color: color-mix(in oklch, var(--primary) 8%, transparent) !important;
}

body [class*="border-blue-500/20"][class*="bg-blue-500/5"] span[class*="bg-blue-400"],
body [class*="border-blue-500/20"][class*="bg-blue-500/5"] span[class*="bg-blue-500"] {
  background-color: var(--primary) !important;
}

body div[style*="oklch(0.72 0.18 250"],
body div[style*="oklch(0.7 0.15 250"] {
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, color-mix(in oklch, var(--primary) 24%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 15%, color-mix(in oklch, #819379 28%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 40% 80%, color-mix(in oklch, #b79a70 20%, transparent) 0%, transparent 70%) !important;
}

