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

button:not(:disabled),
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled),
summary {
  cursor: pointer;
}

@media (min-width: 640px) {
  .drawer-overlay .drawer-backdrop {
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .drawer-overlay .drawer-panel {
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .drawer-overlay[data-open="true"] .drawer-backdrop {
    opacity: 1;
  }

  .drawer-overlay[data-open="true"] .drawer-panel {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer-overlay .drawer-backdrop,
  .drawer-overlay .drawer-panel {
    transition: none !important;
  }
}
