/* 
Generelle stilarter
Primær blå = #2AB7FE
*/

:root{ 
  --page-max: 1200px; 
  --nav-h: 94px;
  --nav-gap: 12px;
}

/* Base reset ---------------------------------------------------------------*/
*{ box-sizing: border-box; }
html, body{ min-height: 100%; }
body{
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  background: #0e1418;
  line-height: 1.45;
}

/* Scrollbar ----------------------------------------------------------------*/
body::-webkit-scrollbar{ width: 11px; }
body::-webkit-scrollbar-track{ background: rgba(43, 42, 42, 0.98); }
body::-webkit-scrollbar-thumb{
  background-color: rgba(53, 53, 53, 0.95);
  border-radius: 20px;
}

/* Baggrund -----------------------------------------------------------------*/
.background{
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.background img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.08);
}
.background::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 0 90px rgba(0,0,0,.85);
}

/* Layout -------------------------------------------------------------------*/
.container{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Grid span ----------------------------------------------------------------*/
.topnav, .dashboard-content, .footer{ grid-column: 1 / -1; }

/* Content wrap (samme vibe som oversigten) ---------------------------------*/
.dashboard-content{
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 12px;
}

.cl-wrap{
  width: min(92vw, var(--page-max));
  margin: 3% auto;
  background: rgba(43, 42, 42, 0.93);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Header -------------------------------------------------------------------*/
.cl-head{ margin-bottom: 14px; }

.cl-title{
  margin: 0 0 8px;
  color: #2AB7FE;
  text-shadow: 2px 2px 3px #000;
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
}

.cl-version{
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-style: normal;
  font-size: 18px;
  margin-left: 6px;
  opacity: .95;
}

.cl-meta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.70);
  font-weight: 700;
  font-size: 13px;
}
.cl-meta strong{ color: rgba(255,255,255,.92); }

/* Fastgjort badge ----------------------------------------------------------*/
.cl-pin{
  margin-left: auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245,158,11,.14);
  border: 1px solid rgba(245,158,11,.35);
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}

/* Tags ---------------------------------------------------------------------*/
.cl-tags{
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cl-tag{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
}

/* Body (ENESTE "card") -----------------------------------------------------*/
.cl-body{
  background: rgba(32, 32, 32, 0.92);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  padding: 18px 18px 6px;

  /* <- her kom "designet" tilbage */
  color: rgba(255,255,255,.88);
  line-height: 1.75;
  font-weight: 700;
  font-size: 15px;
}

/* Typografi i body ---------------------------------------------------------*/
.cl-body p{
  margin: 10px 0 14px;
}

.cl-body strong{
  color: rgba(255,255,255,.95);
}

.cl-body a{
  color: #2AB7FE;
  text-decoration: none;
  font-weight: 900;
}
.cl-body a:hover{ text-decoration: underline; }

/* Sektion-overskrifter (Tilføjet/Rettet/Fjernet) ---------------------------*/
.cl-body h1,
.cl-body h2,
.cl-body h3{
  margin: 18px 0 10px;
  color: #2AB7FE;
  font-weight: 900;
  font-style: italic;
  text-shadow: 2px 2px 3px #000;
  font-size: 18px;
}
.cl-body h1:first-child,
.cl-body h2:first-child,
.cl-body h3:first-child{ margin-top: 0; }

/* Lister i body (pænere spacing) ------------------------------------------*/
.cl-body ul{
  margin: 8px 0 18px;
  padding-left: 26px;
}
.cl-body li{
  margin: 8px 0;
}

/* Hvis emotes render som <img> --------------------------------------------*/
.cl-body img{
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Footer (Udgivet) ---------------------------------------------------------*/
.cl-footer{
  padding: 10px 2px 0;
  color: rgba(255,255,255,.55);
  font-weight: 800;
  font-size: 12px;
  text-align: right;
}

/* Tilbage-knap -------------------------------------------------------------*/
.cl-back{
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}
.cl-back-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;

  color: #2AB7FE;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;

  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cl-back-btn:hover{
  transform: scale(1.03);
}

/* Empty state --------------------------------------------------------------*/
.cl-empty{
  text-align: center;
  color: rgba(255,255,255,.75);
  font-weight: 800;
  padding: 18px 0;
}

/* Mobil --------------------------------------------------------------------*/
@media (max-width: 700px){
  .cl-title{ font-size: 26px; }
  .cl-version{ font-size: 16px; }
}