.theme-quiz {
  --primary-blue: #2c5282;
  --medical-teal: #4fd1c5;
  --bg-gray: #f0f4f8;
  --border-color: #e2e8f0;
  --success: #38a169;
  --error: #e53e3e;
}

.theme-quiz {
  background-color: var(--bg-gray);
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.theme-quiz .main-div {
  max-width: 600px;
  width: 100%;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2d3748;
}

.theme-quiz h1 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 30px;
  font-weight: 600;
}

.theme-quiz .question-div {
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--medical-teal);
  transition: transform 0.2s;
}

.theme-quiz h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #4a5568;
}

.theme-quiz input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.theme-quiz input[type="text"]:focus {
  outline: none;
  border-color: var(--medical-teal);
}

.theme-quiz .feedback {
  margin-top: 12px;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-quiz .btn-container {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.theme-quiz button {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition:
    background 0.2s,
    opacity 0.2s;
}

.theme-quiz .btn-submit {
  background-color: var(--primary-blue);
  color: white;
}

.theme-quiz .btn-submit:hover {
  background-color: #2a4365;
}

.theme-quiz .btn-reset {
  background-color: #edf2f7;
  color: #718096;
}

.theme-quiz .btn-reset:hover {
  background-color: #e2e8f0;
}
