  .flash-test-card {
    position: absolute;
    top: 240px;
    right: -110px;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    width: 500px;
    height: 320px;
    font-family: "Segoe UI", sans-serif;
    overflow: hidden;
    z-index: 1;
    transform: translateX(-50%);
    user-select: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
.test-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px; 
    height: 150px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%); 
}
  @media (max-width: 1080px) {
    .flash-test-card {
      opacity: 0;
      visibility: hidden;
      pointer-events: none; */
    }
  }

  .flash-test-footer {
    background: #EFEFEF;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
 .foot-msg {
    font-weight: 400;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #333;
 } 

  .flash-test-options {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 10px;
  }

  .flash-test-option {
    flex: 1;
    text-align: center;
  }

  .flash-test-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .flash-test-option h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
  }

  .flash-test-option p {
    margin: 6px 0 18px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
  }

  .flash-test-option button {
    background: #EFEFEF;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .flash-test-option button:hover {
    background: #e8e7e6;
  }

.quiz-container {
  width: 500px;
  height: 300px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#quiz-header h2 {
  color: #333;
}

.quiz-timer {
  width: 25px;
  height: 25px;
  margin-left: auto;
  margin-right: 10px;
}
.circular-chart {
  display: block;
  margin: 10px auto;
}
.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}
.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dasharray 0s, stroke-dashoffset 0s, stroke 0s;
  stroke: #4CAF50;
  animation: timer-animation 60s linear forwards;
}

@keyframes timer-animation {
  from {
    stroke-dashoffset: 0;
    stroke: #4CAF50;
  }
  50% {
    stroke: #FFC107;
  }
  75% {
    stroke: #FF9800;
  }
  to {
    stroke-dashoffset: 100;
    stroke: #F44336;
  }
}

#quiz-question {
  font-size: 1rem;
  margin: 10px 0;
  flex-shrink: 0;
  font-family: "Tiro Bangla", serif;
}

#quiz-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
}

.quiz-option {
  border: none;
  background: none;
  text-align: left;
  padding: 5px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  font-family: "Tiro Bangla", serif;
}

.quiz-option:hover {
  color: blue;
}

.quiz-option.correct {
  color: green !important;
}

.quiz-option.wrong {
  color: red !important;
}

.quiz-result-header {
  display: flex;
  align-items: center;
  gap: 10px; 
  margin-bottom: 10px; 
}

 .quiz-header-icon {
  width: 30px; 
  height: 30px;
  margin-right: 10px;
  margin-left: 15px;
  vertical-align: middle;
 }

 .quiz-result-icon {
  width: 50px; 
  height: 50px;
  margin-top: 10px;
 }

.quiz-result {
  width: 500px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.quiz-result h2 {
  font-size: 2rem;
  color: #333;
}

.quiz-result p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #111;
  font-weight: 600;
}

.chart-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.legend-and-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legend-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.color-box {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
}

.color-box.correct {
  background-color: #4CAF50;
}

.color-box.wrong {
  background-color: #F44336;
}

.accuracy-bar {
  width: 120px;
  height: 10px;
  background-color: #eee;
  border-radius: 5px;
  overflow: hidden;
}

.accuracy-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #8BC34A);
  width: 0%;
  transition: width 1s ease-in-out;
}

.accuracy-text {
  font-size: 0.85rem;
  font-weight: 600;
}

.result-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
  max-width: 250px;
}

.result-buttons button {
  background: #EFEFEF;
  color: #111;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.result-buttons button:hover {
  background: #e8e7e6;
}
.result-buttons button.review {
  background: #EFEFEF;
}
.result-buttons button.review:hover {
  background: #e8e7e6;
}
.result-buttons button.goback {
  background: #EFEFEF;
}
.result-buttons button.goback:hover {
  background: #e8e7e6;
}

.review-wrapper {
  width: 500px;
  height: 300px;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden; 
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-header button {
  padding: 5px 10px;
}

#prev-btn, #next-btn {
  background: #EFEFEF;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  color: #111;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

#prev-btn:hover, #next-btn:hover {
  background: #e8e7e6;
}

.review-header #go-back-btn {
  background: #EFEFEF;
  color: #111;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.85rem;
  cursor: pointer;
}
.review-header #go-back-btn:hover {
  background: #e8e7e6;
}
.review-slides {
  display: flex; 
  transition: transform 0.5s ease-in-out;
  flex-grow: 1;
}

.review-slide {
  flex: 0 0 100%; 
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
  overflow-y: auto; 
  display: flex;
  flex-direction: column;
  height: 100%; 
}

.review-question {
  flex-shrink: 0; 
  font-family: "Tiro Bangla", serif;
}

.review-options {
  margin-top: 10px;
  overflow-y: auto; 
}

.review-option {
  padding: 5px;
  font-family: "Tiro Bangla", serif;
  font-size: 0.95rem;
  margin: 5px 0;
}

.review-option.correct {
  color: green;
}

.review-option.wrong {
  color: red;
}

.review-controls {
  display: none; 
}