/* custom.css */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --success-color: #4cc9f0;
  --warning-color: #f72585;
  --light-bg: #f8f9fa;
  --dark-text: #2b2d42;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.quiz-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
}

.quiz-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 2rem;
}

.quiz-title {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.question-counter {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.question-text {
  font-size: 1.25rem;
  color: var(--dark-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.answer-option {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.answer-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

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

.btn-quiz {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-quiz:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.progress-bar {
  height: 10px;
  border-radius: 5px;
  margin-bottom: 2rem;
}

.results-card {
  text-align: center;
}

.score-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 10px solid var(--success-color);
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-text);
}

.feedback-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.feedback-correct {
  background-color: rgba(76, 201, 240, 0.1);
  border: 1px solid var(--success-color);
  color: var(--success-color);
}

.feedback-wrong {
  background-color: rgba(247, 37, 133, 0.1);
  border: 1px solid var(--warning-color);
  color: var(--warning-color);
}
.answer-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block; /* Ensures the label takes full width */
}

.answer-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.answer-option input[type="radio"] {
    cursor: pointer;
}

.answer-option .form-check-label {
    cursor: pointer;
    display: block;
    width: 100%;
    margin: 0;
}
