/* Reset og basis styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0058a2;
    --primary-hover: #004d8f;
    --primary-dark: #003f76;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #212529;
    --text-medium: #6c757d;
    --text-light: #adb5bd;
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.\31 51515_container,
.vfd-151515-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

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

.intro {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Info Card - 15-15-15 */
.info-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.step-text {
    font-size: 0.875rem;
    color: var(--text-medium);
    max-width: 150px;
}

.info-arrow {
    font-size: 1.5rem;
    color: var(--text-medium);
}

/* Tabs Navigation */
.tab-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 0;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: var(--bg-white);
    border-radius: 3px;
    padding: 0.5rem;
    box-shadow: var(--shadow);
}

.tab-button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

/* Content Area */
.content-area,
.vfd-content-area {
    background-color: var(--bg-white);
    border-radius: 3px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-area .\31 51515_h2,
.vfd-content-area .vfd-151515-h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), rgba(74, 144, 226, 0.3)) 1;
    display: inline-block;
    width: 100%;
}

.opgave-tekst,
.vfd-opgave-tekst {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 88, 162, 0.06), rgba(0, 88, 162, 0.12));
    padding: 1rem 1.5rem;
    border-radius: 3px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tab-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.exercise-placeholder {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

.exercise-placeholder p {
    color: var(--text-medium);
    font-style: italic;
}

/* Modal Popup */
.vfd-content .modal-overlay,
.vfd-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.vfd-content .modal-overlay.vfd-active,
.vfd-modal-overlay.vfd-active {
    display: flex;
}

.vfd-content .modal-content,
.vfd-modal-content {
    background-color: var(--bg-white);
    border-radius: 16px;
    max-width: 750px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.vfd-content .modal-close,
.vfd-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.vfd-content .modal-close:hover,
.vfd-modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.vfd-content .modal-close:focus-visible,
.vfd-modal-close:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.vfd-content .modal-body,
.vfd-modal-body {
    padding: 2.5rem;
}

.vfd-content .modal-product-header,
.vfd-modal-product-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.vfd-content .modal-product-icon,
.vfd-modal-product-icon {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.vfd-content .modal-product-name,
.vfd-modal-product-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.vfd-content .modal-product-category,
.vfd-modal-product-category {
    font-size: 1.125rem;
    color: var(--text-medium);
    text-transform: capitalize;
}

.vfd-content .modal-info-grid,
.vfd-modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.vfd-content .info-row,
.vfd-info-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.vfd-content .info-label,
.vfd-info-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.vfd-content .info-value,
.vfd-info-value {
    color: var(--text-medium);
    font-size: 1.125rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: right;
}

.vfd-content .info-value.highlight,
.vfd-info-value.vfd-highlight {
    font-weight: 600;
    color: var(--primary-color);
}

.vfd-content .info-badge,
.vfd-info-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.vfd-content .badge-hurtig,
.vfd-badge-hurtig {
    background-color: #dcfce7;
    color: #166534;
}

.vfd-content .badge-middel,
.vfd-badge-middel {
    background-color: #fef3c7;
    color: #92400e;
}

.vfd-content .badge-langsom,
.vfd-badge-langsom {
    background-color: #fee2e2;
    color: #991b1b;
}

.vfd-content .badge-ingen,
.vfd-badge-ingen {
    background-color: #f1f5f9;
    color: #475569;
}

.vfd-content .badge-flydende,
.vfd-badge-flydende {
    background-color: #dbeafe;
    color: #1e40af;
}

.vfd-content .badge-fast,
.vfd-badge-fast {
    background-color: #e0e7ff;
    color: #3730a3;
}

.vfd-content .badge-semi,
.vfd-badge-semi {
    background-color: #fce7f3;
    color: #9f1239;
}

/* Øvelse 2: scenarier (intro over container) */
#scenarier .scenarier-tagline,
.vfd-scenarier-tagline {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-medium);
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.vfd-content .scenario-exercise-intro,
.vfd-scenario-exercise-intro {
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    padding: 0;
}

.vfd-content .scenario-exercise-intro__summary,
.vfd-scenario-exercise-intro__summary {
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.65rem 1rem;
    cursor: pointer;
    list-style: none;
}

.vfd-content .scenario-exercise-intro__summary::-webkit-details-marker,
.vfd-scenario-exercise-intro__summary::-webkit-details-marker {
    display: none;
}

.vfd-content .scenario-exercise-intro__body,
.vfd-scenario-exercise-intro__body {
    padding: 0 1rem 1rem 1rem;
    border-top: 1px solid var(--border-color);
}

.vfd-content .scenario-exercise-intro__body p,
.vfd-scenario-exercise-intro__body p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin: 0.75rem 0 0 0;
    line-height: 1.55;
}

/* Scenarier */
.vfd-content .scenario-container,
.vfd-scenario-container {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.vfd-content .scenario-header,
.vfd-scenario-header {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.1rem;
    border-bottom: 2px solid var(--border-color);
}

.vfd-content .scenario-header-top,
.vfd-scenario-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.vfd-content .scenario-header h3,
.vfd-scenario-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.vfd-content .scenario-score,
.vfd-scenario-score {
    flex-shrink: 0;
    background-color: rgba(5, 150, 105, 0.12);
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.35);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

.vfd-content .scenario-score span,
.vfd-scenario-score span {
    font-size: 0.95rem;
    font-weight: 700;
}

.vfd-content .scenario-progress-row,
.vfd-scenario-progress-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vfd-content .scenario-progress-label,
.vfd-scenario-progress-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
}

.vfd-content .scenario-progress-track,
.vfd-scenario-progress-track {
    height: 6px;
    width: 100%;
    background: var(--bg-light);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.vfd-content .scenario-progress-bar,
.vfd-scenario-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    transition: width 0.35s ease;
}

.vfd-content .scenario-body,
.vfd-scenario-body {
    margin-bottom: 2rem;
}

.vfd-content .scenario-story,
.vfd-scenario-story {
    max-width: 65ch;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(165deg, #faf8f5 0%, #f3f4f6 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.vfd-content .scenario-story-label,
.vfd-scenario-story-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.vfd-content .scenario-story-text,
.vfd-scenario-story-text {
    font-size: 1.28rem;
    line-height: 1.72;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
}

.vfd-content .scenario-prompt,
.vfd-scenario-prompt {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.55;
    margin: 0 0 0.35rem 0;
    padding-top: 0.25rem;
    border-top: 2px solid rgba(0, 88, 162, 0.15);
    max-width: 65ch;
}

.vfd-content .scenario-choices-heading,
.vfd-scenario-choices-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.25rem 0 0.65rem 0;
    letter-spacing: 0.02em;
}

.vfd-content .scenario-choices,
.vfd-scenario-choices {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
    justify-content: center;
}

@keyframes scenarioChoiceIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vfd-content .scenario-choices--animate .choice-card,
.vfd-scenario-choices--animate .vfd-choice-card {
    animation: scenarioChoiceIn 0.38s ease backwards;
}

.vfd-content .scenario-choices--animate .choice-card:nth-child(1),
.vfd-scenario-choices--animate .vfd-choice-card:nth-child(1) { animation-delay: 0.04s; }
.vfd-content .scenario-choices--animate .choice-card:nth-child(2),
.vfd-scenario-choices--animate .vfd-choice-card:nth-child(2) { animation-delay: 0.09s; }
.vfd-content .scenario-choices--animate .choice-card:nth-child(3),
.vfd-scenario-choices--animate .vfd-choice-card:nth-child(3) { animation-delay: 0.14s; }
.vfd-content .scenario-choices--animate .choice-card:nth-child(4),
.vfd-scenario-choices--animate .vfd-choice-card:nth-child(4) { animation-delay: 0.19s; }
.vfd-content .scenario-choices--animate .choice-card:nth-child(5),
.vfd-scenario-choices--animate .vfd-choice-card:nth-child(5) { animation-delay: 0.24s; }
.vfd-content .scenario-choices--animate .choice-card:nth-child(6),
.vfd-scenario-choices--animate .vfd-choice-card:nth-child(6) { animation-delay: 0.29s; }

.vfd-content .choice-card,
.vfd-choice-card {
    appearance: none;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.vfd-content .choice-card:hover,
.vfd-choice-card:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
    transform: translateY(-5px);
}

.vfd-content .choice-card:focus-visible,
.vfd-choice-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.vfd-content .choice-card.disabled,
.vfd-choice-card.vfd-disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.vfd-content .choice-card.selected-optimal,
.vfd-choice-card.vfd-selected-optimal {
    border-color: #059669;
    background-color: #d1fae5;
    border-width: 3px;
    opacity: 1;
    cursor: pointer;
}

.vfd-content .choice-card.selected-god,
.vfd-choice-card.vfd-selected-god {
    border-color: var(--success-color);
    background-color: #f0fdf4;
    opacity: 1;
    cursor: pointer;
}

.vfd-content .choice-card.selected-middel,
.vfd-choice-card.vfd-selected-middel {
    border-color: var(--warning-color);
    background-color: #fffbeb;
    opacity: 1;
    cursor: pointer;
}

.vfd-content .choice-card.selected-darlig,
.vfd-choice-card.vfd-selected-darlig {
    border-color: var(--danger-color);
    background-color: #fef2f2;
    opacity: 1;
    cursor: pointer;
}

.vfd-content .choice-icon,
.vfd-choice-icon {
    font-size: 2.7rem;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
}

.vfd-content .choice-text,
.vfd-choice-text {
    width: 100%;
}

.vfd-content .choice-name,
.vfd-choice-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.vfd-content .choice-info,
.vfd-choice-info {
    font-size: 0.875rem;
    color: var(--text-medium);
    display: none;
}

.vfd-content .scenario-feedback,
.vfd-scenario-feedback {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.vfd-content .feedback-icon,
.vfd-feedback-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.vfd-content .scenario-feedback h4,
.vfd-scenario-feedback h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.vfd-content .scenario-feedback p,
.vfd-scenario-feedback p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.vfd-content .btn-next,
.vfd-btn-next {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: .25rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vfd-content .btn-next:hover,
.vfd-btn-next:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.vfd-content .btn-next:focus-visible,
.vfd-content .btn-evaluate:focus-visible,
.vfd-content .btn-back:focus-visible,
.vfd-content .pagination-btn:focus-visible,
.vfd-content .btn-try-again:focus-visible,
.vfd-content .btn-change-variant:focus-visible,
.vfd-content .nodkit-card:focus-visible,
.vfd-content .nodkit-product-card:focus-visible,
.vfd-content .selection-slot:focus-visible,
.vfd-content .selected-product-item:focus-visible,
.vfd-btn-next:focus-visible,
.vfd-btn-evaluate:focus-visible,
.vfd-btn-back:focus-visible,
.vfd-pagination-btn:focus-visible,
.vfd-btn-try-again:focus-visible,
.vfd-btn-change-variant:focus-visible,
.vfd-nodkit-card:focus-visible,
.vfd-nodkit-product-card:focus-visible,
.vfd-selection-slot:focus-visible,
.vfd-selected-product-item:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Kend dine kulhydrater - Drag and Drop */
.products-area {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.products-area.drag-over {
    background-color: #eff6ff;
    border-color: var(--primary-color);
    border-style: solid;
}

.loading-text {
    color: var(--text-medium);
    font-style: italic;
    text-align: center;
    width: 100%;
}

.product-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    width: 86px;
    text-align: center;
    cursor: grab;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    position: relative;
    user-select: none;
    touch-action: none;
}

.product-card:active {
    cursor: grabbing;
}

.product-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    cursor: grabbing;
}

.product-card.correct {
    border-color: var(--success-color);
    background-color: #f0fdf4;
}

.product-card.incorrect {
    border-color: var(--danger-color);
    background-color: #fef2f2;
}

/* Kompakt mode når i drop zone */
.product-card.compact {
    width: auto;
    min-width: 60px;
    padding: 0.4rem 0.6rem;
}

.product-card.compact .product-image {
    display: none;
}

.product-card.compact .product-name {
    font-size: 0.735rem;
}

.product-image {
    width: 52px;
    height: 52px;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin: 0 auto 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid var(--border-color);
}

.food-img {
    object-fit: contain;
    padding: 6%;
    box-sizing: border-box;
}

.product-image .food-img {
    width: 100%;
    height: 100%;
}

.nodkit-product-emoji .food-img {
    width: 2.16rem;
    display: block;
    margin: 0 auto;
}

.modal-product-icon .food-img {
    width: 4.5rem;
    height: 4.5rem;
}

.choice-icon .food-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 0;
    flex-shrink: 0;
}

.selection-slot-emoji .food-img {
    width: 2.25rem;
    display: block;
    margin: 0 auto;
}

.food-img-fallback {
    display: inline-block;
    line-height: 1;
}

.selected-product-emoji .food-img {
    width: 1.35rem;
    height: 1.35rem;
    vertical-align: middle;
}

.product-name {
    font-size: 0.735rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
}

.checkmark {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    box-shadow: var(--shadow);
}

.product-card.correct .checkmark {
    display: flex;
}

.crossmark {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: var(--danger-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.product-card.incorrect .crossmark {
    display: flex;
}

/* Drop Zones */
.drop-zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.drop-zone {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
}

.drop-zone h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.zone-description {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.drop-area {
    background-color: var(--bg-white);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    min-height: 150px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-content: flex-start;
    transition: all 0.3s ease;
}

.drop-area.drag-over {
    background-color: #eff6ff;
    border-color: var(--primary-color);
    border-style: solid;
}

/* Responsive Design */
@media (max-width: 768px) {
    .\31 51515_container,
    .vfd-151515-container {
        padding: 1rem 0.5rem;
    }

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

    .info-card {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-arrow {
        transform: rotate(90deg);
    }

    .tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .content-area,
    .vfd-content-area {
        padding: 1.5rem;
    }

    .content-area .\31 51515_h2,
    .vfd-content-area .vfd-151515-h2 {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
    }

    .opgave-tekst,
    .vfd-opgave-tekst {
        font-size: 1.125rem;
        padding: 0.875rem 1rem;
    }

    .drop-zones {
        grid-template-columns: 1fr;
    }

    .products-area {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .product-card {
        width: 72px;
    }

    .product-card.compact {
        min-width: 60px;
    }

    .product-image {
        width: 43px;
        height: 43px;
        font-size: 1.35rem;
    }
    
    .product-name {
        font-size: 0.63rem;
    }

    .drop-area {
        min-height: 120px;
        padding: 0.5rem;
        gap: 0.4rem;
    }

    /* Modal responsive */
    .modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-product-icon {
        font-size: 4rem;
    }
    
    .modal-product-name {
        font-size: 1.5rem;
    }

    /* Scenarier responsive */
    .scenario-container {
        padding: 1.5rem;
    }

    .scenario-header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .scenario-score {
        align-self: flex-start;
    }

    .scenario-header h3 {
        font-size: 1.25rem;
    }

    .scenario-story {
        padding: 1rem 1.1rem;
    }

    .scenario-story-text {
        font-size: 1.12rem;
        line-height: 1.68;
    }

    .scenario-prompt {
        font-size: 1rem;
    }

    .scenario-choices {
        flex-wrap: wrap;
    }

    .choice-card {
        padding: 0.75rem;
        min-width: 120px;
        max-width: 150px;
    }

    .choice-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        padding: 5px;
    }

    .choice-name {
        font-size: 0.875rem;
    }
}

/* ============================================
   NØDKIT ØVELSE
   ============================================ */

.vfd-content .nodkit-container,
.vfd-nodkit-container {
    width: 100%;
}

/* Variant Selector */
.vfd-content .nodkit-selector,
.vfd-nodkit-selector {
    text-align: center;
    padding: 2rem 0;
}

.vfd-content .nodkit-selector h3,
.vfd-nodkit-selector h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.vfd-content .nodkit-cards,
.vfd-nodkit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vfd-content .nodkit-card,
.vfd-nodkit-card {
    appearance: none;
    width: 100%;
    text-align: center;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.vfd-content .nodkit-card:hover,
.vfd-nodkit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.vfd-content .nodkit-card.completed,
.vfd-nodkit-card.vfd-completed {
    border-color: #22c55e;
}

.vfd-content .nodkit-card.completed::after,
.vfd-nodkit-card.vfd-completed::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5rem;
    text-align: center;
}

.vfd-content .nodkit-emoji,
.vfd-nodkit-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.vfd-content .nodkit-card h4,
.vfd-nodkit-card h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.vfd-content .nodkit-card p,
.vfd-nodkit-card p {
    font-size: 0.938rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Builder View */
.vfd-content .nodkit-builder,
.vfd-nodkit-builder {
    width: 100%;
    overflow: hidden;
}

.vfd-content .nodkit-header,
.vfd-nodkit-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.vfd-content .nodkit-header h3,
.vfd-nodkit-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 0;
}

.vfd-content .btn-back,
.vfd-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: .375rem .75rem;
    border-radius: .25rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    line-height: 1.5;
}

.vfd-content .btn-back .pagination-arrow,
.vfd-btn-back .vfd-pagination-arrow {
    background: transparent;
    color: inherit;
}

.vfd-content .btn-back:hover,
.vfd-btn-back:hover {
    background: #e2e6ea;
    border-color: #dae0e5;
    color: #6c757d;
}

.vfd-content .nodkit-description,
.vfd-nodkit-description {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: left !important;
    text-justify: none !important;
}

.vfd-content .nodkit-description h4,
.vfd-nodkit-description h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.vfd-content .nodkit-kriterier,
.vfd-nodkit-kriterier {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 88, 162, 0.08);
    border-left: 3px solid var(--primary-color);
    border-radius: 3px;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Selected Products */
.vfd-content .nodkit-selected,
.vfd-nodkit-selected {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.vfd-content .nodkit-selected h4,
.vfd-nodkit-selected h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.vfd-content .nodkit-selection,
.vfd-nodkit-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vfd-content .selection-slot,
.vfd-selection-slot {
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    padding: 1.5rem 1rem;
    width: 100%;
    appearance: none;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.875rem;
    background: var(--bg-light);
    transition: all 0.2s ease;
}

.vfd-content .selection-slot:disabled,
.vfd-selection-slot:disabled {
    cursor: default;
}

.vfd-content .selection-slot:not(:disabled),
.vfd-selection-slot:not(:disabled) {
    cursor: pointer;
}

.vfd-content .selection-slot.filled,
.vfd-selection-slot.vfd-filled {
    border-style: solid;
    border-color: var(--primary-color);
    background: white;
    color: var(--text-dark);
}

.vfd-content .selection-slot-emoji,
.vfd-selection-slot-emoji {
    font-size: 2.7rem;
    margin-bottom: 0.5rem;
}

.vfd-content .selection-slot-name,
.vfd-selection-slot-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.vfd-content .selection-slot-remove,
.vfd-selection-slot-remove {
    font-size: 0.75rem;
    color: var(--danger-color);
    cursor: pointer;
    margin-top: 0.5rem;
}

.vfd-content .selection-slot-remove:hover,
.vfd-selection-slot-remove:hover {
    text-decoration: underline;
}

.vfd-content .btn-evaluate,
.vfd-btn-evaluate {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: .25rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vfd-content .btn-evaluate:disabled,
.vfd-btn-evaluate:disabled {
    background: var(--border-light);
    color: var(--text-light);
    cursor: not-allowed;
}

.vfd-content .btn-evaluate:not(:disabled):hover,
.vfd-btn-evaluate:not(:disabled):hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Products Grid */
.vfd-content .nodkit-products,
.vfd-nodkit-products {
    margin-top: 2rem;
    width: 100%;
    overflow: hidden;
}

.vfd-content .nodkit-products h4,
.vfd-nodkit-products h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.vfd-content .nodkit-products-grid,
.vfd-nodkit-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    grid-auto-rows: auto;
    grid-template-rows: repeat(2, auto);
    width: 100%;
    overflow: visible;
}

.vfd-content .nodkit-pagination,
.vfd-nodkit-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.vfd-content .pagination-btn,
.vfd-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
    padding: .375rem .75rem;
    border-radius: .25rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    line-height: 1.5;
}

.vfd-content .pagination-arrow,
.vfd-pagination-arrow {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.vfd-content .pagination-btn:hover:not(:disabled),
.vfd-pagination-btn:hover:not(:disabled) {
    color: #fff;
    background: #6c757d;
    border-color: #6c757d;
}

.vfd-content .pagination-btn:disabled,
.vfd-pagination-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#vfd-page-indicator {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
    text-align: center;
    flex: 1;
}

.vfd-content .nodkit-product-card,
.vfd-nodkit-product-card {
    appearance: none;
    width: 100%;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.vfd-content .nodkit-product-card:hover,
.vfd-nodkit-product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vfd-content .nodkit-product-card.selected,
.vfd-nodkit-product-card.vfd-selected {
    border: 3px solid #059669;
    background: #d1fae5;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.vfd-content .nodkit-product-card.disabled,
.vfd-nodkit-product-card.vfd-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vfd-content .nodkit-product-emoji,
.vfd-nodkit-product-emoji {
    font-size: 2.5rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.vfd-content .nodkit-product-name,
.vfd-nodkit-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.vfd-content .nodkit-product-main,
.vfd-nodkit-product-main {
    display: block;
    line-height: 1.3;
}

.vfd-content .nodkit-product-amount,
.vfd-nodkit-product-amount {
    display: block;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.88em;
    white-space: normal;
    line-height: 1.3;
}

.vfd-content .nodkit-product-egnethed,
.vfd-nodkit-product-egnethed {
    font-size: 0.75rem;
    color: var(--warning-color);
}

.vfd-content .nodkit-product-info,
.vfd-nodkit-product-info {
    font-size: 0.75rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

/* Results View */
.vfd-content .nodkit-results,
.vfd-nodkit-results {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.vfd-content .nodkit-results-header,
.vfd-nodkit-results-header {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.vfd-content .nodkit-results-emoji,
.vfd-nodkit-results-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.vfd-content .nodkit-results-title,
.vfd-nodkit-results-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.vfd-content .nodkit-results-intro,
.vfd-nodkit-results-intro {
    font-size: 1.41rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
}

.vfd-content .nodkit-selected-products,
.vfd-nodkit-selected-products {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.vfd-content .nodkit-selected-products h4,
.vfd-nodkit-selected-products h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
}

.vfd-content .selected-products-list,
.vfd-selected-products-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vfd-content .selected-product-item,
.vfd-selected-product-item {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 2px solid #d1fae5;
    transition: all 0.2s ease;
    text-align: left;
}

.vfd-content .selected-product-item.clickable,
.vfd-selected-product-item.vfd-clickable {
    cursor: pointer;
}

.vfd-content .selected-product-item.clickable:hover,
.vfd-selected-product-item.vfd-clickable:hover {
    background: white;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.vfd-content .selected-product-emoji,
.vfd-selected-product-emoji {
    font-size: 1.35rem;
}

.vfd-content .selected-product-name,
.vfd-selected-product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.vfd-content .nodkit-results-details,
.vfd-nodkit-results-details {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.vfd-content .nodkit-feedback-section + .nodkit-feedback-section,
.vfd-nodkit-feedback-section + .vfd-nodkit-feedback-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.vfd-content .nodkit-feedback-section h4,
.vfd-nodkit-feedback-section h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.vfd-content .nodkit-feedback-section ul,
.vfd-nodkit-feedback-section ul {
    margin: 0;
    padding: 0;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

.article-wrapper .nodkit-feedback-section ul,
.article-wrapper .vfd-nodkit-feedback-section ul {
    padding-left: 0 !important;
}

.vfd-content .nodkit-feedback-section li,
.vfd-nodkit-feedback-section li {
    position: relative;
    padding-left: 1.1rem;
    margin: 0.45rem 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: var(--text-dark);
}

.vfd-content .nodkit-feedback-section li::before,
.vfd-nodkit-feedback-section li::before {
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.85rem;
    line-height: 1;
}

.vfd-content .nodkit-feedback-section.is-positive li::before,
.vfd-nodkit-feedback-section.vfd-is-positive li::before {
    content: "✓";
    color: #059669;
    font-weight: 700;
}

.vfd-content .nodkit-feedback-section.is-warning li::before,
.vfd-nodkit-feedback-section.vfd-is-warning li::before {
    content: "⚠";
    color: #b45309;
}

.vfd-content .nodkit-feedback-section.is-suggestions li::before,
.vfd-nodkit-feedback-section.vfd-is-suggestions li::before {
    content: "→";
    color: var(--primary-color);
    font-weight: 700;
}

.nodkit-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.nodkit-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nodkit-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.nodkit-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nodkit-category-score {
    font-size: 0.938rem;
    font-weight: 700;
}

.nodkit-category-stars {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.nodkit-category-details {
    font-size: 1.063rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.nodkit-category-details ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    list-style-type: disc;
}

.nodkit-category-details li {
    margin: 0.5rem 0;
    padding-left: 0.5rem;
}

.nodkit-suggestions {
    background: #fffbeb;
    border: 2px solid var(--warning-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.nodkit-suggestions h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.nodkit-suggestions ol {
    margin: 0 0 0 1.5rem;
    padding: 0;
}

.nodkit-suggestions li {
    margin: 0.5rem 0;
    font-size: 0.938rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.vfd-content .nodkit-actions,
.vfd-nodkit-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.vfd-content .nodkit-actions button,
.vfd-nodkit-actions button {
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vfd-content .btn-try-again,
.vfd-btn-try-again {
    background: var(--primary-color);
    color: white;
    border: none;
}

.vfd-content .btn-try-again:hover,
.vfd-btn-try-again:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.vfd-content .btn-change-variant,
.vfd-btn-change-variant {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.vfd-content .btn-change-variant:hover,
.vfd-btn-change-variant:hover {
    background: var(--bg-light);
}

/* Responsive - Medium screens (tablets) */
@media (max-width: 1200px) {
    .nodkit-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
        gap: 0.65rem;
    }
}

/* Responsive - Small screens (mobile) */
@media (max-width: 768px) {
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    #main-reader-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #main-reader-content.col-sm-12.col-lg-8.col-xl-9,
    #main-reader-content .col-md-12.col-lg-12.col-xl-8 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .opgave-desktop,
    .nodkit-desktop-title {
        display: none;
    }

    .nodkit-mobile-title {
        display: inline;
    }

    .nodkit-mobile-hint {
        display: block;
        font-size: 0.72rem;
        color: var(--text-medium);
        line-height: 1.35;
        margin-top: 0.2rem;
    }

    .nodkit-selector > h3 {
        display: none;
    }

    .nodkit-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .nodkit-card {
        padding: 1rem 0.75rem;
    }

    .nodkit-emoji {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }

    .nodkit-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .nodkit-card .nodkit-desktop-hint {
        display: none;
        font-size: 0.8rem;
    }

    .nodkit-selector h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .nodkit-selector {
        padding: 1rem 0;
    }
    
    .nodkit-selection {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .selection-slot {
        padding: 0.5rem 0.25rem;
        min-height: 70px;
        font-size: 0.75rem;
    }

    .selection-slot-emoji {
        font-size: 1.75rem;
        margin-bottom: 0.2rem;
    }

    .selection-slot-name {
        font-size: 0.7rem;
    }

    .selection-slot-desc {
        display: none;
    }

    .selection-slot-remove {
        font-size: 0.65rem;
        margin-top: 0.2rem;
    }
    
    .nodkit-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem;
    }
    
    .nodkit-product-emoji {
        font-size: 1.62rem;
        height: 1.9rem;
    }

    .nodkit-product-emoji .food-img {
        width: 1.8rem;
        height: 1.8rem;
    }
    
    .nodkit-product-name {
        font-size: 0.9rem;
        line-height: 1.25;
    }

    .nodkit-product-amount {
        font-size: 0.92em;
    }

    .nodkit-product-main {
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nodkit-product-amount {
        margin-top: 0;
    }

    .nodkit-product-card {
        min-height: 92px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    
    .nodkit-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .nodkit-actions button {
        width: 100%;
    }
    
    .selected-products-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .selected-product-item {
        justify-content: flex-start;
    }

    .pagination-btn,
    .btn-back {
        font-size: 0.875rem;
        padding: .25rem .5rem;
    }

    .nodkit-results {
        max-width: none;
        margin: 0;
    }

    .nodkit-results-header,
    .nodkit-selected-products,
    .nodkit-results-details {
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .nodkit-selected-products {
        padding: 15px;
        margin-bottom: 0.75rem;
    }

    .nodkit-results-details {
        padding: 15px;
        margin-bottom: 1rem;
    }

    .nodkit-feedback-section h4 {
        font-size: 1rem;
        margin-bottom: 0.45rem;
    }

    .nodkit-feedback-section li {
        font-size: 0.95rem;
        margin: 0.35rem 0;
    }

    .pagination-btn {
        background: #e7f1fb;
        color: var(--primary-color);
        border-color: #9fc4e8;
        font-weight: 600;
    }

    .pagination-btn:hover:not(:disabled) {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff;
    }

    .nodkit-description {
        padding: 1rem;
    }
}

@media (min-width: 769px) {
    .opgave-mobile,
    .nodkit-mobile-title,
    .nodkit-mobile-hint {
        display: none;
    }

    .nodkit-desktop-title {
        display: inline;
    }
}

.vfd-content .open-new-tab-bar,
.vfd-open-new-tab-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.vfd-content .btn-open-new-tab,
.vfd-btn-open-new-tab {
    font-size: 0.75rem;
    color: var(--text-medium);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: .25rem;
    background: white;
    transition: color .15s ease, border-color .15s ease;
}

.vfd-content .btn-open-new-tab:hover,
.vfd-btn-open-new-tab:hover {
    color: var(--text-dark);
    border-color: var(--text-medium);
    text-decoration: none;
}
