

/*  Generelle indstillinger */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* Side */
body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fb;
    color:#1f2937;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;

    min-height:100vh;
}

/* Hovedcontainer */
.container{
    background:#ffffff;

    padding:60px;

    max-width:800px;
    width:90%;

    text-align:center;

    border-radius:16px;

    /* Lidt mørkere kant */
    border:1px solid #c7d2df;

    /* Blød skygge */
    box-shadow:0 18px 45px rgba(0,0,0,.10);
}

.side-container {
    max-width: 1000px;
}
/* Navigation */
nav {
    margin: 25px 0 35px;
}

nav a {
    color: #0f4c81;
    text-decoration: none;
    font-weight: bold;
    margin: 0 12px;

    transition: color 0.2s ease;
}

.active {
    display: inline-block;
    background: #66AAAB;   
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 999px;
    margin: 0 12px;

    transition: background-color 0.2s ease;
}

/* Logo */
.logo {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;

    border-radius: 35px;
}
/* Banner på undersider */
.banner {
    width: 95%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 35px;
}

/* Overskrifter */
h1{
    font-size:3rem;
    color:#0f4c81;
    margin-bottom:10px;
}

.subtitle{
    color:#666;
    font-size:1.2rem;
    margin-bottom:40px;
}

h2{
    font-size:2rem;
    margin-bottom:30px;
}

/* Tekst */
p{
    font-size:1.15rem;
    line-height:1.7;
    margin-bottom:20px;
}

/* Statusboks */
.status{
    margin-top:40px;
    display:inline-block;

    background:#eef6ff;
    color:#0f4c81;

    padding:15px 25px;

    border-radius:10px;

    font-weight:bold;
}

/* Footer */
footer{
    margin-top:30px;

    text-align:center;

    color:#6b7280;
    font-size:.95rem;
}

/* Vision */
#vision-content {
    text-align: left;
    line-height: 1.8;
    margin-top: 40px;
}

#menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ==========================================================
   Profilkort - Om os
   ========================================================== */

.personer {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.person-kort {
    width: 260px;
    padding: 20px 20px 15px;
    border-radius: 15px;
    background: white;
    border: 1px solid #c9d8e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.person-kort-billede {
    width: 100%;
    height: 180px;

    object-fit: cover;
    object-position: center 45%;

    border-radius: 10px;
    display: block;
}

.person-kort {
    width: 260px;
    padding: 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.person-kort {
    text-decoration: none;
    color: inherit;
}

.person-kort:visited {
    color: inherit;
}

.person-kort:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.person-kort h3 {
    margin: 14px 0 10px;
    font-size: 1.8rem;
    color: #0f4c81;
}

.person-kort p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ==========================================================
   Forsidekort - Portal og Andelsrummet
   ========================================================== */

.forside-kort {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.forside-kort-item {
    width: 300px;
    min-height: 180px;
    padding: 25px;

    background: white;
    border: 1px solid #c9d8e6;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.forside-kort-item h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #0f4c81;
}

.forside-kort-item p {
    margin: 15px 0;
}

.kort-knap {
    display: inline-block;
    padding: 8px 16px;

    background: #66AAAB;
    color: white;
    text-decoration: none;

    border-radius: 15px;
    font-weight: bold;
}

.kort-deaktiveret {
    opacity: 0.6;
    cursor: default;
}

@media (max-width: 750px) {
    .forside-kort {
        flex-direction: column;
        align-items: center;
    }
}

/* Andelsrummet - hele kortet er klikbart */

.andelsrum-kort {
    text-decoration: none;
    color: inherit;
    cursor: pointer;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.andelsrum-kort:visited {
    color: inherit;
}

.andelsrum-kort:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.andelsrum-kort p {
    color: inherit;
}

/* ==========================================================
   Andelsrummet - kort
   ========================================================== */

.andelsrummet-kort {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.andelsrummet-kort-item {
    width: 260px;
    min-height: 180px;
    padding: 25px;

    background: white;
    border: 1px solid #c9d8e6;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.andelsrummet-kort-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.andelsrummet-kort-item h2 {
    margin: 0 0 20px;
    font-size: 1.6rem;
    color: #0f4c81;
}

.andelsrummet-kort-item p {
    margin: 0;
}

@media (max-width: 950px) {
    .andelsrummet-kort {
        flex-wrap: wrap;
    }
}
.andelsrummet-kort-item {
    text-decoration: none;
    color: inherit;
}

.andelsrummet-kort-item:visited {
    color: inherit;
}

/* ==========================================================
   Projektværksted - fold ud bokse
   ========================================================== */

#projekt-liste {
    max-width: 800px;
    margin: 35px auto;
    text-align: left;
}

.projekt-boks {
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #c7d8e8;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.projekt-boks summary {
    padding: 18px 22px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #0f4c81;
    cursor: pointer;
}

.projekt-boks:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.projekt-boks {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projekt-indhold {
    padding: 0 22px 18px;
    color: #222;
}
/* ==========================================================
   Projektværksted - underbokse
   ========================================================== */

.projekt-underboks {
    margin: 12px 0;
    background: #f7f9fb;
    border: 1px solid #c7d8e8;
    border-radius: 10px;
    overflow: hidden;
}

.projekt-underboks summary {
    padding: 14px 18px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #0f4c81;
    cursor: pointer;
}

.projekt-underboks:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.projekt-underindhold {
    padding: 0 20px 12px 42px;
}

.projekt-underindhold p {
    margin: 10px 0;
}
/* =========================================================
   Forside - knap til Vision
   ========================================================= */

.vision-knap {
    display: inline-block;
    margin: 10px 0 40px;
    padding: 8px 16px;
    background: #66AAAB;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
}
/* ==========================================================
   Projektværksted - opgaver og status
   ========================================================== */

.projekt-opgave {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 9px 0;
    border-bottom: 1px solid #e3e8ee;
}

.projekt-opgave:last-child {
    border-bottom: none;
}

.projekt-opgave span {
    flex: 1;
    line-height: 1.4;
}

.projekt-opgave select {
    width: 125px;
    flex-shrink: 0;

    padding: 6px 8px;
    border: 1px solid #c7d8e8;
    border-radius: 8px;

    background: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
}
.projekt-underboks summary:focus {
    outline: none;
}

.projekt-underboks summary:focus-visible {
    outline: 2px solid #66AAAB;
    outline-offset: -2px;
    border-radius: 8px;
}

.projekt-kolonne-overskrifter {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 0 0 6px 0;
    margin-bottom: 2px;

    font-size: 0.85rem;
    font-weight: bold;
    color: #0f4c81;
}

.projekt-kolonne-overskrifter span:first-child {
    flex: 1;
}

.projekt-kolonne-overskrifter span:nth-child(2),
.projekt-kolonne-overskrifter span:nth-child(3) {
    width: 125px;
}
.projekt-ny-opgave {
    margin: 8px 0 12px 0;
    padding: 7px 14px;

    border: none;
    border-radius: 8px;

    background: #66AAAB;
    color: white;

    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
}

.projekt-ny-opgave:hover {
    opacity: 0.9;
}

.projekt-login-knap {
    margin: 12px 0 20px 0;
    padding: 9px 16px;

    border: none;
    border-radius: 8px;

    background: #66AAAB;
    color: white;

    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
}

.projekt-login-knap:hover {
    opacity: 0.9;
}
/* Tilføj dette nederst i CSS-filen */
.projekt-login-baggrund {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
}
.projekt-login-boks {
    width: min(360px, calc(100% - 40px));
    padding: 24px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}
.projekt-login-boks h3 {
    margin: 0 0 18px;
    color: #0f4c81;
    text-align: center;
}
.projekt-login-boks input {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #cbd8e5;
    border-radius: 8px;
    font-size: 1rem;
}
.projekt-login-knapper {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 6px;
}
.projekt-login-knapper button {
    padding: 9px 16px;
    border: none;
    border-radius: 8px;
    background: #66AAAB;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* ========================================
   Wiki
   ======================================== */

.wiki-toplinje {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 15px;
}

.wiki-login,
.wiki-forslag {
    color: #0f4c81;
    font-weight: bold;
    text-decoration: none;
}

.wiki-login:hover,
.wiki-forslag:hover {
    text-decoration: underline;
}

.wiki-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    width: 100%;
    margin-top: 10px;
    border: 1px solid #cbd8e5;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.wiki-navigation {
    padding: 22px 18px;
    background: #f5f8fb;
    border-right: 1px solid #cbd8e5;
}

.wiki-navigation h2 {
    margin: 0 0 18px;
    color: #0f4c81;
    font-size: 1.25rem;
}

.wiki-navigation a {
    display: block;
    padding: 10px 8px;
    border-radius: 7px;
    color: #0f4c81;
    font-weight: bold;
    text-decoration: none;
}

.wiki-navigation a:hover {
    background: #e7f1f5;
}

.wiki-indhold {
    min-height: 400px;
    padding: 25px 30px;
}

.wiki-indhold h2 {
    margin-top: 0;
    color: #0f4c81;
}

.wiki-indhold p {
    text-align: left;
}
.wiki-forslag-tekst {
    width: 100%;
    min-height: 170px;
    padding: 10px 12px;
    border: 1px solid #cbd8e5;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    resize: vertical;
}


