/* App-lag oven på Hedwig. Den rigtige Hedwig CSS indlæses fra vendor/hedwig/hedwig.css
   (self-hostet @postenbring/hedwig-css v4.2.1) FØR denne fil, så tokens (--hds-*) er
   tilgængelige her. Denne fil holder kun app-specifik styling, som Hedwig ikke leverer.
   Self-hostet fordi appen serveres som statiske filer (ingen bundler i deploy-stien).
   Posten Sans @font-face beholdes her som fallback (peger på src/fonts/). */
@font-face {
    font-family: 'Posten Sans';
    src: url('src/fonts/PostenSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Posten Sans';
    src: url('src/fonts/PostenSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Posten Sans';
    src: url('src/fonts/PostenSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    /* Brand Colors — mapped to real Hedwig tokens (vendor/hedwig/hedwig.css) */
    --brand-primary: var(--hds-posten-colors-signature-red);
    /* Posten Red #e32d22 */
    --brand-primary-hover: var(--hds-posten-colors-signature-red-hover);
    /* #ca201c */
    --brand-secondary: #6EC943;
    /* Bring base grøn — hds-colors-bring-base-default (jf. hedwig-design skill tokens.md) */
    --brand-secondary-hover: #56B529;
    /* Bring hover — hds-colors-bring-base-hover */
    --brand-secondary-strong: var(--hds-bring-colors-dark-green);
    /* #00643a */
    --brand-dark: #333333;

    /* Semantic Colors — Hedwig */
    --color-success: var(--hds-bring-colors-dark-green);
    --color-error: var(--hds-posten-colors-signature-red);
    --color-warning: var(--hds-ui-colors-warning-yellow);
    --color-info: #7167fe;

    /* Brand surface/tinted baggrunde (hds) */
    --posten-tinted: var(--hds-posten-colors-lighter-red);
    --bring-tinted: var(--hds-bring-colors-lighter-green);

    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Base Colors (Legacy Overrides) */
    --primary-color: var(--brand-primary);
    --light-gray: var(--gray-100);
    --medium-gray: var(--gray-300);
    --dark-gray: var(--gray-800);
    --background-color: var(--white);

    /* Spacing & Borders — Hedwig border-radius-skala */
    --radius-sm: var(--hds-border-radius);
    /* 2px */
    --radius-md: var(--hds-border-radius-8);
    /* 8px */
    --radius-lg: var(--hds-border-radius-16);
    /* 16px */
    --radius-xl: var(--hds-border-radius-24);
    /* 24px */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: var(--hds-shadow-default, 0px 1px 5px 0px #00000022);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* GLOBAL BOX-SIZING FIX */
* {
    box-sizing: border-box;
}

/* Global fokus-synlighed — Hedwig-stil. Manglede tidligere næsten helt (a11y-krav).
   Følger brand-temaet (Posten rød / Bring grøn) via --brand-primary. */
:focus-visible {
    outline: 2px solid var(--hds-colors-base-default);
    outline-offset: 2px;
}

/* Fjern kun outline når :focus-visible IKKE er aktiv (mus/tap), aldrig for tastatur. */
:focus:not(:focus-visible) {
    outline: none;
}

/* Selvhostede UI-ikoner (src/icons.svg). Størrelse via em (arver wrapper-ens
   font-size), farve via currentColor — erstatter de tidligere emoji-ikoner. */
.hw-ico {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* Sikrer at dropzone-ikonet fylder (index havde ingen størrelse på .drop-icon). */
.drop-icon {
    font-size: 2.5rem;
    line-height: 1;
}

/* Respektér brugerens ønske om reduceret bevægelse (a11y — Hedwig-kvalitetsgulv). */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Posten Sans', Arial, sans-serif;
    margin: 0;
    background-color: var(--hds-ui-colors-light-grey-fill);
    /* Hedwig neutral flade #F2F2F2 — dekorativt sommerfoto fjernet for design-compliance */
    color: var(--dark-gray);
    min-height: 100vh;
    /* Sikrer at baggrunden altid fylder mindst hele skærmen */
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--background-color);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--medium-gray);
    flex-shrink: 0;
}

header h1 {
    color: var(--primary-color);
    margin: 0;
}

.review-container {
    display: flex;
    margin: 2rem;
    gap: 2rem;
}


.criteria-list {
    flex: 3;
}

.criteria-item {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.criteria-item h3 {
    margin-top: 0;
}

/* --- STANDARD BUTTONS --- */
button,
.btn {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-secondary);
    /* Hedwig: Bring-knapper har sort tekst (bring-base-contrast-default) */
    color: #000000;
    border-color: var(--brand-secondary);
}

.btn-primary:hover {
    background-color: var(--brand-secondary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn-ghost {
    background-color: transparent;
    color: var(--gray-600);
    border-color: transparent;
}

.btn-ghost:hover {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

.btn-primary-large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    background-color: var(--brand-primary);
    /* Hedwig: Posten-knapper har hvid tekst (posten-base-contrast-default) */
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(227, 45, 34, 0.2);
}

.btn-primary-large:hover {
    background-color: var(--brand-primary-hover);
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(227, 45, 34, 0.3);
}

.btn-link-subtle {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 0.5rem;
}

.btn-link-subtle:hover {
    color: var(--gray-800);
}

.actions button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* --- STANDARD COMPONENTS --- */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    /* Skjult som standard */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content-dialog {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    animation: modal-slide-in 0.3s ease-out;
}

@keyframes modal-slide-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.actions .btn-yes:focus {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.actions .btn-no:focus {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.actions .btn-na:focus {
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

textarea {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-family: 'Posten Sans', Arial, sans-serif;
    resize: vertical;
}

/* Tilføjet til style.css */
.review-setup {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.review-setup input {
    padding: 0.6rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 14px;
    flex-grow: 1;
}

#save-report-btn {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#save-report-btn:hover {
    background-color: #ca201c;
}

/* Tilføjet til style.css for landevælger */
.review-setup {
    flex-wrap: wrap;
    /* Gør det muligt for elementer at gå til næste linje */
}

.setup-inputs {
    display: flex;
    gap: 1rem;
    flex-grow: 1;
    /* Sørger for at input-felter tager mest plads */
    min-width: 400px;
    /* Forhindrer at de bliver for små */
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.country-selector label {
    cursor: pointer;
    margin-right: 1rem;
}

#save-report-btn {
    margin-left: auto;
    /* Skubber knappen til højre */
}

/* --- STYLING FOR NY START-SIDE --- */
.landing-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--hds-ui-colors-light-grey-fill);
    padding: 4rem 1rem;
}


.landing-container {
    max-width: 800px;
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--hds-ui-colors-light-grey-stroke);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    margin: 3rem auto;

    /* background-image: url(src/baggrund_sommer.png);
    /* NYT: Centrerer boksen horisontalt og giver luft i toppen */
}

.landing-header .value-props {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    color: #555;
}

.landing-header h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.landing-header p {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.info-box {
    background-color: #eef5ff;
    border-left: 4px solid #4a90e2;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    color: #333;
}

@media (max-width: 768px) {
    .info-box {
        display: none;
    }
}

.form-grid {
    /* Erstat den eksisterende .form-grid med denne */

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    /* Øger den horisontale afstand */
    row-gap: 0;
    /* Nulstiller den vertikale afstand, da .form-group styrer dette */
    margin-bottom: 2rem;
    margin-top: 1%;

}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    border-spacing: 10px;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;

}

.country-selector-landing {
    text-align: center;
    margin-bottom: 2rem;
}

.country-selector-landing strong {
    display: block;
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    background-color: transparent;
    /* Fjern grå baggrund */
    padding: 0;
    margin-top: 10px;
}

.radio-group input[type="radio"] {
    display: none;
    /* Skjul standard radio knapper */
}

.radio-group label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fff;
    border: 2px solid #eee;
    /* Tykkere border */
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}

.radio-group label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

/* Active state for labels */
.radio-group input[type="radio"]:checked+label {
    border-color: var(--primary-color);
    background-color: #ffe6e6;
    /* Lyserød tint */
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(230, 34, 34, 0.15);
}

/* Bemærk: Flag er nu direkte i HTML for at undgå i18n overskrivning */


#start-review-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#start-review-btn:hover {
    background-color: #ca201c;
}

/* --- NY STYLING TIL PROGRESS BAR OG TILBAGE-KNAP --- */

.back-button {
    display: block;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.back-button:hover {
    text-decoration: underline;
}

.progress-container {
    width: 60%;
    margin: 1.5rem auto;
    background-color: #e0e0e0;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

#progress-bar {
    width: 0%;
    height: 12px;
    background-color: var(--hds-colors-base-default);
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}

/* --- STYLING FOR TAK-SIDE OG NYE REVIEW-ELEMENTER --- */

.tak-page {
    background-color: var(--hds-ui-colors-light-grey-fill);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.tak-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem 4rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tak-container h1 {
    font-size: 2.5rem;
    color: #333;
}

.tak-container p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.tak-actions {
    display: flex;
    gap: 1.5rem;
}

.tak-actions button:not(.hds-button) {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#download-report-btn:not(.hds-button) {
    background-color: #f0f0f0;
    ;
    color: #333;
}

#download-report-btn:not(.hds-button):hover {
    background-color: #ca201c;
    color: #f0f0f0;
}

#contact-team-btn:not(.hds-button) {
    background-color: #f0f0f0;
    color: #333;
}

#contact-team-btn:not(.hds-button):hover {
    background-color: #ca201c;
    color: #f0f0f0;
}


/* Styling for Næste/Afslut knap */
.section-footer {
    text-align: right;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.section-footer button:not(.hds-button) {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
}

/* Checkmark for færdige sektioner i menuen */
.sections-nav li.completed::before {
    content: '✅';
    margin-right: 8px;
}

/* Erstat den eksisterende .site-logo-header regel */
.site-logo-header {
    background-color: #fff;
    padding: 1.5rem 2.5rem;
    /* <-- Øget padding for mere luft */
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    box-sizing: border-box;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 10px;

}

.site-logo-header {
    max-height: 28px;
    /* Juster højden efter behov */
    width: auto;
    align-items: center;
}


.landing-page {
    flex-direction: column;
    /* Stabler logo-header og indhold vertikalt */
    justify-content: center;
    /* Centrerer hele blokken vertikalt */
    align-items: center;
    /* Centrerer hele blokken horisontalt */
    background-color: #f9f9f9;
    min-height: 100vh;
    padding: 2rem 1rem;
    box-sizing: border-box;
    /* Sikrer at padding ikke ødelægger layoutet */
}



.tak-page {
    background-color: var(--hds-ui-colors-light-grey-fill);
    display: flex;
    flex-direction: column;
    /* Stabler logo-header og indhold vertikalt */
    justify-content: center;
    /* Centrerer hele blokken vertikalt */
    align-items: center;
    /* Centrerer hele blokken horisontalt */
    min-height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
    /* Sikrer at padding ikke ødelægger layoutet */
}

/* --- OPDATERET STYLING FOR KNAPPER PÅ TAK-SIDEN --- */

.tak-actions-group {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.actions-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tak-actions {
    flex-wrap: wrap;
    justify-content: center;
}

/* Styling for sekundære knapper */
.tak-actions button.btn-secondary:not(.hds-button) {
    background-color: transparent;
    color: #444;
    border: 1px solid #ccc;
}

.tak-actions button.btn-secondary:not(.hds-button):hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

/* --- NY STYLING FOR FEEDBACK OG LIVE SCORE --- */

/* Feltet der viser det seneste svar under et spørgsmål */
.answer-feedback {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
    margin-top: 0.75rem;
    height: 1.2em;
    /* Giver feltet en fast højde, så layoutet ikke hopper */
}

/* Container for score-visning i bunden af sektionen */
.section-score-display {
    font-weight: bold;
    color: #333;
    align-self: center;
    /* Justerer den vertikalt i midten */
}

/* Opdatering til section-footer for at placere score og knap korrekt */
.section-footer {
    display: flex;
    justify-content: space-between;
    /* Placerer score til venstre og knap til højre */
    align-items: center;
}

/* --- STYLING FOR SEKTIONSSCORE I NAV-MENU --- */

/* Gør plads til scoren ved siden af titlen */
.sections-nav li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styling for selve score-teksten */
.section-nav-score {
    font-size: 0.8rem;
    font-weight: bold;
    background-color: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #333;
}

/* Lidt anden farve for scoren når sektionen er aktiv */
.sections-nav li.active .section-nav-score {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* --- STYLING FOR NYE FELTER OG SCREENSHOT VISNING --- */

/* Gør form-grid klar til flere rækker */
.form-grid {
    grid-template-columns: 1fr 1fr;
}

/* Styling for fil-upload knap */
.upload-section {
    text-align: center;
    margin: 2rem 0;
}

.upload-label {
    display: block;
    padding: 0.8rem 1.5rem;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: bold;
}

.upload-label:hover {
    background-color: #e0e0e0;
}

input[type="file"] {
    display: none;
    /* Skjul den grimme standard-knap */
}

#file-name-display {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Styling for review-siden med 3 kolonner */
.review-container-main {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    /* Fordeling af plads mellem kolonner */
    gap: 2rem;
    align-items: flex-start;
    padding: 0 2rem 2rem 2rem;
}

/* Styling for screenshot-kolonnen */
.screenshot-viewer {
    position: sticky;
    /* Låser den fast i toppen, når man scroller */
    top: 2rem;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.screenshot-viewer h2 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
}

.screenshot-viewer img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* --- SCREENSHOT THUMBNAILS --- */
.thumbnail-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}

.thumbnail-list img:hover {
    opacity: 1;
}

.thumbnail-list img.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

/* --- SCREENSHOT MODAL/LIGHTBOX --- */

/* Gør det lille billede klikbart */
.screenshot-viewer #screenshot-image {
    cursor: pointer;
    transition: opacity 0.2s;
}

.screenshot-viewer #screenshot-image:hover {
    opacity: 0.8;
}

/* Selve overlay-baggrunden - FJERNES (BRUGER STANDARD) */


/* Container for billedet for at styre størrelsen */
.modal-content {
    position: relative;
    max-width: 90vw;
    /* Maks 90% af browser-vinduets bredde */
    max-height: 90vh;
    /* Maks 90% af browser-vinduets højde */
}

/* Det store billede i modalen */
#modal-image {
    width: 100%;
    height: auto;
    display: block;
}

/* "Luk"-knappen (X) */
.modal-close-btn {
    position: absolute;
    top: -20px;
    right: 5px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #ccc;
}

/* --- NY STYLING FOR TOP-NAVIGATION (STEPPER) --- */

.review-progress-header {
    background-color: #fff;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}

/* Confirmation modal dialog - FJERNES (BRUGER STANDARD) */


.modal-content-dialog h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.modal-content-dialog p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-actions button:not(.hds-button) {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.1s;
}

.modal-actions button:hover {
    transform: scale(1.02);
}

.modal-actions .btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

.modal-actions .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.stepper-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    cursor: pointer;
}

/* Linjen mellem punkterne */
.stepper-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.stepper-item-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e0e0e0;
    border: 2px solid #e0e0e0;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}

.stepper-item-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    color: #666;
}

/* Styling for aktivt punkt */
.stepper-item.active .stepper-item-dot {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.stepper-item.active .stepper-item-label {
    font-weight: bold;
    color: var(--primary-color);
}

/* Styling for færdigt punkt */
.stepper-item.completed .stepper-item-dot {
    background-color: #28a745;
    /* Grøn farve for færdig */
    border-color: #28a745;
}

.stepper-item.completed .stepper-item-label {
    color: #333;
}

.stepper-item.completed:not(:last-child)::after {
    background-color: #28a745;
    /* Grøn linje mellem færdige punkter */
}

/* Progress bar justeringer */
.progress-container {
    width: 100%;
    margin: 0;
    position: relative;
}

#progress-text {
    position: absolute;
    right: 10px;
    top: -4px;
    font-size: 0.8rem;
    color: #555;
    font-weight: bold;
    align-items: center;
    justify-content: center;
}

.drop-zone__prompt {
    color: #555;
    pointer-events: none;
    /* VIGTIGT: Sikrer at drag/drop events rammer containeren */
    width: 100%;
}

/* --- STYLING FOR SPROGVÆLGER --- */



.nav-link-login {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background 0.2s;
}

.nav-link-login:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.nav-link-login .icon {
    font-size: 1rem;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background-color: #ddd;
    margin: 0 10px;
}

/* --- UPDATED LANGUAGE SWITCHER --- */
.lang-switcher {
    position: relative;
    cursor: pointer;
    /* Sikrer z-index kontekst for pseudo-element */
    isolation: isolate;
}

/* Usynlig bro der lukker hullet mellem knap og menu */
.lang-switcher::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    /* Dækker gappet ned til top: 120% */
    background: transparent;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background 0.2s;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.lang-selected:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.arrow-icon {
    font-size: 0.7rem;
    color: #777;
    margin-left: 2px;
}

.lang-options {
    display: none;
    position: absolute;
    top: 120%;
    /* Lidt afstand fra pill */
    right: 0;
    background-color: white;
    min-width: 160px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px;
    list-style: none;
    z-index: 1001;
    animation: fadeInDropdown 0.2s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-switcher:hover .lang-options {
    display: block;
}

.lang-options li {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition:  0.2s;
    color: #444;
}

.lang-options li:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Mobiltilpasning for floating nav */
@media (max-width: 768px) {
    .floating-nav {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
    
        right: 10px;
        padding: 0.4rem 0.8rem;
    }

    .lang-text {
        display: none;
        /* Skjul tekst, vis kun flag på mobil */
    }

    .nav-link-login {
        font-size: 0;
        /* Skjul "Login" tekst */
    }

    .nav-link-login .icon {
        font-size: 1.2rem;
        /* Vis kun ikon */
        margin: 0;
    }
}

/* Justering af landing-page til at fjerne top-padding */
.landing-page {
    padding-top: 0;
}

/* --- MOBIL/RESPONSIV TILPASNING (Media Queries) --- */

@media (max-width: 768px) {

    /* 1. GENEREL STIL */
    body {
        font-size: 14px;
        /* Lidt mindre tekst generelt */
    }

    .site-logo-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }

    .logo-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* 2. LANDING PAGE */
    .landing-container {
        padding: 1.5rem;
        margin: 1rem;
        width: auto;
    }

    .landing-header h1 {
        font-size: 1.5rem;
    }

    .landing-header .value-props {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        /* Skift til 1 kolonne */
        gap: 1rem;
    }

    .form-group input,
    .form-group select {
        font-size: 16px;
        /* Forhindrer zoom på iPhone */
        padding: 0.8rem;
    }

    .radio-group {
        flex-direction: column;
        /* Stak radio-knapper */
        align-items: flex-start;
        width: 100%;
        box-sizing: border-box;
    }

    .radio-group label {
        margin-bottom: 0.5rem;
        padding: 0.5rem;
        width: 100%;
        /* Øg touch-område */
    }

    .form-actions-centered {
        flex-direction: column;
        /* Stak knapperne */
        width: 100%;
    }

    #start-review-btn,
    .btn-secondary-link {
        width: 100%;
        /* Fuld bredde knapper */
        margin-bottom: 0.5rem;
    }

    /* 3. DASHBOARD */
    .dashboard-container {
        padding: 1rem;
        margin: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .dashboard-filters {
        flex-direction: column;
        /* Filtre under hinanden */
        gap: 0.8rem;
    }

    .filter-input,
    .filter-select,
    #filter-clear {
        width: 100%;
        /* Fuld bredde på inputs */
    }

    .webshop-list-header {
        display: none;
        /* Skjul kolonne-overskrifter på mobil */
    }

    .webshop-item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        position: relative;
        padding: 1.5rem;
    }

    /* Gør knapperne i listen nemmere at ramme */
    .webshop-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .webshop-actions button {
        flex: 1;
        /* Knapper deler pladsen */
        padding: 0.8rem;
    }

    /* 4. MODALS (KUNDEKORT & RAPPORT) */
    .customer-card,
    .report-modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
        overflow-y: auto;
    }

    .customer-details-grid {
        grid-template-columns: 1fr;
        /* 1 kolonne i modal */
    }

    /* 5. REVIEW SIDE */
    .review-container-main {
        grid-template-columns: 1fr;
        /* Stak review og screenshot */
        padding: 1rem;
    }

    /* Flyt screenshot viewer øverst eller gør den mindre dominerende */
    .screenshot-viewer {
        position: static;
        margin-bottom: 2rem;
        max-height: 300px;
        /* Begræns højde */
        overflow-y: auto;
    }

    .review-setup {
        flex-direction: column;
        align-items: stretch;
    }

    .setup-inputs {
        flex-direction: column;
        min-width: auto;
    }

    .country-selector {
        justify-content: center;
        margin-bottom: 1rem;
    }

    /* Stepper Navigation */
    .stepper-nav {
        overflow-x: auto;
        padding-bottom: 10px;
        /* Plads til scrollbar hvis nødvendigt */
    }

    .stepper-item {
        min-width: 80px;
        /* Sikrer at punkter ikke mases sammen */
    }

    /* Tak Side */
    .tak-container {
        padding: 2rem 1rem;
        width: 90%;
    }

    .tak-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .tak-actions .hds-button,
    .tak-actions button {
        width: 100%;
    }
}

.landing-page {
    padding-top: 0;
}

/* --- STYLING FOR RAPPORT-MODAL --- */

/* Sikrer at .modal-overlay stilen (hvis den er global) er tilgængelig */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.modal-close-btn {
    font-size: 2.5rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #fff;
}

/* Selve indholdsboksen til rapporten */
.report-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    height: 90vh;
    /* Tager 90% af skærmhøjden */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    /* Organiserer header og tekst vertikalt */
}

/* Headeren inde i modalen */
.report-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.report-modal-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.report-modal-header div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Download-knappen inde i modalen */
.report-modal-header button:not(.hds-button) {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
}

.report-modal-header .modal-close-btn {
    font-size: 2rem;
    color: #888;
}

.report-modal-header .modal-close-btn:hover {
    color: #333;
}

/* Tekst-området til selve rapporten */
#report-modal-text {
    font-family: 'Courier New', Courier, monospace;
    /* Giver et pænt "råt" look */
    font-size: 0.9rem;
    padding: 1.5rem;
    overflow-y: auto;
    /* Gør den scrollbar, hvis rapporten er lang */
    white-space: pre-wrap;
    /* Respekterer linjeskift */
    background-color: #f9f9f9;
    flex-grow: 1;
    /* Fylder resten af højden */
    line-height: 1.5;
}

/* --- START PÅ NYT SAMLET KNAP-DESIGN --- */
/* Denne blok overskriver de gamle knap-stile */

/* 1. Grundlæggende stil for alle handlings-knapper */
#start-review-btn:not(.hds-button),
.section-footer button:not(.hds-button),
.tak-actions button:not(.hds-button),
#show-report-btn:not(.hds-button),
.report-modal-header button:not(.hds-button) {
    font-family: 'Posten Sans', Arial, sans-serif;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--radius-sm);
    /* Let afrundede hjørner */
    border: 2px solid transparent;
    /* Kant til hover-effekt */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Let skygge */
}

/* Nulstil gammel styling fra .tak-actions */
.tak-actions button:not(.hds-button),
.tak-actions button.btn-secondary:not(.hds-button) {
    background: none;

}



/* 3. Sekundære Knapper (Neutral baggrund) */

#back-to-review-btn:not(.hds-button),
#start-over-btn:not(.hds-button) {
    background-color: #f0f0f0;
    color: #333;
    border-color: #ccc;
}

/* 4. HOVER EFFEKTER */

/* Primære knapper -> bliver MØRKERE RØD */
/* Primære knapper -> bliver MØRKERE RØD */
#start-review-btn:not(.hds-button):hover,
.section-footer button:not(.hds-button):hover,
#download-report-btn:not(.hds-button):hover,
#email-customer-btn:not(.hds-button):hover,
#show-report-btn:not(.hds-button):hover,
#contact-team-btn:not(.hds-button):hover,
#report-modal-download-btn:not(.hds-button):hover {
    background-color: #ca201c;
    border-color: #ca201c;
    color: white;
    /* <--- DEN MANGLENDE LINJE ER TILFØJET HER */
    transform: translateY(-2px);
    /* "Løft"-effekt */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sekundære knapper -> bliver RØDE (som ønsket) */

#back-to-review-btn:not(.hds-button):hover,
#start-over-btn:not(.hds-button):hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    /* "Løft"-effekt */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* 5. JA/NEJ/NA KNAPPER (Disse er specielle og gen-styles) */
.actions button {
    font-family: 'Posten Sans', Arial, sans-serif;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: white;
    color: #333;
    border: 1px solid var(--medium-gray);
    font-weight: normal;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    box-shadow: none;
    /* Ingen skygge her */
}

.actions button:hover {
    background-color: #f4f4f4;
    border-color: var(--dark-gray);
    transform: none;
    /* Ingen løft-effekt her */
    box-shadow: none;
}

.actions button.selected {
    border-width: 2px;
}

.actions .btn-yes.selected {
    background-color: #d4edda;
    border-color: #155724;
}

.actions .btn-no.selected {
    background-color: #f8d7da;
    border-color: #ca201c;
}

.actions .btn-na.selected {
    background-color: #e2e3e5;
    border-color: #383d41;
}

/* --- SLUT PÅ NYT KNAP-DESIGN --- */
/* --- STYLING FOR NYT DASHBOARD --- */

.dashboard-page {
    background-color: var(--hds-ui-colors-light-grey-fill);
    min-height: 100vh;
}

.dashboard-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-header h1 {
    margin: 0;
}

/* Brug .btn-primary stil til dashboardets knap */
.btn-primary-dashboard {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary-dashboard:hover {
    background-color: #ca201c;
    border-color: #ca201c;
    transform: translateY(-2px);
}

.webshop-list-header {
    display: grid;
    grid-template-columns: 2.2fr 1.3fr 2.2fr 2fr;
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    color: var(--gray-600);
    font-size: 0.85rem;
    text-transform: uppercase;
    background: var(--gray-50);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom: 2px solid var(--gray-200);
}

.sortable-header {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sortable-header:hover {
    color: var(--brand-primary);
}

.sortable-header::after {
    content: "↕";
    font-size: 0.7rem;
    opacity: 0.4;
}

.sortable-header.sort-asc::after {
    content: "↑";
    opacity: 1;
}

.sortable-header.sort-desc::after {
    content: "↓";
    opacity: 1;
}

.webshop-list-header div:last-child {
    text-align: right;
    justify-self: end;
}

.webshop-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.webshop-item,
.webshop-item-empty {
    display: grid;
    grid-template-columns: 2.2fr 1.3fr 2.2fr 2fr;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.webshop-item:hover {
    background-color: #fcfcfc;
}

.webshop-item-empty {
    display: block;
    text-align: center;
    color: #888;
}

.webshop-info {
    display: flex;
    flex-direction: column;
}

.webshop-info strong {
    font-size: 1.05rem;
    color: var(--brand-dark);
    margin-bottom: 2px;
}

.webshop-info span a {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-decoration: none;
}

.webshop-info span a:hover {
    text-decoration: underline;
}

.webshop-score {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.score-badges-row, .score-results-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.webshop-score .status-badge,
.webshop-score .badge-count {
    margin: 0;
}

.star-rating {
    display: inline-flex;
    margin-left: 4px;
}

/* --- SLUT PÅ MEDIA QUERIES --- */

.score-stars {
    font-size: 1.2rem;
    color: #f39c12;
}

.score-date {
    font-size: 0.8rem;
    color: #999;
}

.webshop-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    flex-wrap: nowrap; /* Tvinger knapperne til at blive på én linje */
    align-items: center;
}

/* Ensartet knap-styling til dashboardet */
.webshop-actions button {
    font-family: 'Posten Sans', Arial, sans-serif;
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap; /* Sikrer at tekst inde i knappen ikke knækker */
}

.webshop-actions .btn-start-review {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.webshop-actions .btn-start-review:hover {
    background-color: #ca201c;
    border-color: #ca201c;
}

.webshop-actions .btn-view-report,
.webshop-actions .btn-download-report {
    background-color: #f0f0f0;
    color: #333;
    border-color: #ccc;
}

.webshop-actions .btn-view-report:hover,
.webshop-actions .btn-download-report:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* --- STYLING FOR KNAP-GRUPPE PÅ STARTSIDEN --- */

.form-button-group {
    display: flex;
    gap: 1rem;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 2rem;
}

/* Gør 'a'-tagget til at ligne en knap */
.form-button-group a {
    text-decoration: none;
}

/* Definer sekundær knap-stil for startsiden */
#go-to-dashboard-btn {
    background-color: #f0f0f0;
    color: #333;
    border-color: #ccc;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Hover-effekt (bliver rød, som du kan lide) */
#go-to-dashboard-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- STYLING FOR CENTREREDE KNAPPER PÅ STARTSIDEN --- */

.form-actions-centered {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* Stabler knapperne ovenpå hinanden */
    align-items: center;
    /* Centrerer dem horisontalt */
    gap: 1rem;
    /* Skaber plads MELLEM knapperne */
    margin-top: 1.5rem;
    /* Giver luft op til radio-knapperne */
}

/* --- STYLING FOR ENS KNAP-STØRRELSE PÅ STARTSIDEN --- */

/* Denne regel tvinger begge knapper til at have en minimumsbredde.
  Juster '180px' op eller ned, indtil du er tilfreds med størrelsen.
*/
#start-review-btn,
.btn-secondary-link {
    min-width: 180px;
    box-sizing: border-box;
    /* Sikrer at padding/border er inkluderet i bredden */
}

/* --- JURIDISK SAMTYKKE (Opdateret Design) --- */
/* --- JURIDISK SAMTYKKE (Korrekt Centreret) --- */
.legal-consent {
    display: flex;
    align-items: flex-start;
    /* Checkbox bliver i toppen */
    gap: 12px;
    /* Luft mellem checkbox og tekst */

    /* MAGIEN DER CENTRERER */
    margin: 1.5rem auto;
    /* auto skubber den ind i midten */
    width: fit-content;
    /* Gør at boksen krymper ind til indholdet */
    max-width: 500px;
    /* Sikrer at den aldrig bliver for bred */

    padding: 0 10px;
    /* Sikrer lidt luft til kanten på mobiler */
    box-sizing: border-box;
}

/* Checkboxen */
.legal-consent input[type="checkbox"] {
    min-width: 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    /* Finjustering så den flugter med teksten */
    cursor: pointer;
    accent-color: #E32D22;
    /* Posten Bring rød */
}

/* Teksten */
.legal-consent label {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    text-align: left;
    /* Teksten skal læses fra venstre */
    cursor: pointer;
}

/* Linket */
.legal-consent a {
    color: #E32D22;
    text-decoration: underline;
    font-weight: 500;
}

.legal-consent a:hover {
    text-decoration: none;
}

/* --- LOGIN SIDE --- */
.login-page {
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin-top: 3rem;
}

.login-container h1 {
    margin-top: 0;
    color: #333;
}

.login-container p {
    color: #666;
    margin-bottom: 2rem;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

/* Login-knappen bruger nu Hedwig .hds-button (se login.html). De gamle
   .login-container button-regler er fjernet, så de ikke overtrumfer .hds-button. */

/* --- 404-side (flyttet fra inline <style> i 404.html) --- */
.error-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.error-page .robot-icon {
    width: 150px;
    margin-bottom: 30px;
    animation: wobble 2s infinite ease-in-out;
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.error-page .error-title {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 15px;
}

.error-page .error-message {
    font-size: 1.2rem;
    color: var(--hds-ui-colors-dark-grey);
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-message {
    color: #E32D22;
    background-color: #fff0f0;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
    /* Skjult som standard */
    text-align: center;
    border: 1px solid #ffcccc;
}

.back-link {
    display: block;
    margin-top: 2rem;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #333;
}

.star-rating {
    color: #f39c12;
    /* Guld farve */
    font-size: 1.2rem;
    margin: 4px 0;
    letter-spacing: 2px;
}

/* Styling til Dashboard Knapper */
.btn-view-report {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

.btn-view-report:hover {
    background-color: #e0e0e0;
}

.btn-new-review {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-new-review:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- NYE DASHBOARD KNAPPER (AI) --- */

@keyframes pulse-gray {
    0% {
        background-color: #ccc;
    }

    50% {
        background-color: #ddd;
    }

    100% {
        background-color: #ccc;
    }
}

.btn-ai-start {
    background-color: #6C5CE7 !important;
    color: white !important;
    border-color: #6C5CE7 !important;
}

.btn-ai-start:hover {
    background-color: #5b4cc4 !important;
    border-color: #5b4cc4 !important;
    transform: translateY(-2px);
}

.btn-ai-ready {
    background-color: #00643a !important;
    color: white !important;
    border-color: #00643a !important;
    box-shadow: 0 0 10px rgba(0, 184, 148, 0.4);
}

.btn-ai-ready:hover {
    background-color: #00a383 !important;
    transform: translateY(-2px);
}

.btn-analyzing {
    background-color: #ccc !important;
    color: #666 !important;
    border-color: #bbb !important;
    cursor: wait !important;
    animation: pulse-gray 1.5s infinite ease-in-out;
}

.btn-failed {
    background-color: #d63031 !important;
    color: white !important;
    border-color: #d63031 !important;
}

.btn-failed:hover {
    background-color: #c0392b !important;
}

.btn-reset {
    background-color: #ff7675 !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 0.8rem !important;
    margin-left: 5px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.btn-reset:hover {
    background-color: #d63031 !important;
}

.btn-retry {
    background-color: #74b9ff !important;
    color: white !important;
    border-color: #74b9ff !important;
}

.btn-retry:hover {
    background-color: #0984e3 !important;
}

/* --- CIRKULÆR LOADER --- */
.spinner-ring {
    border: 6px solid #f3f3f3;
    /* Lysegrå baggrund */
    border-top: 6px solid var(--primary-color);
    /* Posten rød */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1.5s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- STOP KNAP STYLING --- */
#stop-waiting-btn {
    background-color: white;
    color: #666;
    border: 1px solid #ccc;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 2rem;
}

#stop-waiting-btn:hover {
    background-color: #f9f9f9;
    color: #333;
    border-color: #999;
}

/* --- MULTI-IMAGE UPLOAD --- */
.upload-section-multi {
    margin: 2rem 0;
    text-align: center;
}

.image-upload-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.image-slot {
    display: grid;
    grid-template-columns: 1fr 150px auto;
    gap: 10px;
    align-items: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.image-slot input[type="file"] {
    display: block;
    /* Vis fil-navnet */
    font-size: 0.85rem;
}

.image-slot select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.85rem;
}

.btn-remove-slot {
    background: none;
    border: none;
    color: #d63031;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
}

#add-image-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- SMALL BUTTON SPINNER --- */
.spinner-small {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out;
    cursor: pointer;
}

.toast.success {
    background-color: #00643a;
    border-left: 5px solid #009477;
}

.toast.error {
    background-color: #d63031;
    border-left: 5px solid #b32424;
}

.toast.info {
    background-color: #0984e3;
    border-left: 5px solid #0769b5;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.fade-out {
    animation: fadeOut 0.5s ease-in forwards;
}

@keyframes fadeOut {
    to {
        transform: translateX(20px);
        opacity: 0;
    }
}


/* --- CUSTOMER CARD MODAL --- */
.customer-card {
    max-width: 600px;
    width: 90%;
}

.customer-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.detail-group {
    display: flex;
    flex-direction: column;
}

.detail-group label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 3px;
    font-weight: 600;
}

.detail-group span,
.detail-group a {
    font-size: 1rem;
    color: #333;
}

.detail-group a {
    color: var(--primary-color);
    text-decoration: none;
}


/* --- IMPROVED CUSTOMER CARD --- */
.customer-card {
    background-color: #ffffff;
    /* VIGTIGT: Hvid baggrund */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    /* Dyb skygge */
    padding: 40px;
    /* Mere luft */
    max-width: 700px;
    width: 90%;
    color: #333;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.customer-card h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--dark-gray);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.customer-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    /* Mere afstand mellem felter */
    margin-bottom: 30px;
}

.detail-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    margin-bottom: 8px;
    font-weight: 700;
}

.detail-group span,
.detail-group a {
    font-size: 1.2rem;
    /* Større tekst for læsbarhed */
    font-weight: 400;
    color: #000;
    word-break: break-word;
    /* Undgå at lange emails ødelægger layout */
}

.detail-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 2px solid #f0f0f0;
    padding-top: 25px;
}

.btn-primary {
    background-color: var(--brand-secondary);
    /* Bring grøn (Hedwig) */
    color: #000000;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: var(--brand-primary-hover);
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* --- AI RESULT PAGE (tak-ai.html) --- */
.result-container {
    max-width: 650px;
    margin: 100px auto 40px; /* Mere luft i toppen til floating nav */
    padding: 40px;
    background: rgba(255, 255, 255, 0.95); /* Næsten solid hvid for max læsbarhed */
    backdrop-filter: blur(10px); /* Lækkert premium blur */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: #333;
    position: relative;
    z-index: 1;
}

/* Score Hero */
.score-hero {
    margin-bottom: 40px;
}

.score-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #212529;
}

.score-subtitle {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.score-circle-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
}

.score-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0% 0%, #f1f3f5 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 82%;
    height: 82%;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.score-number {
    position: relative;
    font-size: 3.5rem;
    font-weight: 800;
    color: #212529;
    letter-spacing: -1px;
}

.score-verdict {
    font-size: 1.5rem;
    margin-top: 15px;
    font-weight: 700;
}

/* Improvements List */
.improvements-section {
    text-align: left;
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.improvements-section h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 10px;
}

.improvement-card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid #f1f3f5;
    transition: transform 0.2s ease;
}

.improvement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.improvement-icon {
    font-size: 1.6rem;
    background: #fff4e6;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.improvement-text h4 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
}

.improvement-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
}

/* Actions */
.action-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.action-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
}

.result-footer {
    border-top: 1px solid #eee;
    padding-top: 25px;
}

@media (max-width: 576px) {
    .result-container {
        margin: 80px 15px 30px;
        padding: 25px 20px;
    }
    
    .score-number {
        font-size: 2.8rem;
    }
    
    .score-circle-container {
        width: 150px;
        height: 150px;
    }
}

.btn-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: transform 0.1s;
    width: 100%;
}

.btn-action:active {
    transform: scale(0.98);
}

.btn-action.primary {
    background-color: var(--primary-color);
    /* Bring Rød */
    color: white;
    box-shadow: 0 4px 15px rgba(227, 45, 34, 0.3);
}

.btn-action.secondary {
    background-color: white;
    color: #333;
    border: 2px solid #eee;
}

.btn-link {
    background: none;
    border: none;
    color: #888;
    color: #888;
    cursor: pointer;
    text-decoration: underline;
    color: #888;
    cursor: pointer;
    text-decoration: underline;
}

.btn-link-subtle {
    background: none;
    border: none;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.btn-link-subtle:hover {
    opacity: 1;
    color: #333;
}

/* Gallery Label Select */
.gallery-label-select {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 4px;
    font-size: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

/* --- FILTER BAR STYLING --- */
.dashboard-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-input {
    flex: 2;
    /* Søgefelt tager dobbelt plads */
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.filter-select {
    flex: 1;
    min-width: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    font-size: 0.9rem;
    cursor: pointer;
}


/* =========================================
   MOBILE RESPONSIVENESS (Max-width: 768px)
   ========================================= */

@media (max-width: 768px) {

    /* --- GENERELT --- */
    body {
        font-size: 14px;
        /* Lidt mindre tekst */
    }

    .container,
    .result-container {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    /* --- LANDING PAGE --- */
    .hero-section {
        padding: 2rem 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        /* Stabl input felter */
        gap: 15px;
    }

    /* --- REVIEW SIDE (Kritisk) --- */
    .review-container-main {
        grid-template-columns: 1fr;
        /* Stabl kolonnerne */
        padding: 1rem;
        gap: 1rem;
    }

    /* Flyt screenshot øverst eller gør den mindre */
    .screenshot-viewer {
        position: relative;
        /* Ikke sticky på mobil, det fylder for meget */
        top: 0;
        margin-bottom: 20px;
        order: -1;
        /* Vis screenshot FØR spørgsmål */
    }

    .stepper-nav {
        overflow-x: auto;
        /* Scrollbar hvis mange steps */
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .stepper-item {
        flex-shrink: 0;
        /* Undgå at steps bliver mast */
    }

    /* --- DASHBOARD --- */
    .webshop-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .webshop-info,
    .webshop-score,
    .webshop-actions {
        width: 100%;
        justify-content: space-between;
    }

    .webshop-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Knapper i grid */
        gap: 10px;
    }

    .webshop-actions button {
        width: 100%;
        margin: 0 !important;
    }

    /* FILTER BAR MOBIL */
    .dashboard-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-input,
    .filter-select {
        width: 100%;
    }

    /* --- KUNDEKORT & MODALER --- */
    .modal-content,
    .customer-card {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
        /* Scrollbar hvis den er for høj */
    }

    .customer-details-grid {
        grid-template-columns: 1fr;
        /* 1 kolonne */
        gap: 15px;
    }

    .modal-actions {
        flex-direction: column-reverse;
        /* Knapper under hinanden, Luk nederst */
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* --- TAK AI RESULTAT --- */
    .score-hero h1 {
        font-size: 1.5rem;
    }

    .score-circle-container {
        width: 120px;
        height: 120px;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .improvement-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .improvement-icon {
        margin-bottom: 10px;
    }

    /* --- FIX: UPLOAD & KNAPPER PÅ MOBIL --- */
    .image-slot {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
    }

    .image-slot select {
        width: 100%;
        margin-bottom: 5px;
    }

    .btn-remove-slot {
        align-self: flex-end;
        padding: 10px;
        /* Større touch area */
    }

    .form-button-group,
    .form-actions-centered {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    #start-review-btn,
    #instant-ai-btn,
    .btn-secondary-link {
        width: 100% !important;
        margin: 0 !important;
        display: block;
    }

    .upload-section-multi {
        padding: 0 10px;
        /* Sikrer at label ikke går til kanten */
    }
}

/* --- MODERN DROPZONE --- */
.drop-zone {
    width: 100%;
    max-width: 100%;
    height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Posten Sans', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 3px dashed var(--gray-300);
    /* Neutral stiplet kant (Hedwig) */
    border-radius: var(--radius-md);
    background-color: var(--gray-50);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.drop-zone--over {
    border-color: var(--brand-secondary);
    background-color: var(--bring-tinted);
    /* Bring-grøn når man dragger (Hedwig) */
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.drop-zone__prompt {
    color: #555;
    pointer-events: none;
    /* VIGTIGT: Sikrer at drag/drop events rammer containeren */
    width: 100%;
}

/* --- GALLERY GRID (Premium Card Layout) --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    /* Mere plads til hvert kort */
    gap: 1.5rem;
    /* Mere luft mellem kortene */
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border: 1px solid #eee;
    border-radius: 12px;
    /* Blødere hjørner */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Lækker skygge */
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.gallery-image {
    width: 100%;
    height: 120px;
    /* Lidt højere billede */
    object-fit: cover;
    display: block;
    background-color: #f4f4f4;
}

.gallery-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 28px;
    /* Større knap */
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #cc0000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: transform 0.2s;
}

.gallery-remove:hover {
    transform: scale(1.1);
    background: #fff;
}

.gallery-label-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: none;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    height: 48px;
    /* Godt touch-target */
    cursor: pointer;
    outline: none;
    color: #444;
    font-weight: 500;
}

.gallery-label-select:hover {
    background: #f0f0f0;
}

.gallery-label-select:focus {
    background: #fff;
    color: var(--primary-color);
}

/* --- WIZARD STYLES (Added Feb 2026) --- */

.wizard-container {
    max-width: 700px;
    margin: 4rem auto;
    padding: 2rem;
    min-height: 500px;
    /* Prevent layout jump */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- HEDWIG-STIL HEADER (top-bjælke) --- */
.app-header {
    background: var(--white);
    border-bottom: 3px solid var(--hds-colors-base-default);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 5;
}

.app-header__bar {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-header__logo {
    height: 30px;
    width: auto;
    display: block;
}

.app-header .logo-group {
    gap: 1rem;
    margin: 0;
    justify-content: flex-start;
}

.app-header__product {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-dark);
    letter-spacing: -0.01em;
    padding-left: 0.9rem;
    margin-left: 0.9rem;
    border-left: 1px solid var(--hds-ui-colors-light-grey-stroke);
}

@media (max-width: 600px) {
    .app-header__bar {
        padding: 0.7rem 1rem;
    }

    /* Skjul produktnavnet på mobil, så den flydende Login/sprog-pille ikke overlapper. */
    .app-header__product {
        display: none;
    }

    .app-header__logo {
        height: 26px;
    }
}

/* --- Wizard-formular: Hedwig-inputs skal fylde grid-kolonnen --- */
.form-grid-wizard .hds-input-group,
.form-grid-wizard .hds-input-group__input-wrapper,
.form-grid-wizard .hds-input-group__input {
    width: 100%;
}

/* --- Input-look som ægte Hedwig (høje, luftige felter, ren kant, firkantede
   hjørner, brand-fokus). Matcher officiel Hedwig-reference. Gælder alle
   hds-input-group (wizard + login) for konsistens. --- */
.hds-input-group .hds-input-group__input-wrapper {
    border: 1px solid var(--hds-ui-colors-dark-grey);   /* ren medium-grå #6e6e6e */
    border-radius: var(--hds-border-radius);            /* 2px — Hedwigs firkantede input */
    background-color: var(--white);
}

.hds-input-group .hds-input-group__input {
    padding: 0.95rem 1rem;                              /* luftig højde (~56px) */
    font-size: 1rem;
    line-height: 1.5;
}

.hds-input-group .hds-input-group__input-wrapper:focus-within {
    border-color: var(--hds-colors-base-default);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--hds-colors-base-default) 18%, transparent); /* blød brand-fokus-ring (følger tema) */
}

.hds-input-group .hds-input-group__label {
    margin-bottom: 0.35rem;
}

/* Wizard-boks: mindre luft/padding på mobil. */
@media (max-width: 600px) {

    .wizard-container,
    .landing-container {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
}

/* Progress Bar */
.wizard-progress {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-bar-track {
    background-color: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    background-color: var(--hds-colors-base-default);
    height: 100%;
    width: 25%;
    /* Default Step 1 */
    transition: width 0.4s ease-in-out;
}

.progress-steps-text {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

/* Steps & Transitions */
.wizard-step {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    /* Hidden by default */
}

.wizard-step.active-step {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInStep 0.4s ease-out forwards;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none !important;
}

/* Typography override for Wizard */
.step-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

/* Form Layouts */
.form-grid-wizard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem 1.5rem;
}

@media (min-width: 600px) {
    .form-grid-wizard {
        grid-template-columns: 1fr 1fr;
    }
}

/* Radio Group Vertical (Country Selector) */
.radio-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-group-vertical label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-group-vertical label:hover {
    border-color: #ccc;
    background-color: #fafafa;
}

.radio-group-vertical input[type="radio"]:checked+label {
    border-color: var(--primary-color);
    background-color: #fff0f0;
    font-weight: bold;
}

.radio-group-vertical input[type="radio"] {
    display: none;
}

.flag-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Buttons */
.wizard-actions {
    margin-top: 2rem;
    display: flex;
    align-items: center;
}

.wizard-actions.centered {
    justify-content: center;
    flex-direction: column;
}

.wizard-actions.space-between {
    justify-content: space-between;
    width: 100%;
}

.btn-primary-large {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: var(--radius-sm);
    /* Hedwig: rektangulære knapper (2px) */
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(230, 34, 34, 0.2);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    background-color: #ca201c;
    box-shadow: 0 6px 12px rgba(230, 34, 34, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.btn-ghost {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    color: #333;
    text-decoration: underline;
}

.btn-text {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.btn-text:hover {
    color: #555;
    text-decoration: underline;
}

.trust-signal {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-signal::before {
    content: '⏱️';
    margin-right: 5px;
}

/* --- NEW UI ENHANCEMENTS (Feb 2026) --- */

/* Horizontal Value Props */
.value-props-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.vp-item {
    background-color: #f9f9f9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
    border: 1px solid #eee;
    white-space: nowrap;
}

/* Restored Info Content */
.info-content-restored {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f0f7ff;
    /* Light blue tint */
    border-radius: 12px;
    border-left: 5px solid #4a90e2;
}

.info-content-restored h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-content-restored p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

/* Button Pulse Animation */
@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--hds-colors-base-default) 65%, transparent);
    }

    70% {
        box-shadow: 0 0 0 10px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.pulse-animation {
    animation: pulse-shadow 2s infinite;
    transform: scale(1.05);
    /* Make it slightly larger permanently */
    font-size: 1.3rem;
    /* Increase text size */
}

.pulse-animation:hover {
    animation: none;
    /* Stop pulsing on hover */
    transform: scale(1.1);
    /* Grow even more on hover */
}


/* --- LANGUAGE SWITCHER FIX (Feb 2026) --- */
.lang-switcher {
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 1001;
    /* Ensure it is on top */
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #f9f9f9;
    border-radius: 20px;
    transition: background-color 0.2s;
    border: 1px solid transparent;
}

.lang-selected:hover {
    background-color: #eee;
    border-color: #ddd;
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    /* Wider to accommodate text */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
    display: none;
    /* Hidden by default */
    z-index: 1002;
}

/* Show when open class is added by JS */
.lang-switcher.open .lang-options {
    display: block;
}

.lang-options li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 500;
    color: #333;
}

.lang-options li:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.arrow-icon {
    font-size: 0.7rem;
    color: #888;
    transition: transform 0.2s;
}

.lang-switcher.open .arrow-icon {
    transform: rotate(180deg);
}



.nav-link-login {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link-login:hover {
    color: var(--primary-color);
}

.nav-divider {
    width: 1px;
    height: 20px;
    background-color: #eee;
}

/* --- GLOBAL COMPONENTS --- */

/* Full-screen Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 600px;
}

.loading-video-container {
    display: none; /* Vis kun hvis videoen indlæses via JS */
    width: 100%;
    max-width: 380px;
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border: 1px solid #f0f0f0;
    background: #000; /* Sort baggrund for videoen */
}

.loading-video {
    width: 100%;
    height: auto;
    display: block;
}

.loading-spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.loading-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.loading-title {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.loading-subtitle {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
}

.loading-reassurance {
    display: none;
    margin-top: 20px;
    color: #888;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-in;
}

.loading-stop-btn {
    display: none;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #ccc;
    color: #666;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.loading-stop-btn:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

/* --- UTILITY CLASSES --- */
.text-center { text-align: center; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-600 { max-width: 600px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.bg-light { background-color: #f8f9fa; }
.text-success { color: #00643a; }
.text-muted { color: #888; }
.ml-05 { margin-left: 0.5rem; }

.success-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.manual-subtitle {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

.card-premium-top {
    border-top: 5px solid var(--primary-color);
}

/* Dashboard Action Buttons */
.btn-ai-ready {
    background: #00643a;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.btn-reset-icon {
    background: none;
    border: 1px solid #ccc;
    color: #666;
    margin-left: 5px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-analyzing-spinner {
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: wait;
}

.btn-error-badge {
    background: #d63031;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: help;
    margin-right: 5px;
}

.btn-retry-analysis {
    background: #74b9ff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-start-ai-dashboard {
    background: #6C5CE7;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 5px;
}

.btn-camera-update {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    margin: 0; /* Fjernet margin da flex gap håndterer det */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.shop-link-dashboard {
    cursor: pointer;
    color: #2e2e2e;
    text-decoration: underline;
    text-decoration-color: #ccc;
}

.webshop-dates-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.date-row {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.date-row small {
    background: var(--gray-50);
    color: var(--gray-600);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.date-row small {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   MOBILE OVERRIDES (Ensures they win the cascade)
   ========================================================================== */
@media (max-width: 768px) {
    /* Sprogvælger: Kun flag og pil */
    .lang-switcher .lang-text {
        display: none !important;
    }
    
    .lang-switcher .lang-selected {
        padding: 4px 6px !important;
        gap: 0.2rem !important;
    }

    .nav-divider {
        display: none !important;
    }

    /* USP / Value Props: 2 kolonner */
    .value-props-horizontal {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 0 10px;
    }

    .vp-item {
        white-space: normal !important;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        font-size: 0.8rem !important;
        padding: 5px !important;
    }

    /* Fuld bredde knapper for bedre touch oplevelse */
    .wizard-actions {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .btn-primary, .btn-primary-large, .btn-secondary, .btn-ghost, .btn-text {
        width: 100% !important;
        padding: 14px !important;
        font-size: 1rem !important;
        text-align: center !important;
    }

    .right-group {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Skaler score-hero så den ikke fylder hele skærmen */
    .score-hero {
        padding: 1rem !important;
    }
    
    .score-circle {
        width: 110px !important;
        height: 110px !important;
    }

    .score-number {
        font-size: 1.8rem !important;
    }

    .tak-header h1 {
        font-size: 1.5rem !important;
    }
}

/* Premium Status Badges */
.badge-count {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.badge-count-zero {
    background-color: #fff9db;
    color: #f39c12;
    border: 1px solid #fdf2b1;
}

.badge-count-success {
    background-color: #e3fcef;
    color: #00643a;
    border: 1px solid #c3e6cb;
}

/* Review Upload Placeholder Box */
.review-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border: 2px dashed #e0e0e0;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.review-empty-state i {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.review-empty-state h3 {
    margin-bottom: 10px;
    color: #2d3436;
}

.review-empty-state p {
    color: #636e72;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* --- DASHBOARD STATS & VISUALS --- */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-visuals-container {
    margin-bottom: 2rem;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-top: 10px;
}

.dashboard-charts.hidden {
    display: none;
}

.chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
}

@media (max-width: 768px) {
    .dashboard-charts {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .chart-wrapper {
        height: 250px;
    }
}
/* --- PHASE 5.1: INTERVAL CARDS & FREQUENCY TOGGLE --- */

.volume-selector-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    margin-bottom: 2rem;
    width: 100%;
}

.section-label {
    display: block;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #212529;
    text-align: center;
}

.frequency-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.frequency-toggle {
    display: flex;
    background: #f1f3f5;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #dee2e6;
    gap: 4px;
}

.freq-btn {
    border: none;
    background: transparent;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
}

.freq-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.interval-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.interval-card {
    background: white;
    border: 1px solid #dee2e6; /* Matcher input-felter */
    border-radius: 8px;        /* Matcher input-felter */
    padding: 25px 10px;        /* Reduceret fra 15px til 10px for mere vandret plads */
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;         /* Lidt mere kompakt */
}

.interval-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.interval-card:hover {
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.interval-card.active,
.interval-card[aria-checked='true'] {
    border: 2px solid var(--primary-color); /* Tykkere border ved valg */
    background-color: rgba(0, 184, 148, 0.04);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.12);
    margin: -1px; /* Kompenserer for 2px border så kortet ikke hopper */
}

.card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.interval-card.active .card-check {
    opacity: 1;
    transform: scale(1);
}

.card-range {
    font-size: 1.1rem;        /* Reduceret en smule fra 1.15rem */
    font-weight: 700;
    margin-bottom: 2px;
    color: #212529;
    line-height: 1.2;
    white-space: nowrap;      /* Tvinger tallene på én linje */
    letter-spacing: -0.02em;  /* Strammer tallene lidt op for bedre fit */
}

.card-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.3;
}

/* TABLET LAYOUT */
@media (max-width: 992px) {
    .interval-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE LAYOUT - FIX OVERLAP & ALIGNMENT */
@media (max-width: 576px) {
    .volume-selector-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .section-label {
        text-align: left; /* Venstrestil label på mobil */
        margin-bottom: 1rem;
    }

    .frequency-toggle-container {
        justify-content: flex-start; /* Venstrestil toggle på mobil */
        margin-bottom: 1.5rem;
    }

    .interval-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .interval-card {
        padding: 15px 50px 15px 15px;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .interval-card.active,
    .interval-card[aria-checked='true'] {
        margin: 0; /* Fjern negativ margin på mobil for at undgå overlap */
        border-width: 2px;
    }

    .card-range {
        font-size: 1.05rem;
    }

    .card-check {
        top: 50%;
        right: 15px;
        transform: translateY(-50%) scale(0.5);
    }

    .interval-card.active .card-check {
        transform: translateY(-50%) scale(1);
    }
}/* --- CONSOLIDATED FLOATING NAVIGATION (Production Ready) --- */
.floating-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.floating-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-link-login {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 20px;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: #ddd;
    margin: 0 15px;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

@media (max-width: 576px) {
    .floating-nav {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
    }
}
/* --- UX POLISH: BUTTONS & DIVIDERS --- */

.manual-review-container {
    margin-top: 2rem;
    text-align: center;
}

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #adb5bd;
    font-size: 0.9rem;
    font-weight: 500;
}

.divider-text::before,
.divider-text::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.divider-text span {
    padding: 0 15px;
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 12px 25px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 300px;
}

.btn-secondary-outline:hover {
    border-color: #adb5bd;
    background: #f8f9fa;
    color: #212529;
}

/* Shake animation til fejl */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake-error {
    animation: shake 0.3s ease-in-out 0s 2;
    border-color: #e32d22 !important;
}

.volume-skip-container {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-link-subtle.active-skip {
    color: #00643a;
    font-weight: 700;
    text-decoration: none;
}

/* --- UPLOAD IMPROVEMENTS (MAR 2026) --- */

.example-guide-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-example-guide {
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-example-guide:hover {
    background: #e9ecef;
    border-color: #ced4da;
    color: #212529;
    transform: translateY(-1px);
}

.upload-disclaimer {
    margin-top: 1.5rem;
    padding: 12px;
    background: rgba(227, 45, 34, 0.05);
    border-radius: 8px;
    border-left: 4px solid #E32D22;
    animation: subtle-pulse 3s infinite;
}

.upload-disclaimer p {
    color: #E32D22;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

@keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Example Modal Styling */
.modal-content-guide {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-guide-intro {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: center;
}

.example-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.example-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    width: 100%;
}

.example-item.highlight {
    border: 2px solid #E32D22;
    background: #fffafa;
}

.example-item.highlight p {
    color: #E32D22;
    font-weight: 700;
}

.example-img-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 450px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    cursor: zoom-in;
}

.example-img-wrapper:hover {
    transform: scale(1.02);
}

.example-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.example-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.example-item p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .example-grid {
        grid-template-columns: 1fr;
    }
    
    .example-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        padding: 10px;
    }
    
    .example-img-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.btn-pulse-success {
    animation: pulse-success 2s infinite;
    background-color: #00643a !important; /* Succes grøn */
    border-color: #00643a !important;
    transform: scale(1.05);
}

@keyframes pulse-success {
    0% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 184, 148, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0); }
}

/* --- LIGHTBOX (IMAGE ZOOM) --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.2);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-overlay.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- SITE FOOTER (Trust & Phishing Prevention) --- */
.site-footer {
    background-color: #212121;
    color: #fff;
    padding: 3rem 1.5rem;
    margin-top: auto; /* Sticky footer magic */
    border-top: 4px solid #e32d22; /* Posten Bring Red */
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 24px;
    opacity: 0.9;
    filter: brightness(0) invert(1); /* Gør logoer hvide */
}

.footer-info {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.official-badge {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #00643a; /* Succes grøn for at indikere verificeret status */
}

.copyright {
    font-size: 0.85rem;
    color: #b0b0b0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

