/* ===== GLOBAL BACKGROUND ===== */
body {
  background: #D9D9D9;   /* jouw gewenste achtergrondkleur */
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ===== QUIZ AREA LAYOUT ===== */
.quiz-area {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;          /* geen scrollen */
  padding: 0;
  overflow: hidden;
}

/* ===== QUIZ CARD ===== */
.quiz-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 70px;
  width: 420px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

/* IMAGE */
.quiz-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.15);
}

/* TITLES */
.title {
  font-size: 22px;
  margin-bottom: 4px;
  color: #2E3062;   /* jouw blauwe kleur */
}

.subtitle {
  font-size: 14px;
  opacity: .7;
  margin-bottom: 12px;
}

/* INPUTS */
.input-group label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  display: block;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.25);
  margin-bottom: 10px;
  font-size: 14px;
}

/* BUTTONS */
.btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.primary {
  background: #2E3062;   /* jouw blauwe kleur */
  color: white;
}

.secondary {
  background: #e6e7f2;
  color: #2E3062;
}

/* STATUS */
.status-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
}

.bad { color: #b00020; }
.ok { color: #0a7a2f; }

.score {
  margin-top: 10px;
  font-size: 14px;
  opacity: .75;
}

/* BACK LINK */
.back-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  text-decoration: underline;
  color: #2E3062;
}

/* ===== SIDEBAR ===== */
:root {
  --sb-collapsed: 78px;
  --sb-expanded: 210px;
}

.app {
  display: grid;
  grid-template-columns: var(--sb-collapsed) 1fr;
  min-height: 100vh;
}

.sidebar {
  height: 100vh;
  position: sticky;
  top: 0;
  background: #2E3062;   /* jouw blauwe kleur */
  color: #fff;
  display: grid;
  grid-template-rows: 64px 1fr 48px;
  align-items: start;
  overflow: hidden;
  width: var(--sb-collapsed);
  transition: width 180ms ease;
}

.sidebar:hover,
.sidebar.is-open {
  width: var(--sb-expanded);
}

.app:has(.sidebar:hover),
.app:has(.sidebar.is-open) {
  grid-template-columns: var(--sb-expanded) 1fr;
}

/* HAMBURGER */
.hamburger {
  width: 44px;
  height: 44px;
  margin: 10px auto 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .12s ease, background .12s ease;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.90);
  border-radius: 2px;
  position: relative;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* NAV ITEMS */
.sidebar-nav {
  display: grid;
  gap: 10px;
  padding: 18px 10px 10px;
}

.nav-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 10px;
  height: 46px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  padding: 0 10px;
  transition: background .12s ease;
}

.nav-item:hover {
  background: rgba(255,255,255,0.10);
}

.nav-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 800;
}

.nav-item .label {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.sidebar:hover .nav-item .label,
.sidebar.is-open .nav-item .label {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-footer {
  font-size: 12px;
  opacity: 0.8;
  padding: 0 14px 12px;
}
.timer {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.75;
  text-align: right;   /* rechts uitlijnen */
}