import { StyleOption } from '../../../types';

export const legalPleading: StyleOption = {
  id: 'legal-pleading',
  name: 'Legal Pleading',
  category: 'Professional',
  description: 'Courtroom document style. Rigid framing, double spacing, and traditional serif fonts.',
  vibe: 'Legal, Strict, Formal',
  googleFontsImport: 'https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&family=Courier+Prime&display=swap',
  wordConfig: {
    heading1: { 
      font: "EB Garamond", size: 14, color: "000000", bold: true, align: 'center',
      spacing: { before: 240, after: 240, line: 240 },
      allCaps: true,
      border: { bottom: { color: "000000", space: 4, style: "single", size: 4 } }
    },
    heading2: { 
      font: "EB Garamond", size: 12, color: "000000", bold: true, align: 'left',
      spacing: { before: 240, after: 120, line: 240 }
    },
    body: { 
      font: "Courier Prime", size: 12, color: "000000", align: 'both',
      spacing: { before: 0, after: 0, line: 480 },
      border: { left: { color: "BDBDBD", space: 12, style: "single", size: 4 } }
    },
    accentColor: "000000"
  },
  previewCss: `
    font-family: 'Courier Prime', monospace;
    line-height: 2.0;
    h1 { font-family: 'EB Garamond', serif; font-size: 14pt; font-weight: 700; color: #000000; text-align: center; text-decoration: underline; text-transform: uppercase; margin-bottom: 24px; }
    h2 { font-family: 'EB Garamond', serif; font-size: 12pt; font-weight: 700; color: #000000; margin-top: 24px; margin-bottom: 12px; }
    p { font-size: 12pt; color: #000000; margin-bottom: 0px; text-align: justify; border-left: 1px solid #BDBDBD; padding-left: 15px; }
    blockquote { margin-left: 40px; border-left: 1px solid #BDBDBD; padding-left: 15px; }
  `
};
