.exercise-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
  }

  .exercise-title {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 0;
  }

  .exercise-container h2 {
    margin-top: initial;
}

  .question {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    border-left: 4px solid #3498db;
  }

  .options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .option {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .option:hover {
    background-color: #f0f0f0;
  }

  .selected {
    border-color: #3498db;
    background-color: #e1f0fa;
  }

  .correct {
    border-color: #2ecc71;
    background-color: #d4f7e7;
  }

  .incorrect {
    border-color: #e74c3c;
    background-color: #fde2e0;
  }

  .feedback {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    display: none;
  }

  .feedback p {
    margin:initial;
 }

  .feedback.correct {
    background-color: #d4f7e7;
    color: #2ecc71;
  }

  .feedback.incorrect {
    background-color: #fde2e0;
    color: #e74c3c;
  }

  .word-order-exercise {
    padding: 15px;
  }

  .word-bank {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }

  .word {
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    user-select: none;
    max-height: fit-content;
  }

  .sentence-area {
  max-height: fit-content;
  min-height: 48px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: 2px dashed #bbb;
  }

  .placed-word {
      padding: 8px 15px;
  max-height: fit-content;
  background-color: #2c3e50;
  color: white;
  border-radius: 20px;
  margin: 0 5px;
  cursor: pointer;
  }

  .sentence-area .placed-word:nth-of-type(1) {
    text-transform: capitalize;
  }

  button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.2s;
  }

  button:hover {
    background-color: #2980b9;
  }

  .button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }

  .tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  .tab-button {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
  }

  .tab-button.active {
    background-color: #3498db;
    color: white;
  }

  .tabs {
    position: relative;
  }

  .tab {
    display: none;
  }

  .tab.active {
    display: block;
  }

  #progressBar {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 20px;
  }

  #progress {
    height: 100%;
    background-color: #3498db;
    border-radius: 5px;
    width: 0%;
    transition: width 0.5s;
  }

  .result-feedback {
    font-size: 1.2em;
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
  }

  .result-good {
    background-color: #d4f7e7;
    color: #2ecc71;
  }

  .result-average {
    background-color: #fdf2e0;
    color: #f39c12;
  }

  .result-needs-work {
    background-color: #fde2e0;
    color: #e74c3c;
  }
  
  /* Fill in the blanks specific styles */
  .fill-blank-question {
    margin-bottom: 20px;
    line-height: 2;
  }
  
  .blank {
    display: inline-block;
    width: 120px;
    border-bottom: 2px solid #3498db;
    margin: 0 5px;
    text-align: center;
    position: relative;
  }
  
  .blank select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  /* Adverb categorization styles */
  .drag-item {
    padding: 10px;
    margin: 5px;
    background-color: #3498db;
    color: white;
    border-radius: 5px;
    cursor: move;
    user-select: none;
    display: inline-block;
  }
  
  .category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  
  .category-box {
    flex: 1;
    min-width: 200px;
    min-height: 100px;
    border: 2px dashed #bbb;
    border-radius: 5px;
    padding: 10px;
    background-color: #f5f5f5;
  }
  
  .category-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
  }

.next-exercise-btn {
display: block;
margin: 20px auto;
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}

.next-exercise-btn:hover {
background-color: #45a049;
}