:root {
  --bs-primary: #1a5fa8;
  --bs-primary-rgb: 26, 95, 168;
}

body { background: #f4f6f9; font-family: 'Segoe UI', system-ui, sans-serif; }

.navbar { box-shadow: 0 2px 8px rgba(0,0,0,.15); }

.card { border: none; box-shadow: 0 1px 6px rgba(0,0,0,.08); border-radius: 10px; }
.card-header { border-radius: 10px 10px 0 0 !important; }

.section-type-badge {
  font-size: .72rem;
  padding: .25em .6em;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.badge-text     { background:#dbeafe; color:#1e40af; }
.badge-video    { background:#fce7f3; color:#9d174d; }
.badge-scenario { background:#fef3c7; color:#92400e; }
.badge-exercise { background:#d1fae5; color:#065f46; }
.badge-quiz     { background:#ede9fe; color:#5b21b6; }

.progress { height: 8px; border-radius: 4px; }

.section-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  margin-bottom: .5rem;
  text-decoration: none;
  color: #1f2937;
  transition: background .15s, border-color .15s;
}
.section-item:hover { background: #eff6ff; border-color: #93c5fd; color: #1f2937; }
.section-item.completed { border-color: #a7f3d0; background: #f0fdf4; }
.section-item.completed .section-check { color: #059669; }
.section-item.locked { opacity: .55; pointer-events: none; }

.scenario-option { cursor: pointer; }
.scenario-option:hover .option-card { border-color: #3b82f6 !important; }
.option-card { transition: border-color .15s, background .15s; }
.option-card.selected-correct { background: #f0fdf4; border-color: #22c55e !important; }
.option-card.selected-wrong   { background: #fef2f2; border-color: #ef4444 !important; }

.quiz-question-block { background: #f9fafb; border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; border: 1px solid #e5e7eb; }
.quiz-question-block.correct-answer { border-color: #86efac; background: #f0fdf4; }
.quiz-question-block.wrong-answer   { border-color: #fca5a5; background: #fef2f2; }

@media print {
  .navbar, .btn, .no-print { display: none !important; }
  body { background: white; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
