@import "tailwindcss";

:root {
  --background: #ffffff;
  --foreground: #5c6873;
  --primary: #16423d;
  --primary-dark: #0c2925;
  --secondary: #121c27;
  --accent: #cfa15b;
  --surface: #f4f6f5;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-primary: var(--primary);
  --color-primary-dark: var(--primary-dark);
  --color-secondary: var(--secondary);
  --color-accent: var(--accent);
  --color-surface: var(--surface);
  --font-sans: var(--font-vazirmatn);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-vazirmatn), Tahoma, sans-serif;
}

.rich-content {
  color: var(--foreground);
  line-height: 2;
}

.rich-content p {
  margin-bottom: 1rem;
}

.rich-content table {
  width: 100% !important;
  height: auto !important;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

.rich-content table,
.rich-content th,
.rich-content td {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.rich-content th,
.rich-content td {
  padding: 0.6rem 0.75rem;
  text-align: center !important;
  height: auto !important;
}

.rich-content tr:first-child {
  background: var(--surface);
  font-weight: 700;
  color: var(--secondary);
}

.rich-content strong {
  color: var(--secondary);
}
