body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  background-color: #1a1a2e;
  color: #e0e0e0;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.container {
  background-color: #2a2a4a;
  border-radius: 10px;
  padding: 30px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  background-image: linear-gradient(45deg, #2a2a4a 0%, #4a2a4a 100%);
}

header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  color: #e0e0e0;
  font-size: 2.5em;
  margin-bottom: 10px;
}

h2 {
  color: #c0c0c0;
  font-size: 1.2em;
  margin-top: 0;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
}

h3 {
  color: #e0e0e0;
  margin-top: 25px;
  margin-bottom: 10px;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 5px;
}

strong {
  color: #ffffff;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #c0c0c0;
}

input[type='text'],
input[type='email'],
select,
textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #5a5a7a;
  border-radius: 5px;
  background-color: #3a3a5a;
  color: #e0e0e0;
  font-size: 1em;
}

input[type='checkbox'] {
  margin-right: 10px;
}

button {
  background-color: #8a2be2; /* Purple */
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover:not(:disabled) {
  background-color: #9932cc; /* Darker purple */
}

button:disabled {
  background-color: #5a5a7a;
  cursor: not-allowed;
}

.progress-bar-container {
  width: 100%;
  background-color: #3a3a5a;
  border-radius: 5px;
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background-color: #8a2be2;
  width: 0%;
  border-radius: 5px;
  transition: width 0.3s ease;
}

#question-counter {
  position: absolute;
  width: 100%;
  text-align: center;
  line-height: 20px;
  color: #e0e0e0;
  font-size: 0.9em;
}

.question-area {
  margin-bottom: 20px;
  font-size: 1.2em;
  color: #e0e0e0;
}

.answer-area {
  margin-bottom: 20px;
}

.answer-area label {
  margin-bottom: 10px;
  cursor: pointer;
}

.answer-area input[type='radio'] {
  margin-right: 10px;
}

footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.8em;
  color: #8a8a8a;
}

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

footer a:hover {
  text-decoration: underline;
}
