.counter-container {
  border-radius: 10px;
  border: 1px solid var(--Secondary-500, #2ca9e2);
  background: #e8f4ff;
  padding: 20px;
  width: 100%;
  display: flex;
  gap: 16px;
  flex-direction: column;
  font-family: "Be Vietnam Pro";
  margin-bottom: 20px;
}
.label-text {
  color: rgba(0, 0, 0, 0.64);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}
.counter-time {
  color: #191919;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  width: 113px;
  text-align: left;
}
.w-full {
  width: 100%;
}
.data-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Danh sách câu hỏi */
.list-question-container {
  border-radius: 10px;
  border: 1px solid #ffe6d6;
  overflow: hidden;
  max-width: 100%;
  font-family: "Be Vietnam Pro";
}
.list-question-container .header {
  background: #ffead0;
  display: flex;
  height: 60px;
  justify-content: center;
  align-items: center;
  color: #191919;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
}
.list-question-container .question-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: 600px;
  overflow-y: auto;
}
.section-header-container {
  border-radius: 4px;
  border-left: 2px solid #fc8b00;
  background: linear-gradient(90deg, #ffeed9 0%, #fff 100%);
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  margin-bottom: 16px;
}
.section-header-container-text {
  color: #191919;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}
.list-question .question-item {  
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  color: rgba(0, 0, 0, 0.87);
  font-size: 20px;
}
.section-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.question-container .list-question {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 8px; 
}
.list-question > a {
  aspect-ratio: 1 / 1; /* Makes the height equal to the width */
  width: 100%; /* Ensures the items fully fill their grid cell */
}

/* Chưa làm */
.question-item.not-do {
  background-color: rgba(235, 235, 245, 0.38);
}
/* Đã làm */
.question-item.done {
  background-color: #ffd2b6;
}
/* Làm sai */
.question-item.correct {
  background-color: rgba(48, 209, 88, 0.3);
}
/* Làm sai */
.question-item.error {
  background-color: rgba(255, 69, 58, 0.3);
}
/* Chưa làm  và đã làm*/
.question-item.not-do.selected,
.question-item.done.selected {
  border: 2px solid rgba(255, 102, 9, 1);
  box-sizing: border-box;
}
.question-item.correct.selected {
  border: 2px solid rgba(52, 199, 89, 1);
  box-sizing: border-box;
}
.question-item.error.selected {
  border: 2px solid rgba(255, 59, 48, 1);
  box-sizing: border-box;
}
.submit-btn {
  display: flex;
  width: 180px;
  height: 48px;
  padding: 8px 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #ff6609;
  color: white;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  cursor: pointer;
  margin: 20px auto;
}
.submit-btn:focus {
  outline: none;
}
.question-group-title {
  color: #026597;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 16px;
}
.practice-title {
  color: #FF6609;
  font-family: "Be Vietnam Pro";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 48px;
}
.text-lowercase {
  text-transform: lowercase;
}
.list-question-sidebar {
  position: sticky;
  top: 0px;
}
.main-container {
  max-width: 1600px;
  line-height : unset !important;
  height: unset !important;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  padding-left: 15px;
  padding-right: 15px;
}
.practice-test-container {
  display: flex;
  justify-content: space-between;
}

.mt-0 {
  margin-top: 0px;
}

.truncate-text-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

/* Scrollbar Styling for .custom-scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background-color: #ebebeb;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background: #D4D4D4;
}


/* Laptop screen less than 1440px */
@media screen and (max-width: 1441px) {
  .main-container {
    max-width: 1300px;
  }
  .label-text {
    font-size: 18px;
  } 
  .counter-time {
    font-size: 22px;
  }
}


/* Mobie screen less than 1024px */
@media screen and (max-width: 1025px) {
  .main-container {
    margin-top: 40px;
  }
  .practice-title {
    font-size: 18px;
    margin-bottom: 24px;
  }
  .counter-container {
    margin-bottom: 24px;
    padding: 12px;
    gap: 12px;
  }
  .counter-container .label-text {
    font-size: 16px;
  }
  .counter-container .counter-time {
    font-size: 20px;
    text-align: right;
  }
  .counter-container .label-text, .counter-container .counter-time {
    line-height: 24px;
  }
  .question-group-title {
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 700;
  }
  .list-question-sidebar {
    z-index: 100;
  }
  .submit-btn-container {
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: #fff;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 23px;
    z-index: 100;
  }
  .submit-btn {
    padding: 0px;
    margin: 0px;
    width: 200px;
    height: 40px;
    font-size: 14px;
  }
  .content-left {
    width: 100%;
  }
  .content-right {
    width: 0px;
  }
}
