/*
 * 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.
 */

/* Tailwind CSS is built and served from builds/tailwind.css */

/* Custom Dialog Styles */
dialog {
  border: none;
  border-radius: 0.5rem;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Dark mode support for dialog backdrop */
@media (prefers-color-scheme: dark) {
  dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
  }
}
