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

/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin/padding but don't affect utility classes */
/* html, body, div:not([class*="p-"]):not([class*="m-"]):not([class*="gap-"]),
h1:not([class*="p-"]):not([class*="m-"]), h2:not([class*="p-"]):not([class*="m-"]),
h3:not([class*="p-"]):not([class*="m-"]), h4:not([class*="p-"]):not([class*="m-"]),
h5:not([class*="p-"]):not([class*="m-"]), h6:not([class*="p-"]):not([class*="m-"]),
p:not([class*="p-"]):not([class*="m-"]), blockquote:not([class*="p-"]):not([class*="m-"]),
figure:not([class*="p-"]):not([class*="m-"]), dl:not([class*="p-"]):not([class*="m-"]),
dd:not([class*="p-"]):not([class*="m-"]) {
  margin: 0;
  padding: 0;
} */

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
               Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  font-size: 1.6rem;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Include Tailwind CSS via the Rails gem - no directives needed */

/* Custom styles */
@layer components {
  /* You can define component classes here */
}

@layer utilities {
  /* You can define utility classes here */
}
