* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
    background-color: #4c7a1e;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
  }
  
  .container {
    width: 100%;
    max-width: 800px;
  }
  
  .quiz-container {
    background-color: #f8ffe0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }
  
  .author {
    color: #4c7a1e;
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  h1 {
    color: #4c7a1e;
    margin-bottom: 5px;
    font-size: 28px;
  }
  
  .subtitle {
    color: #4c7a1e;
    margin-bottom: 30px;
    font-size: 18px;
  }
  
  .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
  }
  
  .form-group {
    flex: 1;
    text-align: left;
  }
  
  .full-width {
    width: 100%;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    color: #4c7a1e;
    font-weight: bold;
  }
  
  .required {
    color: red;
  }
  
  input,
  select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
  }
  
  .name-inputs {
    display: flex;
    gap: 10px;
  }
  
  button {
    background-color: #4c7a1e;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #3a5c17;
  }
  
  button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }
  
  .hidden {
    display: none;
  }
  
  /* Quiz styles */
  .quiz-header {
    margin-bottom: 30px;
  }
  
  .quiz-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
  }
  
  .progress-container {
    margin-bottom: 20px;
  }
  
  .progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 5px;
    overflow: hidden;
  }
  
  .progress {
    height: 100%;
    background-color: #4c7a1e;
    width: 10%;
    transition: width 0.3s ease;
  }
  
  .question-counter {
    text-align: right;
    font-size: 14px;
    color: #666;
  }
  
  #question-text {
    margin-bottom: 20px;
    color: #333;
  }
  
  .option {
    background-color: #f1f1f1;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
  }
  
  .option:hover {
    background-color: #e8e8e8;
  }
  
  .option.selected {
    background-color: #d4e6c2;
    border-color: #4c7a1e;
  }
  
  .option.correct {
    background-color: #d4edda;
    border-color: #28a745;
  }
  
  .option.incorrect {
    background-color: #f8d7da;
    border-color: #dc3545;
  }
  
  .quiz-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }
  
  /* Results styles */
  .result-info {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    align-items: center;
  }
  
  .user-details {
    text-align: left;
  }
  
  .user-details p {
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  .score-details {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #4c7a1e;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
  }
  
  .score-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #score-percentage {
    font-size: 28px;
    font-weight: bold;
  }
  
  .score-label {
    font-size: 14px;
  }
  
  .score-breakdown {
    text-align: left;
  }
  
  .score-breakdown p {
    margin-bottom: 10px;
    font-size: 16px;
  }
  
  .result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  /* Review styles */
  #review-questions {
    margin: 20px 0;
    text-align: left;
  }
  
  .review-question {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }
  
  .review-question h3 {
    margin-bottom: 15px;
    color: #4c7a1e;
  }
  
  .review-option {
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
  }
  
  .review-option.user-selected {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
  }
  
  .review-option.correct-answer {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
  }
  
  .explanation {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-style: italic;
  }
  
  .radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
  }
  
  .radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }
  
  .radio-label input[type="radio"] {
    width: auto;
    margin-right: 5px;
  }
  
  .text-color {
    color: #333;
    font-weight: 600;
  }

  .text-color-new {
    color: #005a1b;
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .form-row {
      flex-direction: column;
      gap: 15px;
    }
  
    .result-info {
      flex-direction: column;
      gap: 20px;
    }
  
    .score-details {
      flex-direction: column;
    }
  
    .quiz-footer {
      flex-direction: column;
      gap: 10px;
    }
  
    .quiz-footer button {
      width: 100%;
    }
  
    .result-actions {
      flex-direction: column;
    }
  }
  
  /* Timer styling */
  #timer {
    font-size: 18px;
    font-weight: bold;
    color: #4c7a1e;
    background-color: #e8f5d8;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #4c7a1e;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
  }
  
  #time {
    color: #d63031;
    font-size: 20px;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(76, 122, 30, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(76, 122, 30, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(76, 122, 30, 0);
    }
  }
  
  