@import "tailwindcss";

/* VBF Custom Styles */
:root {
  --vbf-primary: #6b8e23;
  --vbf-text-gray: #333;
  --vbf-light-gray: #AAA;
}

/* Global Typography */
body {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Navigation */
nav {
  font-family: 'Josefin Slab', serif;
}

/* Buttons */
.btn-vbf-primary {
  background-color: var(--vbf-primary);
  border-color: white;
  color: white;
}

.btn-vbf-primary:hover {
  background-color: #5a7a1c;
  border-color: white;
}

/* Links */
.book-link {
  color: var(--vbf-text-gray);
  text-decoration: none;
  font-style: italic;
}

.book-link:hover {
  text-decoration: underline;
}

/* Author styling */
.author-image {
  object-fit: contain;
  width: 10rem;
}

/* Search page styling */
.search-page {
  font-family: 'Times New Roman', Times, serif;
}

.search-page h1, 
.search-page h4 {
  font-weight: bold;
}

.search-page h4 {
  font-size: 21px;
}

/* Checkbox lists */
ul.checkboxes {
  list-style-type: none;
  padding: 0;
}

ul.checkboxes li {
  margin-right: 10px;
}

ul.checkboxes.flex-column {
  margin-right: 20px;
}

.checkbox-col {
  min-width: 8rem;
  font-size: 16px;
}

.any-all {
  width: 8rem;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

/* Unused tags styling */
.unused-tag {
  color: var(--vbf-light-gray);
}

/* Book list styling */
.book-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

li.book {
  list-style-type: circle;
  margin-left: 1.5rem;
  margin-bottom: 0.25rem;
}

/* Author page specific styling */
.author-image {
  object-fit: contain;
  width: 10rem;
  height: auto;
  max-width: 10rem;
}

/* Prose styling for markdown content */
.prose {
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.6;
  color: #333;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  font-family: 'Josefin Slab', serif;
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.prose h1 {
  font-size: 2.25rem;
  margin-top: 0;
}

.prose h2 {
  font-size: 1.875rem;
}

.prose h3 {
  font-size: 1.5rem;
}

.prose p {
  margin-bottom: 1.25em;
  margin-top: 1.25em;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose li > p {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose strong {
  font-weight: bold;
  color: #111;
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--vbf-primary);
  text-decoration: underline;
}

.prose a:hover {
  color: #5a7a1c;
}

.prose code {
  background-color: #f4f4f4;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

/* Blockquotes and code */
blockquote {
  margin-left: 40px;
  margin-right: 40px;
  font-size: 14px;
}

pre {
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-left: 40px;
  font-size: 14px;
}

/* Form styling */
textarea {
  padding: 10px;
}
