/**
 * Minimal CSS Reset - Shared across ALL themes
 * Académie des Étoiles SCORM Platform
 */

/* Box sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Remove default margins */
* {
  margin: 0;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body defaults */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Media defaults */
img, picture, video, canvas {
  display: block;
  max-width: 100%;
}

/* SVG-specific reset - preserve intrinsic sizing for inline SVGs */
svg {
  display: inline-block;  /* Allow inline flow */
  max-width: 100%;        /* Constrain to parent */
  max-height: 100%;       /* Constrain height too */
  height: auto;           /* Preserve aspect ratio */
  width: auto;            /* Preserve aspect ratio */
}

/* Form element defaults */
input, button, textarea, select {
  font: inherit;
}

/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Remove list styles */
ul, ol {
  list-style: none;
  padding: 0;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}
