/* =====================================================
   ROOT / VARIABLER (ALLE SIDER)
===================================================== */
:root {
  --color-primary: #28C59D;
  --color-primary-light: #5CE1B7;
  --color-primary-dark: #13856A;

  --color-bg: #0F172A;
  --color-gray-900: #0F172A;
  --color-gray-700: #1E293B;
  --color-gray-300: #A4DCCB;
  --color-gray-200: #D7FFF0;
  --color-white: #E9FFF8;

  --transition: all 300ms ease;

  --container-width-lg: 74%;
  --container-width-md: 88%;
}

/* =====================================================
   RESET & BASE (ALLE SIDER)
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--color-bg);
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

p {
  margin-bottom: 1rem;
}

/* =====================================================
   TYPOGRAFI (ALLE SIDER)
===================================================== */
h1, h2, h3, h4 {
  color: var(--color-white);
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

/* =====================================================
   LAYOUT / CONTAINER (ALLE SIDER)
===================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

section {
  padding: 60px 0;
}

/* =====================================================
   UTILITY / ERROR
===================================================== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #022c22;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px #28c59d80;
}

.spacer {
  height: 24px;
}

/* Formel box */
.formula-box {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #dadada1a;
  border-left: 4px solid var(--color-primary);
  font-size: 1.2rem;
  font-weight: bold;
}

.formula-center {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1.4rem 0;
  padding: 0.8rem;
  background: rgba(40,197,157,0.03);
  border-radius: 10px;
}

/* =====================================================
   HEADER / NAVIGATION (header.php)
===================================================== */
nav {
  background: var(--color-primary);
  height: 4.5rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 1rem 1rem #00000033;
}

.nav__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 0px;
  width: 0;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.nav__items {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__items a {
  color: #fff;
  font-weight: 600;
}

.nav__items a:hover {
  opacity: 0.85;
}

/* =====================================================
   FOOTER (footer.php)
===================================================== */
footer {
  background: var(--color-gray-900);
  padding-top: 5rem;
  position: relative;
  box-shadow: inset 0 1.5rem 1.5rem #00000033;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.footer__socials a {
  background: var(--color-bg);
  border-radius: 50%;
  height: 2.3rem;
  width: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
}

footer h4 {
  margin-bottom: 0.6rem;
}

footer li {
  padding: 0.4rem 0;
}

.footer__copyright {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-bg);
  margin-top: 3rem;
}

.footer__credit {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 11px;
  opacity: 0.6;
}
.dev-tool-btn {
    position: fixed;
    bottom: 20px;       /* Placerer ikonet lige over proceslinjen */
    left: 20px;         /* Placerer det helt over mod Windows-logoet */
    z-index: 9999;      /* Sørger for, at ikonet altid ligger over dit indhold */
    background-color: #161a23; /* Mørk baggrund, der matcher dit sidetema */
    color: #fff;        /* Hvidt ikon som standard */
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Gør knappen helt rund */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Giver en flot skygge */
    transition: all 0.3s ease;
}

/* Styling af selve ikonet indeni */
.dev-tool-btn i {
    font-size: 1.4rem;
}

/* Hover-effekt der skifter til sidens turkise tema-farve */
.dev-tool-btn:hover {
    background-color: #00ffcc;
    color: #161a23;
    transform: translateY(-3px); /* Løfter knappen en smule ved hover */
}


/* =====================================================
   INDEX / NOTER (index.php)
===================================================== */
.index__section {
  text-align: center;
}

.index__section h1 {
  margin-bottom: 0.75rem;
}

.index__section > .container > p {
  color: #cbd5e1;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  max-width: 600px;
}

.notes-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}

.note-card {
  background: var(--color-gray-700);
  border-radius: 18px;
  padding: 2rem;
  text-decoration: none;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  border: 1px solid #ffffff0f;
  box-shadow: 0 0 25px #00000040;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.note-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px #00000066;
  border-color: var(--color-primary);
}

.note-card h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.note-card p {
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.95rem;
}

.note-tag {
  align-self: flex-start;
  margin-top: 1.2rem;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: #28c59d26;
  color: var(--color-primary);
}

.note-card--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.note-card--disabled .note-tag {
  background: #ffffff1a;
  color: #e5e7eb;
}
.note-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
}


.note-table .table-section-heading {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: bold;
}

.note-table .table-section-heading td {
    text-align: center;
    padding: 8px;
}
/* 1. Kassen til billederne gøres smallere og centreres */
.note-grid-2 {
    display: grid;
    grid-template-columns: 1fr; /* Én række på mobil */
    gap: 1.5rem;
    margin: 25px auto; /* Centrerer kassen på skærmen */
    width: 100%;
    max-width: 500px; /* Tvinger billederne tættere sammen (juster tallet her, hvis de skal være større/mindre) */
}

/* 2. Tvinger billederne til at makke ret */
.note-grid-2 .note-image-small2,
.note-grid-2 figure,
.note-grid-2 img {
    max-width: 100% ;
    width: 100% t;
    height: auto;
    display: block;
}

/* 3. På computerskærme og tablets deles de op i to kolonner */
@media (min-width: 600px) {
    .note-grid-2 {
        grid-template-columns: 1fr 1fr; /* To kolonner side om side */
    }
}
/* =====================================================
  Note Tilbage og frem knapper 
===================================================== */
/* =========================================
   NOTE TOP BUTTON
========================================= */

.note-back-btn {
  display: inline-block;

  margin-bottom: 2rem;

  background: var(--color-gray-700);
  color: var(--color-white);

  padding: 0.7rem 1.2rem;

  border-radius: 18px;

  text-decoration: none;
  font-weight: 700;

  transition: var(--transition);
}

.note-back-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}


/* =========================================
   NOTE NAVIGATION
========================================= */

.note-nav {
  margin-top: 4rem;
  padding-top: 2rem;

  border-top: 1px solid rgba(255,255,255,0.12);

  display: flex;
  justify-content: flex-end;
}

.note-nav-right {
  display: flex;
  gap: 1rem;
}


/* =========================================
   BUTTONS
========================================= */

.note-nav-btn {
  display: inline-block;

  background: var(--color-gray-700);
  color: var(--color-white);

  padding: 0.7rem 1.2rem;

  border-radius: 18px;

  text-decoration: none;
  font-weight: 700;

  transition: var(--transition);

  min-width: 220px;
}

.note-nav-btn span {
  display: block;

  margin-top: 0.35rem;

  color: var(--color-primary-light);

  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.note-nav-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}


/* =========================================
   NEXT BUTTON
========================================= */

.note-nav-btn.primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.note-nav-btn.primary span {
  color: var(--color-bg);
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 900px) {

  .note-nav {
    justify-content: stretch;
  }

  .note-nav-right {
    width: 100%;
    flex-direction: column;
  }

  .note-nav-btn {
    width: 100%;
    min-width: unset;
  }

  .note-back-btn {
    width: 100%;
  }
}

/*-------------------------------/*
Verifikation punkt liste 
/*-------------------------------/*

/* Containeren tilpasses dine layout-regler */
.tjekliste-container {
  width: 100%;
  margin: 1.5rem 0;
}

/* Selve fold-ud boksene bruger din mørkegrå baggrund */
.tjekliste-container details {
  background: var(--color-gray-700);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

/* Når en boks åbnes, lyser kanten op i din primære turkise farve */
.tjekliste-container details[open] {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(40, 197, 157, 0.15);
}

/* Klik-overskriften tilpasses dine h3/h4 regler */
.tjekliste-container summary {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-white);
  cursor: pointer;
  padding: 0.2rem 0;
  list-style: none; /* Skjuler standard pil i Chrome/Firefox */
  position: relative;
  padding-left: 28px;
  user-select: none;
}

/* Skjuler standard pil i Safari */
.tjekliste-container summary::-webkit-details-marker {
  display: none;
}

/* Plus-tegn i din primære farve */
.tjekliste-container summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: bold;
  transition: var(--transition);
}

/* Skifter plus til minus ved åbning */
.tjekliste-container details[open] summary::before {
  content: "−";
  color: var(--color-primary-light);
}

/* Hover-effekt der lyser overskriften en smule op */
.tjekliste-container summary:hover {
  color: var(--color-primary-light);
}

/* Indholdet indeni boksen matcher din generelle tekstfarve */
.tjekliste-container .tjekliste-indhold {
  margin-top: 1.2rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

/* Overskrifter indeni boksen */
.tjekliste-container h4 {
  margin: 1rem 0 0.5rem 0;
  color: var(--color-white);
  font-size: 1rem;
}

/* Liste-styling */
.tjekliste-container ul {
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.tjekliste-container li {
  margin-bottom: 0.4rem;
}

/* Tabellen under punkt H tilpasses dit mørke tema */
.tjekliste-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.tjekliste-container th, 
.tjekliste-container td {
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  text-align: left;
}

.tjekliste-container th {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--color-primary);
  font-weight: 600;
}

/* Styling af JavaScript-knapperne i toppen (hvis du bruger dem) */
.tjekliste-ctrl-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
}

.tjekliste-ctrl-btn:hover {
  background: var(--color-primary);
  color: #022c22;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px #28c59d40;
}


/* Gør YouTube-videoen stor og centreret i fold-ud boksen */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Fastlåser 16:9 formatet */
  height: 0;
  overflow: hidden;
  margin: 2rem auto; /* Giver luft top/bund og centrerer vandret */
  border-radius: 12px; /* Matcher dine kort-afrundinger */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Tvinger videoen op i størrelse */
  width: 100%;
  max-width: 800px; /* Sæt til 100% hvis den skal fylde absolut alt ud */
  display: block;
}

/* Sikrer at selve video-afspilleren fylder kassen ud */
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Styling af kildeangivelse under videoer */
.video-kilde {
  font-size: 0.85rem;      /* Gør teksten lidt mindre og finere */
  color: #a4dccb;          /* Bruger din dæmpede lysegrønne/grå farve (--color-gray-300) */
  font-style: italic;      /* Gør teksten kursiv */
  margin-top: -1rem;       /* Trækker teksten tættere op under videoen */
  margin-bottom: 1.5rem;   /* Giver luft ned til den næste overskrift */
  text-align: center;      /* Centrerer teksten perfekt under den store video */
  opacity: 0.8;            /* Gør den en smule transparent så den ikke stjæler fokus */
}


/* =====================================================
   OM-SIDEN (om.php)
===================================================== */
.about__section {
  text-align: center;
}

.about__section .container {
  max-width: 850px;
}

.about__content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.about__content strong {
  color: var(--color-primary);
}

.about__thanks {
  margin-top: 35px;
  font-weight: 600;
  color: #60a5fa;
}

/* =====================================================
   CHANGELOG / INFO (changelog.php)
===================================================== */
.info__section {
  text-align: center;
}

.info__section .container {
  max-width: 900px;
}

.info__intro {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 50px;
}

.info__updates {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info__box {
  background: var(--color-gray-700);
  padding: 25px 30px;
  border-radius: 14px;
  box-shadow: 0 0 15px #0000004d;
  text-align: left;
}

.info__box h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* =====================================================
   KONTAKT (kontakt.php)
===================================================== */
.contact__section {
  text-align: center;
}

.contact__section .container {
  max-width: 1000px;
}

.contact__intro {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 50px;
}

.contact__info {
  background: var(--color-gray-700);
  padding: 25px 35px;
  border-radius: 14px;
  box-shadow: 0 0 15px #00000040;
  text-align: left;
  margin-bottom: 35px;
}

.contact__info h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.contact__info a {
  color: var(--color-primary);
  font-weight: 600;
}

/* --- Bliv redaktør --- */
.editor__info {
  background: var(--color-gray-700);
  padding: 40px;
  border-radius: 18px;
  margin: 50px auto;
  max-width: 1000px;
  text-align: left;
}

.editor__info h3 {
  color: var(--color-primary);
}

/* --- Redaktører --- */
.contributors__section {
  text-align: center;
  margin-top: 80px;
}

.contributors__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.contributor__box {
  background: var(--color-gray-700);
  padding: 30px;
  border-radius: 16px;
  text-align: left;
}

.contributor__box h3 {
  color: var(--color-primary);
}

/* =====================================================
   CREDITS (credits.php)
===================================================== */
.credits {
  padding-top: 7rem;
}

.credits__container {
  max-width: 1100px;
}

.credits__header {
  text-align: center;
  margin-bottom: 4rem;
}

.credits__header h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.credits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.credits__card {
  background: var(--color-gray-700);
  padding: 30px;
  border-radius: 14px;
}

.credits__card h2 {
  color: var(--color-primary);
}

.credits__thanks {
  text-align: center;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-gray-900);
}

.credits__mobilepay {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  background: var(--color-primary-light);
  color: #fff;
}

.mp-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.mp-number {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0.2rem 0;
}

.mp-note {
  font-size: 0.85rem;
  opacity: 0.9;
}

.credits__small {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* =====================================================
   NOTE LAYOUT – CENTRERET UDEN SIDEBOXE
===================================================== */
.note-layout {
  padding: 5rem 0 4rem;
}

.note-layout .container {
  max-width: 1100px;
}

.note-layout__grid,
.note-layout__center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Skjuler gamle sidebokse, hvis de stadig findes i PHP */
.note-ads,
.note-sidebar {
  display: none;
}

.note-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.note-content h1 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1.4rem;
  text-align: center;
}

.note-content p {
  color: #cbd5e1;
  line-height: 1.85;
  margin-bottom: 1.6rem;
  font-size: 1rem;
}

.note-image {
  max-width: 650px;
  margin: 2.5rem auto;
  text-align: center;
}

.note-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 0 30px #00000059;
}

.note-image.small {
  max-width: 500px;
}

.note-image.small img {
  max-width: 100%;
}

.note-image figcaption {
  text-align: center;
  opacity: 0.75;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.note-tip {
  background: var(--color-gray-700);
  border-left: 4px solid var(--color-primary);
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  color: var(--color-white);
  margin: 2.4rem 0;
}
.note-tip ul {
  padding-left: 1.2rem;
  margin-top: 0.7rem;
}

.note-info-bottom {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--color-gray-700);
  color: var(--color-white);
  border-left: 4px solid var(--color-primary);
}

.note-info-bottom ul {
  margin-top: 0.7rem;
  padding-left: 1.2rem;
}

.note-info-bottom li {
  margin-bottom: 0.4rem;
}

/* =====================================================
   OVERLAY
===================================================== */
.nav__overlay-toggle {
  display: flex;
  align-items: center;
}

.nav__overlay-toggle label {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.nav__overlay-toggle input {
  display: none;
}

.nav__overlay-toggle i {
  font-size: 1.3rem;
  color: var(--color-white);
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.nav__overlay-toggle input:not(:checked) + i {
  opacity: 0.4;
}

.nav__overlay-toggle i:hover {
  transform: scale(1.1);
}

canvas.overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
}

canvas.overlay-snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100000;
}

canvas.overlay-leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99990;
}

/* =====================================================
   PDF VIEWER
===================================================== */
.jp-pdf-embed {
  width: 100%;
  height: 80vh;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 0 25px #00000040;
}

.jp-pdf-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================================================
   COMING SOON / UNDER UDVIKLING
===================================================== */
.under-dev {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.under-dev__box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff0a;
  border-radius: 22px;
  padding: 3.5rem 3rem;
  box-shadow: 0 0 40px #00000059;
}

.under-dev__icon {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

.under-dev h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.under-dev__text {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.under-dev__progress {
  margin-bottom: 2rem;
}

.under-dev__bar {
  width: 100%;
  height: 10px;
  background: #ffffff1f;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.under-dev__bar span {
  display: block;
  height: 100%;
  width: 55%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  border-radius: 999px;
}

.under-dev__progress small {
  color: #94a3b8;
}

.under-dev__note {
  background: #28c59d1f;
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  color: #e5e7eb;
  margin-bottom: 2.5rem;
}

.under-dev__note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.under-dev__note a:hover {
  text-decoration: underline;
}

.under-dev__back {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.under-dev__back:hover {
  opacity: 0.8;
}

.coming-soon-section {
  padding: 4rem 1rem;
}

.coming-soon {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-gray-700);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px #00000014;
}

.coming-soon__badge {
  display: inline-block;
  background: #ffe9c7;
  color: #8a5a00;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.coming-soon__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.coming-soon__text {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.coming-soon__subtext {
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.coming-soon__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.coming-soon__footer {
  margin-top: 2rem;
  color: #94a3b8;
}

/* =====================================================
   NOTE TABLE
===================================================== */
.note-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--color-gray-700);
  color: var(--color-white);
}

.note-table th,
.note-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: middle;
}

.note-table thead th {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  font-weight: 600;
}

.note-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.note-table tbody tr:hover {
  background: rgba(40, 197, 157, 0.06);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media screen and (min-width: 768px) {
  section {
    padding: 80px 0;
  }

  .notes-cards,
  .credits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contributors__list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .note-content h1 {
    font-size: 2.6rem;
  }

  .note-content p {
    font-size: 1.05rem;
  }
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 1.05rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .notes-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1024px) {
  .nav__items {
    gap: 2rem;
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .nav__items {
    display: none;
  }

  section {
    padding: 60px 0;
  }

  .note-content {
    max-width: 100%;
  }

  .note-content h1 {
    font-size: 2rem;
  }

  .note-image,
  .note-image.small {
    max-width: 100%;
  }

  .under-dev__box {
    padding: 2.2rem 1.4rem;
  }
}

/*--------------------------
test
________________________*/

/* Filter boks layout */
.filter-wrapper {
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

/* Søgefeltet */
#defSearch {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 15px;
}

#defSearch:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* Knap container */
.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Standard knap udseende */
.filter-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

/* Aktiv valgt knap */
.filter-btn.active {
    background: #10b981 !important;
    color: #031b15 !important;
    font-weight: bold;
    border-color: #10b981;
}

/* De enkelte ordforklaringer i listen */
.def-item {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #10b981;
    border-radius: 0 4px 4px 0;
    transition: transform 0.15s ease;
}

.def-item:hover {
    transform: translateX(4px);
    background: rgba(16, 185, 129, 0.03);
}

.def-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}
/* =====================================================
   INSTALLATIONSMETODE BEREGNER (Tabel A.52.3)
===================================================== */
.beregner-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 16px;
  font-family: "Montserrat", sans-serif;
}

.beregner-kort {
  background: var(--color-gray-700);
  border-radius: 18px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 25px #00000040;
}

.beregner-kort h2 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.beregner-intro {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.beregner-gruppe {
  margin-bottom: 1.5rem;
  text-align: left;
}

.beregner-gruppe label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.95rem;
}

.beregner-gruppe select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.beregner-gruppe select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(40, 197, 157, 0.2);
}

.beregner-submit-btn {
  width: 100%;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.beregner-resultat {
  margin-top: 2rem;
  padding: 1.2rem;
  background: rgba(40, 197, 157, 0.05);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  text-align: left;
}

.beregner-resultat h4 {
  color: var(--color-primary-light);
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.beregner-resultat p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobil-optimering til små skærme */
@media screen and (max-width: 600px) {
  .beregner-kort {
    padding: 1.5rem;
  }
}
/* =====================================================
   Styling til Tabel B.52.1
===================================================== */
/* Container og kort-styling */
.b52-card {
    background: var(--color-gray-700);
    border-radius: 18px;
    border: 1px solid #ffffff0f;
    box-shadow: 0 0 25px #00000040;
    padding: 20px;
    overflow-x: auto;
    margin-top: 20px;
}

/* Tabel grundopsætning */
.note-table {
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
    font-size: 14px;
}

/* Overskrifter thead */
.note-table thead tr {
    background: var(--color-gray-700) !important;
}

.note-table th {
    color: #cbd5e1;
    text-align: center;
    padding: 8px 6px;
    font-weight: 600;
    border-right: 1px solid #ffffff0f;
    border-bottom: 1px solid #ffffff0f;
}

/* Hvide primære overskrifter */
.note-table thead .th-white {
    color: #E9FFF8;
}

/* Celler i tabellen */
.note-table td {
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid #ffffff0f;
    border-bottom: 1px solid #ffffff0f;
}

/* Tekstjustering og farver */
.note-table .txt-l {
    text-align: left;
}

.note-table .txt-grn {
    color: #28C59D;
    font-weight: 600;
}

.note-table .txt-desc {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: normal;
}

/* Zebra-striber på rækkerne */
.note-table .row-odd {
    background: rgba(255, 255, 255, 0.02);
}

.note-table .row-even {
    background: rgba(0, 0, 0, 0.15);
}

/* Nummereringsrække (1-9) med den tykke turkise bundlinje */
.note-table .num-row {
    background: rgba(0, 0, 0, 0.25) !important;
}

.note-table .num-row th {
    color: #28C59D;
    font-size: 12px;
    padding: 6px !important;
    border-bottom: 2px solid #28C59D !important;
}

/* Tyk grøn streg til adskillelse af hovedsektioner */
.note-table .border-thick-bottom th,
.note-table .border-thick-bottom td {
    border-bottom: 2px solid #28C59D !important;
}

/* Fjern kant i yderste højre side */
.note-table .no-right-border {
    border-right: none !important;
}
/* =====================================================
   Styling til Tabel B.52.4
===================================================== */
/* Sørg for at overskriftsrækkerne i thead får det mørke look og rammer */
.note-table thead tr {
    background: var(--color-gray-700) !important;
}

.note-table th {
    color: #E9FFF8;
    text-align: center;
    padding: 8px 6px;
    font-weight: 600;
    border-right: 1px solid #ffffff0f;
    border-bottom: 1px solid #ffffff0f;
}

/* Sørg for at den grønne tekst i overskrifterne slår rigtigt igennem */
.note-table thead .txt-grn {
    color: #28C59D !important;
}

/* Grøn bundlinje under kolonnetallene, der adskiller thead fra datorækkerne */
.note-table .num-row th {
    background: rgba(0, 0, 0, 0.25) !important;
    color: #28C59D !important;
    font-size: 12px;
    padding: 6px !important;
    border-bottom: 2px solid #28C59D !important;
}

/* Fjern yderste højre kant på den sidste kolonne */
.note-table .no-right-border {
    border-right: none !important;
}

/*-----------------------------------------------*/ 

