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

/* Alpine.js x-cloak - hide elements until Alpine loads */
[x-cloak] { display: none !important; }

/* Dialog styles */
dialog.modal {
  margin: auto;
  border: none;
  padding: 0;
  max-height: 90vh;
  max-width: 90vw;
}

dialog.modal::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

dialog.modal > div {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* Modal animations */
dialog.modal[open] {
  animation: fade-in 0.2s ease-out;
}

dialog.modal[open]::backdrop {
  animation: fade-in 0.2s ease-out;
}


