/* SundK Årsrapport Styles */

:root {
  --colorSundK-primary-blue: #162e59;
  --colorSundK-primary-lightblue: #D8E5FF;
  --colorSundK-secondary-dark-purple: #231b63;
  --colorSundK-secondary-light-purple: #e6e0ff;
  --colorSundK-secondary-yellow: #ffde50;
  --colorSundK-tertiary-mint: #46ded1;
  --colorSundK-tertiary-light-mint: #ecffed;
  --colorSundK-tertiary-petroleum: #243547;
  --colorSundK-tertiary-light-yellow: #ffffe0;
  --colorSundK-tertiary-orange: #ff8b25;
  --colorSundK-tertiary-brown: #684800;
  --colorSundK-tertiary-light-red: #ffd7e0;
  --colorSundK-tertiary-pink: #d0396b;
  --colorSundK-tertiary-green: #30cb72;
  --colorSundK-tertiary-light-green: #dfffea;
  --colorSundK-tertiary-dark-green: #243634;
  --colorSundK-light-blue-60: #e8efff;
  --colorSundK-light-blue-20: #f7faff;
  --sidebar-width: 340px;
  --btn-roundness: 4px;
  --font-size-7: 0.8rem;
}

/* ===================
   Base Styles
   =================== */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: var(--colorSundK-primary-blue);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ===================
   Cross-Reference Links
   =================== */

/* Cross-reference links */
a.cross-ref-link {
  color: #0d6efd;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 110, 253, 0.3);
  transition: border-color 0.2s ease;
}

a.cross-ref-link:hover {
  border-bottom-color: #0d6efd;
}

/* Highlight animation for datacards and headings */
.data-card.hash-target {
  animation: slideHighlight 1.5s ease-out;
}

h1.hash-target, h2.hash-target, h3.hash-target,
h4.hash-target, h5.hash-target, h6.hash-target {
  animation: slideHighlight 1.5s ease-out;
}