/**
 * Recipe Notes Component
 * Styled callout boxes for recipe notes, tips, and asides
 */

.recipe-notes {
  margin: 1.5rem 0;
}

.recipe-note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-background-note, #fffbf0);
  border-left: 4px solid var(--color-accent, #d97706);
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.recipe-note:last-child {
  margin-bottom: 0;
}

.note-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--color-accent, #d97706);
}

.note-content {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text, #1f2937);
}

.note-label {
  font-weight: 600;
  color: var(--color-accent-dark, #92400e);
  margin-right: 0.375rem;
}

.note-content p {
  margin: 0;
}

.note-content ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.note-content li {
  margin: 0.375rem 0;
}

.note-content li p {
  display: inline;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .recipe-note {
    --color-background-note: #1e1e1e;
    --color-text: #e5e7eb;
    --color-accent: #f59e0b;
    --color-accent-dark: #fbbf24;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
}

/* Print styles */
@media print {
  .recipe-note {
    background: #f9f9f9;
    border-color: #333;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .note-icon {
    color: #333;
  }
}
