/* ========== BASE STYLES ========== */

/* Specifieke variabelen voor leercirkel (shared-base.css definieert de hoofd-variabelen) */
:root {
    --valkuil-color: #ef4444;
    --versterker-color: #10b981;
}

/* Base HTML/Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--js-dark);
    background: #ffffff;
}

/* Layout */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

/* Specifieke Hero aanpassingen voor leercirkel (shared-base.css wordt gebruikt voor basis) */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--js-dark);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    color: var(--js-primary);
}

p {
    color: var(--js-neutral);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.muted {
    color: var(--js-neutral);
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
}

/* Model Intro Styling */
.model-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--js-dark);
    margin-bottom: 2.5rem;
    text-align: center;
}

.model-layers-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.layer-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--js-primary);
    transition: all 0.3s ease;
}

.layer-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.layer-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--js-primary);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1rem;
}

.layer-content {
    flex: 1;
}

.layer-content strong {
    display: block;
    color: var(--js-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.layer-content p {
    color: var(--js-neutral);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.intro-conclusion {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--js-neutral);
    margin-top: 2.5rem;
    text-align: center;
    font-style: italic;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Cards */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card strong {
    color: var(--js-primary);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 1rem;
}

/* Lists */
.list {
    list-style: none;
    padding: 0;
}

.list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--js-neutral);
}

.list li:last-child {
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--js-primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--js-primary);
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

/* App Container */
.app-wrap {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    margin: 2rem 0;
}

/* Interactive Leercirkel */
.leercirkel-interactive {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin: 3rem 0;
}

.circle-wrapper {
    flex: 1;
    max-width: 500px;
}

.interactive-circle {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.circle-svg {
    width: 100%;
    height: auto;
}

.sector-information {
    flex: 1;
    min-width: 300px;
}

.info-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: sticky;
    top: 120px;
    min-height: 400px;
}

#info-title {
    color: var(--js-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#info-content {
    color: var(--js-neutral);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--js-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .wrap {
        padding: 0 1rem;
    }
    
    .leercirkel-interactive {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ========== LEERCIRKEL MODEL SPECIFIC STYLES ========== */

.leercirkel-hero {
    background: linear-gradient(135deg, var(--js-success) 0%, var(--js-primary) 100%);
    color: white;
    min-height: 60vh;
}

.leercirkel-hero .hero-title .text-primary {
    color: white !important;
}

.leercirkel-hero .hero-title .text-dark {
    color: rgba(255, 255, 255, 0.9) !important;
}

.leercirkel-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Split Navigation Cards */
.split-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.split-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.split-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--js-primary), var(--js-success));
    border-radius: 1.5rem 1.5rem 0 0;
}

.split-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.split-card h3 {
    color: var(--js-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.split-card p {
    color: var(--js-neutral);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.split-card .btn {
    margin-top: 1rem;
    min-width: 180px;
    font-weight: 500;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.split-card .btn-secondary {
    background: var(--js-success);
    color: white;
}

.split-card .btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .split-cta {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .split-card {
        padding: 2rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
}

/* Research Foundation */
.research-foundation {
    margin-top: 3rem;
}

.research-foundation h3 {
    text-align: center;
    color: var(--js-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.research-item {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: transform 0.3s ease;
}

.research-item:hover {
    transform: translateY(-2px);
}

.research-author {
    color: var(--js-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.research-topic {
    color: var(--js-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.research-item p {
    color: var(--js-neutral);
    line-height: 1.6;
    font-size: 0.9rem;
}

.bron { font-size: 0.85rem; color: var(--js-neutral); }


/* Learning Circle */
.learning-circle {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.circle-container {
  position: relative;
  width: 500px;
  margin: 0 auto;
}

.circle-svg {
  width: 100%;
  height: auto;
  display: block;
}

.success-factors {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.success-factors h4 {
    color: var(--js-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.success-factors ul {
    list-style: none;
    padding: 0;
}

.success-factors li {
    color: var(--js-neutral);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.success-factors strong {
    color: var(--js-primary);
}



/* Pitfalls */
.pitfalls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pitfall-category {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.pitfall-category h3 {
    color: var(--js-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--js-light);
}

.pitfall-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    border-left: 4px solid var(--js-accent);
}

.pitfall-item:last-child {
    margin-bottom: 0;
}

.pitfall-name {
    font-weight: 600;
    color: var(--js-accent);
    margin-bottom: 0.25rem;
}

.pitfall-description {
    color: var(--js-neutral);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Application Content */
.application-content {
    margin-top: 3rem;
}

.application-strategies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.strategy-phase h3 {
    color: var(--js-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.strategy-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.strategy-item {
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    color: var(--js-neutral);
    line-height: 1.5;
}

.strategy-item strong {
    color: var(--js-primary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.tip-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-2px);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tip-item h4 {
    color: var(--js-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.tip-item p {
    color: var(--js-neutral);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Circle Benefits */
.circle-benefits {
    margin-top: 3rem;
}

.circle-benefits h3 {
    color: var(--js-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    color: var(--js-success);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-text {
    color: var(--js-neutral);
    line-height: 1.5;
}

.benefit-text strong {
    color: var(--js-primary);
}

/* CTA Section */
.cta-content {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--js-success), var(--js-primary));
    border-radius: 1rem;
    color: white;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Context App Styles */
.context-app-container {
    max-width: 1200px;
    margin: 0 auto;
}

.app-instructions {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.app-instructions h3 {
    color: var(--js-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.app-instructions ol {
    color: var(--js-neutral);
    line-height: 1.6;
    padding-left: 1.5rem;
}

.app-instructions li {
    margin-bottom: 0.5rem;
}

/* Flip Cards */
.flip-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.flip-card {
    perspective: 1000px;
    height: 200px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.flip-card-front {
    background: var(--js-primary);
    color: white;
}

.flip-card-back {
    background: var(--js-accent);
    color: white;
    transform: rotateY(180deg);
}

.flip-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.flip-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.flip-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Selection Container */
.selection-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.selection-section {
    margin-bottom: 2rem;
}

.selection-section h3 {
    color: var(--js-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.selection-item {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.selection-item:hover {
    border-color: var(--js-primary);
    transform: translateY(-2px);
}

.selection-item.selected {
    border-color: var(--js-primary);
    background: #f0f9ff;
}

.selection-item.selected.positive {
    border-color: var(--js-success);
    background: #f0fdf4;
}

.selection-item.selected.negative {
    border-color: var(--js-accent);
    background: #fef2f2;
}

.selection-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--js-dark);
}

.selection-item p {
    font-size: 0.9rem;
    color: var(--js-neutral);
    margin: 0;
    line-height: 1.4;
}

/* App Controls */
.app-controls {
    text-align: center;
    margin: 2rem 0;
}

.app-controls .btn {
    margin: 0 0.5rem;
}

/* Report Container */
.report-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--js-light);
}

.report-header h3 {
    color: var(--js-primary);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.report-content {
    color: var(--js-neutral);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.report-content h4 {
    color: var(--js-primary);
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.report-content p {
    margin-bottom: 1rem;
}

/* Next Steps */
.next-steps {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.next-steps h4 {
    color: var(--js-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.step-item {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--js-primary);
}

.step-item h5 {
    color: var(--js-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-item p {
    color: var(--js-neutral);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

/* Single Screen Layout */
.top-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.all-cards-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.all-cards-container h4 {
    color: var(--js-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.all-cards-container p {
    color: var(--js-neutral);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.all-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Drop Zones */
.drop-zone {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.positive-zone {
    border-color: var(--js-success);
    background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
}

.negative-zone {
    border-color: var(--js-accent);
    background: linear-gradient(135deg, #fef2f2 0%, white 100%);
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.zone-header h4 {
    color: var(--js-dark);
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.zone-count {
    background: var(--js-light);
    color: var(--js-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.drop-area {
    min-height: 300px;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.drop-area p {
    color: var(--js-neutral);
    margin: 2rem 0;
    font-style: italic;
}

.drop-area.drag-over {
    border-color: var(--js-primary);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.02);
}

.positive-zone .drop-area.drag-over {
    border-color: var(--js-success);
    background: rgba(34, 197, 94, 0.05);
}

.negative-zone .drop-area.drag-over {
    border-color: var(--js-accent);
    background: rgba(239, 68, 68, 0.05);
}

/* Flip Cards in Single Screen */
.flip-card {
    perspective: 1000px;
    height: 220px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    box-sizing: border-box;
    user-select: none;
}

.flip-card-front {
    background: var(--js-primary);
    color: white;
    cursor: grab;
}

.flip-card-front:active {
    cursor: grabbing;
}

.flip-card-back {
    background: var(--js-accent);
    color: white;
    transform: rotateY(180deg);
    cursor: grab;
}

.flip-card-back:active {
    cursor: grabbing;
}

.flip-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
}

.flip-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.flip-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

/* Draggable state for flip cards */
.flip-card.dragging {
    opacity: 0.6;
    transform: scale(0.95) rotate(3deg);
    z-index: 1000;
}

/* Make flip cards draggable indicators */
.flip-card-front.positive-side,
.flip-card-back.negative-side {
    border: 3px dashed rgba(255, 255, 255, 0.3);
}

.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back {
    transform: scale(1.02);
}

/* Draggable Cards */
.draggable-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.draggable-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--js-primary);
}

.draggable-card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
    cursor: grabbing;
    z-index: 1000;
}

.draggable-card.positive {
    border-color: var(--js-success);
    background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
}

.draggable-card.negative {
    border-color: var(--js-accent);
    background: linear-gradient(135deg, #fef2f2 0%, white 100%);
}

.draggable-card h5 {
    color: var(--js-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.draggable-card p {
    color: var(--js-neutral);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.card-type-indicator {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.card-type-indicator.positive {
    background: var(--js-success);
}

.card-type-indicator.negative {
    background: var(--js-accent);
}

/* Dropped Cards */
.dropped-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.dropped-card {
    background: white;
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    position: relative;
    cursor: pointer;
}

.dropped-card h6 {
    color: var(--js-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.dropped-card p {
    color: var(--js-neutral);
    font-size: 0.7rem;
    line-height: 1.3;
    margin: 0;
}

.remove-card {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--js-accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.remove-card:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Auto Report Generation */
.auto-generating {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    text-align: center;
    border: 2px solid var(--js-primary);
}

.auto-generating h4 {
    color: var(--js-primary);
    margin-bottom: 1rem;
}

.generating-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--js-light);
    border-top: 4px solid var(--js-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Print Styles */
@media print {
    .context-app-container .app-instructions,
    .context-app-container .flip-cards-container,
    .context-app-container .selection-container,
    .context-app-container .app-controls,
    .report-header button {
        display: none !important;
    }
    
    .report-container {
        box-shadow: none;
        border: none;
        padding: 0;
    }
    
    .report-content {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .next-steps {
        background: none;
        border: 1px solid #ddd;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .learning-circle {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flip-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .flip-card {
        height: 180px;
    }
    
    .selection-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .report-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .top-zones {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .all-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .flip-card {
        height: 180px;
    }
    
    .all-cards-container {
        padding: 1rem;
    }
    
    .circle-container {
        order: 2;
        max-width: 350px;
    }
    
    .phase-details {
        order: 1;
        min-height: auto;
    }
    
    .circle-phase {
        width: 100px;
        height: 100px;
        padding: 0.5rem;
    }
    
    .phase-number {
        font-size: 1.25rem;
    }
    
    .phase-title {
        font-size: 0.8rem;
    }
    
    .phase-subtitle {
        font-size: 0.6rem;
    }
    
    .application-strategies {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .pitfalls-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Background Light */
.bg-light {
    background-color: #f8fafc;
}
.ctx-app {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 70vh;   /* optioneel, geeft basisruimte */
  height: auto;       /* niet geforceerd fullscreen */
}




/* Leercirkel Interactive Layout */
.leercirkel-interactive {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  align-items: flex-start;
}

.circle-wrapper {
  flex: 0 0 50%;
  max-width: 500px;
}

.interactive-circle {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}


/* basis */
.sector-path {
  fill: #2563eb;
  cursor: pointer;
  transition: fill 0.25s ease;
}

/* hover: lichter, maar NIET als hij geselecteerd is */
.sector-path:hover:not(.lc-selected) {
  fill: #3b82f6;
}

/* geselecteerd: donkerder (blijft zo, ook bij hover) */
.sector-path.lc-selected,
.sector-path.lc-selected:hover {
  fill: #1e3a8a;
}

/* labels (niet klikbaar, wel meeveren) */
.sector-label {
  font-family: 'Inter', sans-serif;
  fill: #fff;
  font-weight: 600;
  pointer-events: none;
  transition: fill 0.2s ease, font-weight 0.2s ease;
}

/* label van de geselecteerde sector */
.sector-label.lc-selected {
  fill: #ffd400;   /* geel */
  font-weight: 800;
}

/* Sector Information Panel */
.sector-information {
  flex: 1;
  min-width: 300px;
}

.info-container {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(229, 231, 235, 0.8);
  min-height: 400px;
  position: sticky;
  top: 2rem;
}

.info-header h3 {
  color: var(--brand);
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.info-content {
  line-height: 1.6;
  color: #374151;
}

.info-content p {
  margin: 0.75rem 0;
}

.info-content .detail-section {
  margin: 1.5rem 0;
}

.info-content .detail-section h4 {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-content .detail-list {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
}

.info-content .detail-list strong {
  color: var(--brand);
  font-weight: 600;
}






/* ========== INTERACTIEVE OEFENING STYLES ========== */

.oefening-intro {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--js-light);
    border-radius: 12px;
    border-left: 4px solid var(--brand);
}

.oefening-intro h3 {
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.oefening-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin: 2rem 0;
}

.oefening-header {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-info {
    margin-bottom: 1rem;
}

.progress-text {
    font-weight: 600;
    color: var(--js-neutral);
    font-size: 0.9rem;
}

.progress-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 300px;
}

.progress-fill {
    background: var(--brand);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.fase-container {
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.fase-container.active {
    display: block;
}

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

.fase-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 1rem;
}

.fase-nummer {
    display: inline-block;
    background: var(--js-light);
    color: var(--js-neutral);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.vraag {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--js-neutral);
}

.gedrag-keuzes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.gedrag-btn {
    background: white;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gedrag-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gedrag-btn.valkuil {
    border-color: var(--valkuil-color);
}

.gedrag-btn.valkuil:hover {
    background: #fef2f2;
}

.gedrag-btn.versterker {
    border-color: var(--versterker-color);
}

.gedrag-btn.versterker:hover {
    background: #f0fdf4;
}

.gedrag-emoji {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.gedrag-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.valkuil .gedrag-label {
    color: var(--valkuil-color);
}

.versterker .gedrag-label {
    color: var(--versterker-color);
}

.gedrag-uitleg {
    font-size: 0.95rem;
    color: var(--js-dark);
    line-height: 1.5;
    font-style: italic;
    text-align: left;
}

/* Reflectie Styles */
.reflectie-container {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.reflectie-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 2rem;
}

.keuze-overzicht {
    background: var(--js-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.keuze-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.keuze-item:last-child {
    border-bottom: none;
}

.keuze-fase {
    font-weight: 500;
    color: var(--js-dark);
    font-size: 0.9rem;
}

.keuze-gedrag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.score-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.score-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.score-valkuilen {
    border-left: 4px solid var(--valkuil-color);
}

.score-versterkers {
    border-left: 4px solid var(--versterker-color);
}

.score-nummer {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.score-valkuilen .score-nummer {
    color: var(--valkuil-color);
}

.score-versterkers .score-nummer {
    color: var(--versterker-color);
}

.score-label {
    color: var(--js-neutral);
    font-size: 0.85rem;
}

.analyse-box {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.analyse-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 1rem;
}

.analyse-text {
    color: #0c4a6e;
    line-height: 1.6;
}

.tips-box {
    background: #fefce8;
    border: 1px solid #eab308;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.tips-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #a16207;
    margin-bottom: 1rem;
}

.tips-list {
    color: #92400e;
    line-height: 1.6;
    padding-left: 1.2rem;
}

.tips-list li {
    margin-bottom: 0.5rem;
}

.btn-restart {
    transition: all 0.3s ease;
}

.btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Update responsive design for leercirkel */
@media (max-width: 768px) {
  .leercirkel-interactive {
    flex-direction: column;
    gap: 2rem;
  }
  
  .circle-wrapper {
    max-width: 100%;
  }
  
  .sector-information {
    min-width: auto;
  }
  
  .info-container {
    position: static;
    min-height: auto;
  }
  
  .oefening-container {
    padding: 1rem;
  }
  
  .gedrag-keuzes {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .score-box {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .fase-title {
    font-size: 1.2rem;
  }
}

/* ========== FEEDBACK THEORY SECTION ========== */

.feedback-theory-section {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.theory-intro {
  margin-bottom: 2.5rem;
}

.theory-intro h3 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.theory-intro > p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--js-dark);
  margin-bottom: 2rem;
}

.feedback-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feedback-question {
  background: var(--js-light);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  position: relative;
}

.question-number {
  display: inline-block;
  background: var(--brand);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.feedback-question strong {
  display: block;
  color: var(--js-dark);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feedback-levels {
  margin: 2.5rem 0;
}

.feedback-levels h4 {
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feedback-levels > p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.feedback-table {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.feedback-row {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  border-bottom: 1px solid #e5e7eb;
}

.feedback-row:last-child {
  border-bottom: none;
}

.feedback-header {
  background: var(--brand);
  color: white;
  font-weight: 600;
}

.feedback-cell {
  padding: 1rem;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.5;
}

.feedback-cell:last-child {
  border-right: none;
  text-align: center;
}

.feedback-cell em {
  color: var(--js-neutral);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.effectiveness-high {
  background: #f0fdf4;
  color: var(--versterker-color);
  font-weight: 600;
}

.effectiveness-low {
  background: #fef2f2;
  color: var(--valkuil-color);
  font-weight: 600;
}

.feedback-conclusion {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #f0f9ff;
  border-radius: 12px;
  border-left: 4px solid #0ea5e9;
}

.feedback-conclusion p {
  color: #0c4a6e;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.source-reference {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e0f2fe;
}

.source-reference p {
  font-size: 0.9rem;
  color: #64748b !important;
  margin-bottom: 0;
}

/* Responsive voor feedback sectie */
@media (max-width: 768px) {
  .feedback-theory-section {
    padding: 1.5rem;
  }
  
  .feedback-questions {
    grid-template-columns: 1fr;
  }
  
  .feedback-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .feedback-cell {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .feedback-cell:last-child {
    border-bottom: none;
    text-align: left;
  }
  
  .theory-intro h3 {
    font-size: 1.5rem;
  }
  
  .feedback-levels h4 {
    font-size: 1.3rem;
  }
}

/* ========== UITKOMSTEN SECTION ========== */

.uitkomsten-intro {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.uitkomsten-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--js-dark);
  margin-bottom: 1.5rem;
}

.uitkomsten-lijst {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.uitkomsten-lijst li {
  background: var(--js-light);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--brand);
  font-size: 1rem;
}

.uitkomsten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.uitkomst-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uitkomst-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.uitkomst-header {
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  color: white;
  padding: 2rem;
  text-align: center;
}

.uitkomst-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.uitkomst-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.uitkomst-subtitle {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  font-style: italic;
}

.uitkomst-content {
  padding: 2rem;
}

.definitie-box, .stimuleer-box, .zichtbaar-box {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.definitie-box:last-child, .stimuleer-box:last-child, .zichtbaar-box:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.definitie-box h4, .stimuleer-box h4, .zichtbaar-box h4 {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.definitie-box p, .stimuleer-box p, .zichtbaar-box p {
  color: var(--js-dark);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.definitie-box ul, .stimuleer-box ul, .zichtbaar-box ul {
  color: var(--js-dark);
  line-height: 1.6;
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.definitie-box li, .stimuleer-box li, .zichtbaar-box li {
  margin-bottom: 0.5rem;
}

.definitie-box ul li strong, .stimuleer-box ul li strong, .zichtbaar-box ul li strong {
  color: var(--brand);
}

/* ========== INTERACTIVE UITKOMSTEN STYLES ========== */

/* Interactive Container */
.uitkomsten-interactive-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 3rem 0;
}

/* Tab Navigation */
.uitkomsten-tabs {
  display: flex;
  background: var(--js-light);
  border-bottom: 2px solid #e5e7eb;
}

.uitkomst-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  position: relative;
}

.uitkomst-tab:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.uitkomst-tab.active {
  background: white;
  color: var(--brand);
  border-bottom: 3px solid var(--brand);
}

.uitkomst-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
}

.tab-emoji {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.tab-text {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Tab Panels */
.uitkomsten-panels {
  position: relative;
  min-height: 400px;
}

.uitkomst-panel {
  display: none;
  padding: 2rem;
  animation: fadeIn 0.3s ease-in-out;
}

.uitkomst-panel.active {
  display: block;
}

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

/* Panel Header */
.uitkomst-header-panel {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--js-light);
}

.uitkomst-header-panel h3 {
  font-size: 1.8rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.uitkomst-header-panel .uitkomst-subtitle {
  font-size: 1.1rem;
  color: var(--js-neutral);
  font-style: italic;
  margin: 0;
}

/* Collapsible Content */
.uitkomst-content-collapsible {
  margin-top: 2rem;
}

.collapsible-section {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
}

.collapsible-section:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collapsible-header {
  width: 100%;
  background: var(--js-light);
  border: none;
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--js-dark);
  transition: all 0.3s ease;
  position: relative;
}

.collapsible-header:hover {
  background: rgba(59, 130, 246, 0.05);
  color: var(--brand);
}

.collapsible-header.expanded {
  background: var(--brand);
  color: white;
}

.collapsible-header.expanded:hover {
  background: #1d4ed8;
}

.section-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.section-title {
  flex: 1;
  text-align: left;
}

.expand-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  width: 24px;
  text-align: center;
}

.collapsible-header.expanded .expand-icon {
  transform: rotate(45deg);
}

.collapsible-content {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: white;
}

.collapsible-content.expanded {
  max-height: 1000px;
  padding: 1.2rem;
}

.collapsible-content p {
  color: var(--js-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.collapsible-content p:last-child {
  margin-bottom: 0;
}

.collapsible-content ul {
  color: var(--js-dark);
  line-height: 1.6;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.collapsible-content ul:last-child {
  margin-bottom: 0;
}

.collapsible-content li {
  margin-bottom: 0.5rem;
}

.collapsible-content li:last-child {
  margin-bottom: 0;
}

.collapsible-content strong {
  color: var(--brand);
}

/* Responsive voor uitkomsten */
@media (max-width: 768px) {
  .uitkomsten-intro {
    padding: 1.5rem;
  }
  
  .uitkomsten-lijst {
    grid-template-columns: 1fr;
  }
  
  .uitkomsten-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .uitkomst-header {
    padding: 1.5rem;
  }
  
  .uitkomst-emoji {
    font-size: 2rem;
  }
  
  .uitkomst-header h3 {
    font-size: 1.3rem;
  }
  
  .uitkomst-content {
    padding: 1.5rem;
  }

  /* Interactive responsive */
  .uitkomsten-tabs {
    flex-wrap: wrap;
  }
  
  .uitkomst-tab {
    flex: 1 1 50%;
    min-width: 120px;
    padding: 1rem 0.5rem;
  }
  
  .tab-emoji {
    font-size: 1.2rem;
  }
  
  .tab-text {
    font-size: 0.8rem;
  }
  
  .uitkomst-panel {
    padding: 1.5rem;
  }
  
  .uitkomst-header-panel h3 {
    font-size: 1.5rem;
  }
  
  .uitkomst-header-panel .uitkomst-subtitle {
    font-size: 1rem;
  }
  
  .collapsible-header {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .section-icon {
    font-size: 1rem;
  }
  
  .expand-icon {
    font-size: 1.3rem;
  }
  
  .collapsible-content.expanded {
    padding: 1rem;
  }
  
  /* Responsive voor bronnen */
  .bron-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .bron-card {
    padding: 1rem;
  }
  
  .bron-header h3 {
    font-size: 1rem;
  }
  
  .bron-citaat {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

/* Theoretische basis styling */
.bron-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bron-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.bron-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bron-header h3 {
    color: var(--js-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.bron-auteur {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.bron-citaat {
    background: #f8fafc;
    border-left: 4px solid var(--js-primary);
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #475569;
    line-height: 1.6;
}

.bron-link {
    margin-top: 1rem;
}

.bron-link a {
    display: inline-flex;
    align-items: center;
    color: var(--js-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.bron-link a:hover {
    color: var(--js-accent);
}

.bron-link a:before {
    content: "📄";
    margin-right: 0.5rem;
}

/* Reflectie App Styling */
.reflectie-quote {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 1rem;
}

.reflectie-quote blockquote {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

.reflectie-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    font-style: normal;
}

.reflectie-intro {
    text-align: center;
    margin: 2rem 0;
}

.reflectie-intro p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.reflectie-app {
    max-width: 1000px;
    margin: 3rem auto;
}

.reflectie-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: #e2e8f0;
    color: #475569;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: #cbd5e1;
}

.tab-btn.active {
    background: #2563eb;
    color: white;
}

.reflectie-tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: #e2e8f0;
    color: #475569;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.reflectie-tab-btn:hover {
    background: #cbd5e1;
}

.reflectie-tab-btn.active {
    background: #2563eb;
    color: white;
}

.reflectie-content {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.tab-content h3 {
    color: #1e293b;
    margin: 0 0 1.5rem 0;
    text-align: center;
    font-size: 1.3rem;
}

.reflectie-tab-content {
    display: none;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.reflectie-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.reflectie-tab-content h3 {
    color: #1e293b;
    margin: 0 0 1.5rem 0;
    text-align: center;
    font-size: 1.3rem;
}

.reflectie-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: stretch;
}

.reflectie-checklist {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.checklist-header {
    margin-bottom: 2rem;
    text-align: center;
}

.checklist-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.checklist-header p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.student-reflection-container {
    margin: 2rem 0;
    max-width: 100%;
}

.student-reflection-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e0e7ff;
}

.student-reflection-section h4 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1.1rem;
}

.reflection-question-item {
    margin-bottom: 1.5rem;
}

.reflection-question-item:last-child {
    margin-bottom: 0;
}

.reflection-question-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.reflection-question-item textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.reflection-question-item textarea:focus {
    outline: none;
    border-color: var(--js-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.reflection-form {
    width: 100%;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.checklist-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.checklist-item.checked {
    background: #ecfdf5;
    border-color: #10b981;
}

.checklist-item.checked.valkuil {
    background: #fef2f2;
    border-color: #ef4444;
}

.checklist-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    cursor: pointer;
    accent-color: #10b981;
}

.checklist-item.valkuil input[type="checkbox"] {
    accent-color: #ef4444;
}

.checklist-label {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.checklist-item.checked .checklist-label {
    font-weight: 500;
    color: #065f46;
}

.checklist-item.checked.valkuil .checklist-label {
    color: #991b1b;
}

/* Belangrijke opmerking styling */
.belangrijke-opmerking {
    background: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.belangrijke-opmerking strong {
    color: #dc2626;
    font-size: 1.1rem;
}

.instructie {
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #15803d;
    font-weight: 500;
}

/* Ja/Nee response knoppen */
.question-label {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.response-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
}

.response-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}

.response-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.response-btn.active {
    font-weight: 700;
    transform: scale(1.05);
}

.ja-btn.active {
    background: #dcfce7;
    border-color: #22c55e;
    color: #15803d;
}

.nee-btn.active {
    background: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

.checklist-item.ja-selected {
    background: #f0fdf4;
    border-color: #22c55e;
}

.checklist-item.nee-selected {
    background: #fef2f2;
    border-color: #ef4444;
}

.feedback-panel {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.feedback-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1rem;
}

.feedback-header h3 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.2rem;
}

.coach-status {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

.feedback-type-selector {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.feedback-type-selector label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.feedback-type-dropdown {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #cbd5e1;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.95rem;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-type-dropdown:hover {
    border-color: #3b82f6;
}

.feedback-type-dropdown:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.feedback-type-info {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-left: 4px solid #3b82f6;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
}

.feedback-type-info strong {
    color: #1f2937;
}

.feedback-type-info em {
    color: #dc2626;
    font-style: normal;
    font-weight: 600;
}

.feedback-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feedback-section {
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #3b82f6;
}

.feedback-section h4 {
    margin: 0 0 0.75rem 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

.feedback-section p {
    margin: 0;
    color: #374151;
    line-height: 1.5;
    font-size: 0.95rem;
}

.feedback-section ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #374151;
}

.feedback-section li {
    margin: 0.5rem 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

#feedback-section {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

#forward-section {
    background: #f0f9ff;
    border-left-color: #0ea5e9;
}

#up-section {
    background: #f0fdf4;
    border-left-color: #10b981;
}

#actions-section {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

#tips-section {
    background: #fdf4ff;
    border-left-color: #a855f7;
}




.reflectie-actions {
    text-align: center;
    margin-top: 2rem;
    gap: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.reflectie-actions .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* Responsive design voor reflectie app */
@media (max-width: 1024px) {
    .reflectie-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feedback-panel {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .reflectie-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .reflectie-tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .reflectie-checklist,
    .feedback-panel {
        padding: 1.5rem;
    }
    
    .checklist-item {
        padding: 0.75rem;
    }
    
    .reflectie-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .reflectie-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Printstijlen voor de reflectie */
@media print {
    .reflectie-tabs,
    .reflectie-actions {
        display: none;
    }
    
    .reflectie-main {
        grid-template-columns: 1fr;
    }
    
    .feedback-panel {
        position: static;
        box-shadow: none;
        border: 1px solid #000;
    }
    
}

/* ========== TAB SYSTEM CONTAINER ========== */
.tab-system-container {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem 0 1rem;
    margin: 2rem 0;
    border-top: 3px solid var(--js-primary);
    border-bottom: 3px solid var(--js-primary);
}

.tab-system-container .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.tab-system-container .tab-btn {
    padding: 0.875rem 1.5rem;
    border: 2px solid transparent;
    background: white;
    color: var(--js-dark);
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-system-container .tab-btn:hover {
    background: #f8fafc;
    border-color: var(--js-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.tab-system-container .tab-btn.active {
    background: var(--js-primary);
    color: white;
    border-color: var(--js-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Tab Content Styling */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

/* Responsive Tab System */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-system-container .tab-btn {
        width: 100%;
        justify-content: center;
    }
}
/* Antwoordkeuzes en vrije reflectie blijven leesbaar op smalle schermen. */
.reflection-response { display: block; }
.response-buttons { flex-wrap: wrap; }
.response-btn.onzeker-btn.active { background: #e0e7ff; border-color: #4f46e5; color: #312e81; }
.response-btn:focus-visible, .reflectie-app button:focus-visible { outline: 3px solid #4f46e5; outline-offset: 3px; }
.feedback-content p { white-space: pre-wrap; overflow-wrap: anywhere; }
#reflectie-storage-status { color: #475569; font-size: .9rem; margin: 1rem 0; }

body.reflectie-print-open { overflow: hidden; }
#reflectie-print-preview { position: fixed; inset: 0; z-index: 10000; background: white; overflow: auto; padding: 2rem max(1rem, calc((100vw - 800px) / 2)); color: #17212d; font: 1rem/1.6 system-ui, sans-serif; }
#reflectie-print-preview p { white-space: pre-wrap; overflow-wrap: anywhere; }
#reflectie-print-preview h1 { font-size: 1.8rem; margin: 1.5rem 0; }
#reflectie-print-preview h3 { font-size: 1.25rem; margin: 1.25rem 0 .5rem; }
#reflectie-print-preview h4 { margin: 1rem 0 .25rem; }
#reflectie-print-preview .print-controls { display: flex; gap: .75rem; flex-wrap: wrap; }
#reflectie-print-preview button { background: #1d4ed8; color: white; border: 0; border-radius: .4rem; padding: .7rem 1rem; cursor: pointer; }
@media print {
 body.reflectie-print-open { overflow: visible; }
 body.reflectie-print-open > :not(#reflectie-print-preview) { display: none !important; }
 #reflectie-print-preview { position: static; overflow: visible; padding: 0; font: 11pt/1.45 system-ui, sans-serif; }
 #reflectie-print-preview .print-controls { display: none; }
 #reflectie-print-preview section { break-inside: avoid; }
 #reflectie-print-preview h3, #reflectie-print-preview h4 { break-after: avoid; }
}
