:root {
  --azl-primary: #0d3b66;
  --azl-accent: #f4a300;
  --azl-light: #f5f7fa;
}

body {
  background: var(--azl-light);
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.azl-navbar {
  background: var(--azl-primary);
}

.azl-sidebar {
  width: 230px;
  min-height: calc(100vh - 56px);
  background: #fff;
  border-right: 1px solid #e3e6ea;
  padding-top: 10px;
}

.sidebar-link {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  border-left: 3px solid transparent;
  font-size: 0.95rem;
}

.sidebar-link:hover, .sidebar-link.active {
  background: #eef3fa;
  border-left-color: var(--azl-primary);
  color: var(--azl-primary);
}

.azl-content {
  min-height: calc(100vh - 56px);
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--azl-primary), #145b94);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,.2);
}

.card-peserta {
  width: 340px;
  border: 2px solid var(--azl-primary);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  background: #fff;
  page-break-inside: avoid;
}

.card-peserta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--azl-accent);
}

.card-peserta .foto {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.soal-nav-btn {
  width: 42px;
  height: 42px;
  padding: 0;
}

.soal-nav-btn.answered {
  background: var(--azl-primary) !important;
  color: #fff !important;
  border-color: var(--azl-primary) !important;
}

.pdf-canvas-wrap {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: auto;
  text-align: center;
  padding: 10px;
}

#pdfCanvas {
  max-width: 100%;
}

#examTimer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.1rem;
}

@media print {
  .no-print { display: none !important; }
  .card-peserta { break-inside: avoid; }
}
