/* PDF Styling for UBI White Paper */

@page {
  size: letter;
  margin: 1in;

  @top-center {
    content: "Universal Basic Income by 2035";
    font-size: 10pt;
    color: #666;
  }

  @bottom-center {
    content: "Page " counter(page) " of " counter(pages);
    font-size: 10pt;
    color: #666;
  }
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 11pt;
  line-height: 1.6;
  color: #2d3c34;
  max-width: 7.5in;
  margin: 0 auto;
}

h1 {
  font-size: 24pt;
  font-weight: 700;
  color: #1a2820;
  margin-top: 24pt;
  margin-bottom: 12pt;
  page-break-after: avoid;
  border-bottom: 3pt solid #8b7659;
  padding-bottom: 6pt;
}

h2 {
  font-size: 18pt;
  font-weight: 700;
  color: #2d3c34;
  margin-top: 18pt;
  margin-bottom: 10pt;
  page-break-after: avoid;
}

h3 {
  font-size: 14pt;
  font-weight: 600;
  color: #2d3c34;
  margin-top: 14pt;
  margin-bottom: 8pt;
  page-break-after: avoid;
}

h4 {
  font-size: 12pt;
  font-weight: 600;
  color: #2d3c34;
  margin-top: 12pt;
  margin-bottom: 6pt;
}

p {
  margin-bottom: 10pt;
  text-align: justify;
}

strong {
  font-weight: 700;
  color: #1a2820;
}

em {
  font-style: italic;
}

ul, ol {
  margin-bottom: 10pt;
  padding-left: 24pt;
}

li {
  margin-bottom: 4pt;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12pt 0;
  font-size: 10pt;
}

th {
  background-color: #f0ebe1;
  border: 1pt solid #8b7659;
  padding: 6pt;
  text-align: left;
  font-weight: 700;
}

td {
  border: 1pt solid #ccc;
  padding: 6pt;
}

tr:nth-child(even) {
  background-color: #f8f4f0;
}

blockquote {
  border-left: 4pt solid #8b7659;
  padding-left: 12pt;
  margin: 12pt 0;
  font-style: italic;
  color: #555;
  background-color: rgba(139, 118, 89, 0.05);
  padding: 12pt;
}

code {
  background-color: #f5f5f5;
  padding: 2pt 4pt;
  font-family: "Courier New", monospace;
  font-size: 10pt;
  border-radius: 2pt;
}

pre {
  background-color: #f5f5f5;
  padding: 12pt;
  border-left: 4pt solid #8b7659;
  overflow-x: auto;
  margin: 12pt 0;
}

pre code {
  background-color: transparent;
  padding: 0;
}

hr {
  border: none;
  border-top: 2pt solid #8b7659;
  margin: 24pt 0;
}

a {
  color: #2d3c34;
  text-decoration: underline;
}

/* Title Page */
.title {
  font-size: 32pt;
  font-weight: 700;
  text-align: center;
  margin-top: 72pt;
  margin-bottom: 24pt;
  color: #1a2820;
}

.subtitle {
  font-size: 16pt;
  text-align: center;
  margin-bottom: 48pt;
  color: #555;
  font-style: italic;
}

.author {
  text-align: center;
  font-size: 14pt;
  margin-bottom: 12pt;
}

.date {
  text-align: center;
  font-size: 12pt;
  color: #666;
  margin-bottom: 96pt;
}

/* Table of Contents */
.toc {
  page-break-after: always;
}

.toc ul {
  list-style-type: none;
  padding-left: 0;
}

.toc li {
  margin-bottom: 8pt;
  line-height: 1.4;
}

/* Page breaks */
.page-break {
  page-break-after: always;
}

/* References */
.references ol {
  padding-left: 24pt;
}

.references li {
  margin-bottom: 12pt;
  line-height: 1.5;
}

/* Executive Summary box */
.executive-summary {
  background-color: #f8f4f0;
  border: 2pt solid #8b7659;
  padding: 18pt;
  margin: 18pt 0;
  border-radius: 4pt;
}

/* Highlight boxes */
.highlight {
  background: linear-gradient(135deg, rgba(207, 220, 255, 0.2), rgba(139, 118, 89, 0.1));
  border: 2pt solid #8b7659;
  border-radius: 4pt;
  padding: 12pt;
  margin: 12pt 0;
}
