/* ==========================================================================
   ICFESSK — Base Styles (Reset + Typography + Global)
   ========================================================================== */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  min-height: 100vh;
  overscroll-behavior: none;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration: none; transition: opacity var(--duration) var(--ease); }
a:hover { opacity: 0.8; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: var(--fw-bold); color: var(--text-primary); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
p { color: var(--text-secondary); }
code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-size: 0.9em;
}

/* Hidden utility */
[hidden] { display: none !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-secondary); border-radius: var(--r-full); }

/* V10.P0: Loading spinner animation for shell view transitions */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Standalone outlet for non-shell views (quiz, simulacro, etc.) */
#standalone-outlet { min-height: 100vh; }
