body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background-color: #f4f4f4;
}

h1 {
  text-align: center;
}
#lang-switch {
  position: fixed;
  top: 10px;
  right: 10px;
  font-size: 24px;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.2s ease;
}

#lang-switch:hover {
  transform: scale(1.2);
}

h2 {
  margin-top: 30px;
  color: #2c3e50;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}
summary.category-summary {
  font-size: 1.4rem;
  font-weight: bold;
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

summary.category-summary:hover {
  background-color: #f0f0f0;
}
#questionsContainer {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
}

.question {
  margin-bottom: 15px;
}

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

button {
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
}

#charts {
  max-width: 800px;
  margin: 40px auto;
}

canvas {
  margin-top: 40px;
}
.question {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.question h2 {
  font-size: 1.2em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.question p {
  font-weight: 500;
  margin: 0 0 8px 0;
}

.question label {
  margin-right: 15px;
  font-weight: normal;
}

.question textarea {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  resize: vertical;
  font-family: inherit;
  font-size: 0.95em;
  background-color: #fafafa;
}
