* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.header {
  text-align: center;
  padding: 24px 0 32px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.header h1 {
  font-size: 32px;
  color: #c8102e;
  margin-bottom: 8px;
}

.header p {
  color: #5f5e5a;
  font-size: 14px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 32px;
  flex-wrap: wrap;
}

.nav a {
  color: #c8102e;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid #c8102e;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav a:hover {
  background: #c8102e;
  color: white;
}

.nav a.active {
  background: #c8102e;
  color: white;
}

.pdf-container {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 24px;
}

.pdf-frame {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: none;
  display: block;
}

.pdf-fallback {
  text-align: center;
  padding: 48px 24px;
}

.pdf-fallback p {
  margin-bottom: 16px;
  color: #5f5e5a;
}

.btn {
  display: inline-block;
  background: #c8102e;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.btn:hover {
  background: #a50c24;
}

.btn-secondary {
  background: white;
  color: #c8102e;
  border: 1px solid #c8102e;
}

.btn-secondary:hover {
  background: #fef2f2;
}

.actions {
  text-align: center;
  margin-top: 16px;
}

.actions .btn {
  margin: 0 8px;
}

footer {
  text-align: center;
  padding: 24px 0;
  color: #9ca3af;
  font-size: 14px;
}

footer a {
  color: #c8102e;
  text-decoration: none;
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 24px;
  }

  .pdf-frame {
    height: 70vh;
  }

  .actions .btn {
    display: block;
    margin: 8px 0;
  }
}
