:root {
  --font-base: Arial, sans-serif;
  --line-height: 1.5;

  --color-bg: #ffffff;
  --color-border: #ddd;
  --color-tab-bg: #f1f1f1;

  --layer-professional: #689351;
  --layer-software: #96b9c0;
  --layer-user: #e29c53;
  --layer-infra: #6ea7d4;
  --layer-hardware: #8d9292;
  --layer-org: #d16557;
}
.Software { background: var(--layer-software); }
.Gebruikersinteractie{ background: var(--layer-user); }
.Infrastructuur{ background: var(--layer-infra); }
.Hardware-interfacing{ background: var(--layer-hardware); }
.Organisatieprocessen{ background: var(--layer-org); }

/* Base */
body {
  font-family: var(--font-base);
  line-height: var(--line-height);
  margin: 0;
  padding: 20px;
  background: var(--color-bg);
}
/* Sticky header */

/* Language toggle */
.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 10px;
  user-select: none;
}

.lang-flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
}

.lang-label {
  font-weight: bold;
  font-size: 15px;
}

header,
.tab-container {
  max-width: 90vw;
  margin: 0 auto;
}

/* Tabs */
.tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 -1px 0;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  background-color: var(--color-tab-bg);
  border: 1px solid var(--color-border);
  border-bottom: none;
  margin-right: 5px;
}

.tab.active {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-bg);
  font-weight: bold;
}

/* Content */
.tab-content {
  display: none;
  padding: 5px;
  border: 1px solid var(--color-border);
  border-radius: 0 0 5px 5px;
}

.tab-content.active {
  display: block;
}

/* Layout */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flex-item {
  padding: 10px;
  flex: 1 1 calc(15% - 10px);
  min-width: 150px;
  display: flex;
  flex-direction: column;
}

/* Layer kleuren */
#tab1 .flex-item { border: 4px solid var(--layer-professional); }
#tab2 .flex-item { border: 4px solid var(--layer-software); }
#tab3 .flex-item { border: 4px solid var(--layer-user); }
#tab4 .flex-item { border: 4px solid var(--layer-infra); }
#tab5 .flex-item { border: 4px solid var(--layer-hardware); }
#tab6 .flex-item { border: 4px solid var(--layer-org); }


/* Tab accenten */
#tab-top1 { border-top: 4px solid var(--layer-professional); }
#tab-top2 { border-top: 4px solid var(--layer-software); }
#tab-top3 { border-top: 4px solid var(--layer-user); }
#tab-top4 { border-top: 4px solid var(--layer-infra); }
#tab-top5 { border-top: 4px solid var(--layer-hardware); }
#tab-top6 { border-top: 4px solid var(--layer-org); }

.collapsible {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.collapsible::before { 
	content: "▾";
    color: #030303;
    transition: transform 0.2s ease;
}

.skill-content {
  display: none;
}

.skill-content.open {
  display: block;
}

.skill-content.open + .collapsible::after {
  transform: rotate(180deg);
}


.skill-link {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* checkbox lijn */
.desc-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* Professional Development */
#tab1 .desc-line.checked {
  background: var(--layer-professional);
}

/* Software */
#tab2 .desc-line.checked {
  background: var(--layer-software);
}

/* User interaction */
#tab3 .desc-line.checked {
  background: var(--layer-user);
}

/* Infra */
#tab4 .desc-line.checked {
  background: var(--layer-infra);
}

/* Hardware */
#tab5 .desc-line.checked {
 background: var(--layer-hardware);
}

/* Organization */
#tab6 .desc-line.checked {
  background: var(--layer-org);
}

#languageSwitcher {
  margin-top: 10px;
  padding: 8px 0;
}

#langSelect {
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.design-text {
  background: #f7f7f7;
  padding: 18px;
  border-left: 5px solid #333;
  border-radius: 6px;
  margin-bottom: 25px;
}

/* ACTIVITEIT KLEUR BLOKKEN */
.activity-block {
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: #222;
  font-size: 14px;
  line-height: 1.4em;
  border-left: 8px solid transparent;
}

.activity-title {
  font-weight: bold;
  margin-bottom: 4px;
}

/* Kleuren per tab */
.activity-block[data-tab="tab1"] { border-color: var(--layer-professional); }
.activity-block[data-tab="tab2"] { border-color: var(--layer-software); }
.activity-block[data-tab="tab3"] { border-color: var(--layer-user); }
.activity-block[data-tab="tab4"] { border-color: var(--layer-infra); }
.activity-block[data-tab="tab5"] { border-color: var(--layer-hardware); }
.activity-block[data-tab="tab6"] { border-color: var(--layer-org); }


/* cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.activity-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-left: 5px solid #4e73df;
}

.activity-title {
  font-size: 1.2em;
  font-weight: bold;
}

.activity-meta {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 8px;
}

.activity-desc {
  font-size: 0.95em;
}

.json-prompt-block {
  background: #1e1e1e;
  color: #dcdcdc;
  padding: 20px;
  border-radius: 10px;
  white-space: prewrap;
  overflow-x: auto;
}




/* Mobielvriendelijk */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    .flex-item {
        padding: 0.8rem;
    }
    h5 {
        font-size: 1rem;
    }
	.tab {
	  margin-right: 0px;
	}
    .tabs {
		display: flex;
		list-style: none;
		padding: 0;
		margin: 0 0 -1px 0;
		flex-direction: column;
	}
}
