/* /Components/HeaderLogos.razor.rz.scp.css */
/* HeaderLogos.razor.css */
.header-logos[b-to0yymang1] {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 80px);
    display: flex;
    align-items: center;
    padding: 10px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1); /* Nesten helt transparent */
    transition: all 0.3s ease;
    backdrop-filter: blur(1px); /* Minimal blur-effekt */
    border-bottom: none; /* Fjernet grenselinje helt */
}

/* Logoene er nå ekte lenker (<a href="/">) for tastatur-/skjermlesertilgang.
   Lenkene er flex-elementene; sentreringen ligger derfor på lenken, ikke bildet. */
.logo-link[b-to0yymang1] {
    display: inline-flex;
    align-items: center;
    line-height: 0; /* unngå ekstra høyde rundt bildet */
    text-decoration: none;
}

.logo-link-center[b-to0yymang1] {
    margin: 0 auto;
}

.left-logo[b-to0yymang1] {
    height: 150px;
    width: auto;
    object-fit: contain;
    background-color: transparent;
    transition: all 0.3s ease;
}

.center-logo[b-to0yymang1] {
    height: 150px;
    object-fit: contain;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* Når man har rullet nedover, blir headeren praktisk talt usynlig */
.header-logos.scrolled[b-to0yymang1] {
    background-color: rgba(255, 255, 255, 0); /* Fullstendig transparent */
}

@media (max-width: 999px) {
    .header-logos[b-to0yymang1] {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.2); /* Litt synlig på mobile enheter for brukervennlighet */
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-qtbqhw2uv8] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-qtbqhw2uv8] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content[b-qtbqhw2uv8] {
    flex: 1;
    padding-top: 170px; /* Adjusted to accommodate the header logos */
}



.footer[b-qtbqhw2uv8] {
    background-color: #3a5f41;
    color: white;
    padding: 2rem 0;
}

.footer-content[b-qtbqhw2uv8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-info p[b-qtbqhw2uv8] {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links[b-qtbqhw2uv8] {
    display: flex;
    gap: 1.5rem;
}

.footer-links a[b-qtbqhw2uv8] {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover[b-qtbqhw2uv8] {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .top-row[b-qtbqhw2uv8], article[b-qtbqhw2uv8] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .footer-content[b-qtbqhw2uv8] {
        flex-direction: row;
        justify-content: space-between;
        max-width: 950px;
        margin: 0 auto;
    }
}



#blazor-error-ui[b-qtbqhw2uv8] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-qtbqhw2uv8] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/MenuToggle.razor.rz.scp.css */
.logo-container[b-9kgm58o3t7] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002; /* Høyere z-index enn menyen for å "skinne gjennom" */
}

.logo[b-9kgm58o3t7] {
    width: 60px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover[b-9kgm58o3t7] {
    transform: scale(1.1);
}

.sliding-menu[b-9kgm58o3t7] {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    background-color: rgba(220, 233, 227, 0.92); /* Litt mer transparent */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 1001; /* Lavere enn logo-container */
    max-height: 100vh; /* Full høyde */
    overflow-y: auto;
    border-radius: 0 0 0 10px;
    padding: 20px 0;
    backdrop-filter: blur(5px);
}

.sliding-menu.open[b-9kgm58o3t7] {
    right: 0;
}

.menu-overlay[b-9kgm58o3t7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    animation: fadeIn-b-9kgm58o3t7 0.3s forwards;
}

@keyframes fadeIn-b-9kgm58o3t7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.navbar-brand[b-9kgm58o3t7] {
    padding-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.site-title[b-9kgm58o3t7] {
    color: #000;
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.site-title:hover[b-9kgm58o3t7] {
    transform: translateY(-2px);
}

.nav-link[b-9kgm58o3t7] {
    color: #444;
    transition: all 0.2s ease;
    border-radius: 5px;
}

.nav-link:hover[b-9kgm58o3t7] {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}


button.nav-link[b-9kgm58o3t7] {
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    padding: 0.5rem 1rem;
}

/* /Components/Shared/CookieConsent.razor.rz.scp.css */
.cookie-consent[b-hzurdhyuct] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    /* Skjul det som standard */
    opacity: 0;
    visibility: hidden;
}

.cookie-consent.show[b-hzurdhyuct] {
    opacity: 1;
    visibility: visible;
}

.cookie-consent.hide[b-hzurdhyuct] {
    opacity: 0;
    visibility: hidden;
}

.cookie-content[b-hzurdhyuct] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-buttons[b-hzurdhyuct] {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .cookie-content[b-hzurdhyuct] {
        padding: 0.5rem 2rem;
    }
}
/* /Components/Shared/VentelisteForklaring.razor.rz.scp.css */
/* Forklaringsvinduet legger seg over redigeringsmodalen det åpnes fra. */
.forklaring-modal[b-dkmmw8zz6x] {
    z-index: 1080;
    background-color: rgba(0, 0, 0, 0.5);
}

.forklaring-modal .modal-header[b-dkmmw8zz6x] {
    background-color: #3a5f41;
    color: #fff;
    align-items: flex-start;
}

.forklaring-modal .modal-title[b-dkmmw8zz6x] {
    /* Uten dette arver tittelen den globale, mørkegrønne h5-fargen fra app.css
       og blir usynlig mot den grønne headeren. */
    color: #fff;
}

.forklaring-modal .modal-header .btn-close[b-dkmmw8zz6x] {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-undertittel[b-dkmmw8zz6x] {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.15rem;
}

.forklaring-body[b-dkmmw8zz6x] {
    padding: 0;
    overflow: hidden;
}

.forklaring-kolonner[b-dkmmw8zz6x] {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 0;
}

.forklaring-flyt[b-dkmmw8zz6x] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-y: auto;
    padding: 1.25rem 1.5rem 2.5rem;
}

.forklaring-preview[b-dkmmw8zz6x] {
    flex: 0 0 480px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #dee2e6;
    background-color: #f4f6f4;
    overflow: hidden;
}

/* Under 1200px stables kolonnene, og forhåndsvisningen legger seg øverst
   slik at et klikk lenger nede på siden gir synlig resultat. */
@media (max-width: 1199.98px) {
    .forklaring-kolonner[b-dkmmw8zz6x] {
        flex-direction: column;
        overflow-y: auto;
    }

    .forklaring-flyt[b-dkmmw8zz6x] {
        overflow-y: visible;
    }

    .forklaring-preview[b-dkmmw8zz6x] {
        order: -1;
        flex: 0 0 auto;
        border-left: none;
        border-bottom: 1px solid #dee2e6;
    }

    .preview-ramme[b-dkmmw8zz6x] {
        height: 60vh;
    }
}

/* ---------- Eksempelboks ---------- */
.eksempel-boks[b-dkmmw8zz6x] {
    background-color: #eef3ef;
    border: 1px solid #cfdfd3;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #33503a;
    margin-bottom: 1.5rem;
}

/* ---------- Steg ---------- */
.steg[b-dkmmw8zz6x] {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e6e6e6;
}

.steg-hode[b-dkmmw8zz6x] {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.steg-nr[b-dkmmw8zz6x] {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #3a5f41;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.steg-tittel[b-dkmmw8zz6x] {
    margin: 0.15rem 0 0.25rem;
    color: #3a5f41;
    font-weight: 700;
}

.steg-tekst[b-dkmmw8zz6x] {
    margin: 0;
    font-size: 0.9rem;
    color: #4a4a4a;
}

/* ---------- Greiner (parallelle utfall) ---------- */
.greiner[b-dkmmw8zz6x] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-left: 2.85rem;
}

.grein[b-dkmmw8zz6x] {
    flex: 1 1 260px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #fbfbfa;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 0.85rem;
}

.vilkaar[b-dkmmw8zz6x] {
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.vilkaar-gronn[b-dkmmw8zz6x] { background-color: #dcecdd; color: #2c5133; }
.vilkaar-gul[b-dkmmw8zz6x] { background-color: #fdf0cf; color: #715610; }
.vilkaar-graa[b-dkmmw8zz6x] { background-color: #e7e7e7; color: #4d4d4d; }
.vilkaar-blaa[b-dkmmw8zz6x] { background-color: #d9e8f5; color: #1f4b6b; }
.vilkaar-roed[b-dkmmw8zz6x] { background-color: #f8dcdc; color: #7a2727; }

/* Loddrett pil mellom trinnene i en grein */
.pil[b-dkmmw8zz6x] {
    width: 2px;
    height: 1.1rem;
    background-color: #b9c6bb;
    margin: 0.45rem 0 0.45rem 0.75rem;
    position: relative;
}

.pil[b-dkmmw8zz6x]::after {
    content: "";
    position: absolute;
    left: -3px;
    bottom: -1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #b9c6bb;
}

.pil-kort[b-dkmmw8zz6x] { height: 0.8rem; }

.hendelse[b-dkmmw8zz6x] {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.88rem;
    color: #333;
}

.hendelse-detalj[b-dkmmw8zz6x] {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.82rem;
    color: #6b6b6b;
}

.hendelse-stopp[b-dkmmw8zz6x] {
    border-style: dashed;
    background-color: #fafafa;
    color: #6b6b6b;
}

/* ---------- E-postkort ---------- */
.epost-kort[b-dkmmw8zz6x] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    text-align: left;
    background-color: #fff;
    border: 1.5px solid #3a5f41;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.epost-kort:hover[b-dkmmw8zz6x],
.epost-kort:focus-visible[b-dkmmw8zz6x] {
    background-color: #eef3ef;
    box-shadow: 0 2px 8px rgba(58, 95, 65, 0.18);
}

.epost-kort.valgt[b-dkmmw8zz6x] {
    background-color: #3a5f41;
    border-color: #3a5f41;
    color: #fff;
}

.epost-ikon[b-dkmmw8zz6x] {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background-color: #dcecdd;
    color: #3a5f41;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epost-kort.valgt .epost-ikon[b-dkmmw8zz6x] {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.epost-tekst[b-dkmmw8zz6x] {
    flex: 1 1 auto;
    min-width: 0;
}

.epost-tittel[b-dkmmw8zz6x] {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.25;
    /* Sikkerhetsnett for lange ord i de smale greinkortene. */
    overflow-wrap: break-word;
}

.epost-emne[b-dkmmw8zz6x] {
    display: block;
    font-size: 0.76rem;
    color: #6b6b6b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.epost-kort.valgt .epost-emne[b-dkmmw8zz6x] { color: rgba(255, 255, 255, 0.8); }

.epost-vis[b-dkmmw8zz6x] {
    flex: 0 0 auto;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.55;
}

/* ---------- Modus (handling ved ledig plass) ---------- */
.modus[b-dkmmw8zz6x] {
    margin: 0 0 1rem 2.85rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fbfbfa;
}

.modus-anbefalt[b-dkmmw8zz6x] {
    border-color: #3a5f41;
    border-width: 1.5px;
    background-color: #f6faf7;
}

.modus-hode[b-dkmmw8zz6x] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.modus-navn[b-dkmmw8zz6x] {
    font-weight: 700;
    color: #3a5f41;
}

.modus-merke[b-dkmmw8zz6x] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: #3a5f41;
    color: #fff;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
}

.modus-tekst[b-dkmmw8zz6x] {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: #4a4a4a;
}

/* ---------- Utfall av et tilbud ---------- */
.utfall-liste[b-dkmmw8zz6x] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
}

.utfall[b-dkmmw8zz6x] {
    flex: 1 1 260px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
}

.utfall-ja[b-dkmmw8zz6x] { border-left: 4px solid #2f7d3c; }
.utfall-nei[b-dkmmw8zz6x] { border-left: 4px solid #8a8a8a; }
.utfall-taus[b-dkmmw8zz6x] { border-left: 4px solid #c98a1e; }

.utfall-svar[b-dkmmw8zz6x] {
    font-weight: 700;
    font-size: 0.85rem;
    color: #333;
}

.utfall-svar i[b-dkmmw8zz6x] { margin-right: 0.3rem; }

.under-utfall[b-dkmmw8zz6x] {
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.under-linje[b-dkmmw8zz6x] {
    display: flex;
    gap: 0.45rem;
    font-size: 0.83rem;
    color: #4a4a4a;
}

.under-linje i[b-dkmmw8zz6x] {
    color: #3a5f41;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

/* ---------- Faktabokser ---------- */
.fakta[b-dkmmw8zz6x] {
    margin-bottom: 1.75rem;
    padding: 1rem 1.15rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fbfbfa;
}

.fakta-tittel[b-dkmmw8zz6x] {
    color: #3a5f41;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.fakta-tekst[b-dkmmw8zz6x] {
    font-size: 0.88rem;
    color: #4a4a4a;
    margin-bottom: 0;
}

.fakta-tabell[b-dkmmw8zz6x] {
    width: 100%;
    margin-top: 0.75rem;
    font-size: 0.87rem;
    border-collapse: collapse;
}

.fakta-tabell th[b-dkmmw8zz6x],
.fakta-tabell td[b-dkmmw8zz6x] {
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
}

.fakta-tabell thead th[b-dkmmw8zz6x] {
    background-color: #eef3ef;
    color: #33503a;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fakta-rad-stopp td[b-dkmmw8zz6x] {
    background-color: #fdf6ea;
    font-weight: 600;
}

.status-liste[b-dkmmw8zz6x] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #4a4a4a;
}

.status-merke[b-dkmmw8zz6x] {
    display: inline-block;
    min-width: 6rem;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.status-venter[b-dkmmw8zz6x] { background-color: #e7e7e7; color: #4d4d4d; }
.status-tilbudt[b-dkmmw8zz6x] { background-color: #fdf0cf; color: #715610; }
.status-bekreftet[b-dkmmw8zz6x] { background-color: #dcecdd; color: #2c5133; }
.status-utlopt[b-dkmmw8zz6x] { background-color: #f0e2f5; color: #5a2f6b; }
.status-avslaatt[b-dkmmw8zz6x] { background-color: #f8dcdc; color: #7a2727; }

/* ---------- Forhåndsvisning ---------- */
.preview-tom[b-dkmmw8zz6x] {
    margin: auto;
    padding: 2rem;
    text-align: center;
    color: #6b6b6b;
    font-size: 0.9rem;
}

.preview-tom i[b-dkmmw8zz6x] {
    font-size: 2.5rem;
    color: #b9c6bb;
    display: block;
    margin-bottom: 0.75rem;
}

.preview-topp[b-dkmmw8zz6x] {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
}

.preview-hode[b-dkmmw8zz6x] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.preview-tittel[b-dkmmw8zz6x] {
    color: #3a5f41;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.preview-meta[b-dkmmw8zz6x] {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    gap: 0.15rem 0.5rem;
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
}

.preview-meta dt[b-dkmmw8zz6x] {
    color: #8a8a8a;
    font-weight: 600;
}

.preview-meta dd[b-dkmmw8zz6x] {
    margin: 0;
    color: #333;
    overflow-wrap: anywhere;
}

.preview-forklaring[b-dkmmw8zz6x] {
    margin: 0;
    font-size: 0.83rem;
    color: #5a5a5a;
}

.preview-ramme[b-dkmmw8zz6x] {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    background-color: #fff;
    min-height: 300px;
}
