/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*
 * Swiss Editorial Design System
 *
 * Color Palette (used as Tailwind arbitrary values):
 *   Background:  #faf9f7 (warm white)
 *   Text:        #0a0a0a (near black)
 *   Muted:       #6b6b6b (gray)
 *   Border:      #e5e3df (warm gray)
 *   Accent:      #c41e3a (swiss red)
 *   Success:     #1a5f3c (forest green)
 *   Warning:     #d4a574 (warm gold)
 *   Warning alt: #8b6914 (dark gold for text)
 *
 * Typography (loaded via Google Fonts in layout):
 *   Display:   'Playfair Display', Georgia, serif
 *   Body:      'DM Sans', system-ui, sans-serif
 *   Monospace: 'JetBrains Mono', monospace
 */

.font-mono-figures {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Confirm Modal */
dialog#confirm-modal::backdrop {
  background: rgba(0, 0, 0, 0.4);
}
dialog#confirm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  transition: opacity 150ms ease-out;
}
dialog#confirm-modal > div {
  transition: transform 150ms ease-out;
}
