:root {
  --primary: #0056b3;
  --success: #28a745;
  --gray: #f4f7f6;
  --border-color: #ddd;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #cbd3da;
  padding: 20px;
}
.container {
  max-width: 850px;
  background: white;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
header {
  border-bottom: 4px solid var(--primary);
  margin-bottom: 25px;
  text-align: center;
}
.data-section {
  background: var(--gray);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}
.input-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
label {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}
input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.btn-start {
  background: var(--primary);
  color: white;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: bold;
}
.btn-start:hover {
  opacity: 0.9;
}
.btn-primary {
  background: var(--success);
  color: white;
  width: 100%;
  padding: 15px;
  border: none;
  margin-top: 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}
.question {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}
.question p {
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}
.question label {
  display: block;
  padding: 10px 15px;
  margin-bottom: 8px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: normal;
}
.question label:hover {
  background-color: #f0f4f8;
  border-color: var(--primary);
}
.question input[type="radio"] {
  margin-right: 10px;
  cursor: pointer;
}
.question select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
  font-size: 0.95rem;
  background: white;
}
.match-group label {
  display: flex;
  justify-content: baseline;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 5px 0;
}
.hidden {
  display: none;
}
.btn-pdf, .btn-print {
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: white;
}
.btn-pdf:hover, .btn-print:hover {
  transform: scale(1.05);
}
@media print {
  .btn-pdf, .btn-print, .btn-primary, .btn-start, #setup, header p, .logos {
    display: none !important;
  }
  body { background: white; padding: 0; }
  .container { box-shadow: none; border: none; max-width: 100%; }
  .results-card { border: none !important; box-shadow: none !important; }
}