:root {
    --primary-color: #e62222;
    /* Posten/Bring Rød */
    --light-gray: #f4f4f4;
    --medium-gray: #ccc;
    --dark-gray: #333;
    --background-color: #fff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: var(--light-gray);
    background-image: url('src/baggrund_sommer.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Låser baggrunden når man scroller */
    background-repeat: no-repeat;
    color: var(--dark-gray);
    min-height: 100vh;
    /* Sikrer at baggrunden altid fylder mindst hele skærmen */
}

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

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;
}

.actions button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    cursor: pointer;
    margin-right: 0.5rem;
    background-color: white;
}

.actions button:hover {
    border-color: var(--dark-gray);
}

.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: 5px;
    font-family: 'Roboto', 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: #c51a1a;
}

/* 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: #f9f9f9;
    padding: 4rem 1rem;
    background-image: url(src/baggrund_sommer.png);

}


.landing-container {
    max-width: 800px;
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    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: #c51a1a;
}

/* --- 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(--primary-color);
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}

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

.tak-page {
    background-image: url('baggrund sommer.jpg');
    background-size: cover;
    background-position: center;
    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 {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#download-report-btn {
    background-color: #f0f0f0;
    ;
    color: #333;
}

#download-report-btn:hover {
    background-color: #c51a1a;
    color: #f0f0f0;
}

#contact-team-btn {
    background-color: #f0f0f0;
    color: #333;
}

#contact-team-btn:hover {
    background-color: #c51a1a;
    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 {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    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-image: url('src/baggrund_sommer.png');
    background-size: cover;
    background-position: center;
    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 {
    background-color: transparent;
    color: #444;
    border: 1px solid #ccc;
}

.tak-actions button.btn-secondary: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 */
.modal-overlay {
    display: none;
    /* Skjult som standard */
    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;
}

/* 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;
}

.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 --- */

/* --- PREMIUM FLOATING NAVIGATION --- */
.floating-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    /* Glass effekt */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Blød skygge */
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

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

.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: background 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;
    }

    .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 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 {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    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,
.section-footer button,
.tak-actions button,
#show-report-btn,
.report-modal-header button {
    font-family: 'Roboto', sans-serif;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    /* 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,
.tak-actions button.btn-secondary {
    background: none;

}



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

#back-to-review-btn,
#start-over-btn {
    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:hover,
.section-footer button:hover,
#download-report-btn:hover,
#email-customer-btn:hover,
#show-report-btn:hover,
#contact-team-btn:hover,
#report-modal-download-btn:hover {
    background-color: #c51a1a;
    border-color: #c51a1a;
    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:hover,
#start-over-btn: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: 'Roboto', 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: 5px;
    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: #c51a1a;
}

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

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

.dashboard-page {
    background-color: #f9f9f9;
    min-height: 100vh;
    background-image: url(src/baggrund_sommer.png);
    background-size: cover;
    background-position: center;
}

.dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.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: #c51a1a;
    border-color: #c51a1a;
    transform: translateY(-2px);
}

.webshop-list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 1rem;
    padding: 0 1rem;
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
}

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

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

.webshop-item,
.webshop-item-empty {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.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.1rem;
    color: #333;
}

.webshop-info span {
    font-size: 0.9rem;
    color: #777;
}

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

/* --- 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.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Ensartet knap-styling til dashboardet */
.webshop-actions button {
    font-family: 'Roboto', sans-serif;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.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: #c51a1a;
    border-color: #c51a1a;
}

.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-container button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}

.login-container button:hover {
    background-color: #c51a1a;
}

.login-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.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: #00b894 !important;
    color: white !important;
    border-color: #00b894 !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: 6px;
    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: #00b894;
    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: #00b894;
    /* Bring grøn */
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #00a180;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    padding: 12px 24px;
    border-radius: 6px;
    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: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Foundry Monoline', 'Roboto', sans-serif;
    text-align: center;
    color: #333;
}

.result-header {
    margin-bottom: 30px;
}

.brand-logo {
    height: 40px;
}

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

.score-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.score-subtitle {
    color: #666;
    margin-bottom: 30px;
}

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

.score-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#00b894 0% 0%, #eee 0% 100%);
    /* Dynamisk via JS */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background 1s ease-out;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    background: white;
    border-radius: 50%;
}

.score-number {
    position: relative;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.score-verdict {
    font-size: 1.4rem;
    color: #00b894;
    font-weight: bold;
}

/* Improvements List */
.improvements-section {
    text-align: left;
    margin-bottom: 40px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
}

.improvements-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.improvement-card {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.improvement-icon {
    font-size: 1.5rem;
    background: #ffecec;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.improvement-text h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.improvement-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

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

.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;
    cursor: pointer;
    text-decoration: underline;
}

/* --- 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: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 3px dashed #4a90e2;
    /* Blå stiplede kant */
    border-radius: 10px;
    background-color: #f8faff;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.drop-zone--over {
    border-color: var(--primary-color);
    background-color: #ffe6e6;
    /* Tydelig rødlig tone når man dragger */
    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);
}