/* Custom styles for Complex Parenting */

/* Typography */
body {
  font-family: "Merriweather", "Georgia", serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 2rem;
}

h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

/* Callouts */
.callout {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.callout-note {
  border-left: 5px solid #0d6efd;
  background-color: #f0f7ff;
}

.callout-warning {
  border-left: 5px solid #ffc107;
  background-color: #fffbf0;
}

.callout-tip {
  border-left: 5px solid #198754;
  background-color: #f0fff4;
}

/* Protocols & Checklists */
ul.task-list {
  list-style: none;
  padding-left: 0;
}

ul.task-list li {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: #f9f9f9;
  border-radius: 4px;
  border-left: 3px solid #ddd;
}

/* Dark Mode */
body.quarto-dark {
  color: #e0e0e0;
  background-color: #121212;
}

body.quarto-dark h1,
body.quarto-dark h2,
body.quarto-dark h3 {
  color: #ffffff;
  border-bottom-color: #333;
}

body.quarto-dark .callout-note {
  background-color: #1a202c;
  border-left-color: #63b3ed;
  color: #e2e8f0;
}

body.quarto-dark ul.task-list li {
  background: #1e1e1e;
  border-left-color: #444;
}

/* Images - Remove default borders */
img {
  border: none !important;
  box-shadow: none !important;
  max-width: 100%;
  height: auto;
}

/* Center images in figures */
figure {
  text-align: center;
  margin: 2rem auto;
}

figure img {
  display: inline-block;
}

figure img {
  display: inline-block;
}

/* Wallet Card Component */
.wallet-card {
  border: 2px solid #333;
  border-radius: 12px;
  padding: 0;
  margin: 2rem auto;
  max-width: 400px;
  background-color: #fff;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
  font-family: "Courier New", Courier, monospace;
  /* Monospace for that "typed" look */
  overflow: hidden;
}

.wallet-card-header {
  background-color: #333;
  color: #fff;
  padding: 1rem;
  text-align: center;
  border-bottom: 2px solid #333;
}

.wallet-card-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: none;
  /* Override default h3 border */
  padding-bottom: 0;
}

.wallet-card-body {
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.wallet-card-body p {
  margin-bottom: 0.5rem;
}

.wallet-card-body strong {
  color: #000;
  font-weight: 700;
}

.wallet-card-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #ccc;
}

/* Print Optimization */
@media print {
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  .sidebar,
  .navbar {
    display: none;
  }
}