/* Question container */
.quiz-question {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 560px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.08);
  border-left: 6px solid #3b4652;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quiz-question:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.12);
}

/* Question title */
.quiz-question h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #3b4652;
  font-weight: 600;
}

/* Option list */
.quiz-options {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quiz-options li {
  margin-bottom: 10px;
}

.quiz-options label {
  display: block;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quiz-options input[type="radio"] {
  margin-right: 8px;
  accent-color: #3b4652; /* modern browser radio color */
}

.quiz-options label:hover {
  background: #eef4ff;
  border-color: #0b63d6;
}


.quiz-question label {
    text-align:left;
  transition: background-color 0.3s;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}



@media (max-width: 600px) {

  .option-feedback {
    font-size: 20px;
  }

  .quiz-note {
    font-size: 16px;
  }
  
}


.quiz-options {
  list-style: none;
  padding-left: 0;
}

.quiz-options li {
  margin: 5px 0;
}

.option-feedback {
  display: inline-block;
  margin-left: 10px;
  font-weight: bold;
}

.option-feedback.correct {
  color: green;
}

.option-feedback.incorrect {
  color: red;
}

.quiz-note {
  display: none;
  margin-top: 5px;
  font-weight: bold;
}
.option-feedback.correct {
    color: green;
    font-weight: bold;
    margin-left: 8px;
}
.option-feedback.incorrect {
    color: red;
    font-weight: bold;
    margin-left: 8px;
}

/* Stylish Show Answer Button */
.show-answer-btn {
    background:linear-gradient(135deg, #6ad46e,#459649);
    color: #ffffff;
    border: none;
    padding: 5px 14px;
    font-size: 17px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 12px;
    transition: background-color 0.3s ease;
}

.show-answer-btn:hover {
    background-color: #005c8c;
}

/* Highlighted correct answer */
li.correct-answer-highlight {
    background:linear-gradient(135deg, #6ad46e,#459649);
    border-left: 4px solid #4caf50;
    padding:5px;
    border-radius:10px;
    font-size: 15px;
    font-weight:bold;

}

/* Stylish explanation (note) */
.quiz-note {
    background-color: #f0f8ff;
    line-height: 2;
    padding: 10px 14px;
    border-left: 4px solid #6ad46e;
    margin-top: 10px;
    font-style:normal;
    border-radius: 4px;
    display: none;
    color: #333;
    font-size: 15px;
}


/* option feedback */
.option-feedback { margin-left: 8px; font-weight: bold;font-size:16px; }
.option-feedback.oq-correct { color: #198754; }
.option-feedback.oq-incorrect { color: #dc3545; }


table {
    font-size:15px;
    border: 1px solid #dededf;
    width: 20%;
    border-collapse: collapse;
    text-align: center;
}

caption {
    caption-side: top;
    text-align: center;
    font-weight: bold;
}

th {
    border: 1px solid #dededf;
    background-color: #eceff1;
    color: #000000;
    padding: 5px;
}

td {
    border: 1px solid #dededf;
    background-color: #ffffff;
    color: #000000;
    padding: 5px;
}

/* Center & style Load More and Submit buttons */
.quiz-load-more {
  display: block;
  margin: 20px auto;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background:#3b4652;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.quiz-submit-btn {
  display: block;
  margin: 20px auto;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background:#3b4652;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.quiz-load-more:hover,
[id^="quiz-submit-btn-"]:hover {
  background:linear-gradient(135deg, #6ad46e,#459649);
  transform: translateY(-2px);
}

/* Updated Quiz Result Box */
.quiz-score-box {
  text-align: center;
  background:white;
  border-radius: 12px;
  padding: 20px;
  margin: 30px auto;
  max-width: 560px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.08);
}

/* Grading colors */
.quiz-grade-excellent { border-left: 6px solid #28a745; background: #e6f8ec; }
.quiz-grade-good { border-left: 6px solid #17a2b8; background: #e6f6f8; }
.quiz-grade-fair { border-left: 6px solid #ffc107; background: #fff9e6; }
.quiz-grade-poor { border-left: 6px solid #dc3545; background: #fdeaea; }

/* Score text */
.quiz-score-box p {
  font-size: 17px;
  margin: 8px 0;
}

/* Social share section */
.quiz-share-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.quiz-share-buttons a {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  text-align: center;
  line-height: 38px;
  color: #fff;
  transition: transform 0.3s ease;
}

.quiz-share-buttons a.whatsapp { background: #25D366; }
.quiz-share-buttons a.telegram { background: #0088cc; }
.quiz-share-buttons a.facebook { background: #1877f2; }
.quiz-share-buttons a.twitter { background: #1da1f2; }

.quiz-share-buttons a:hover {
  transform: scale(1.1);
}

/* Stylish Label for Name Field */
.quiz-name-label {
    margin-top:70px;
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #3b4652;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Stylish & Centered Name Field */
.quiz-name-field {
  display: block;
  margin: 0 auto 20px auto; /* center horizontally + space below */
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  max-width: 100px;
  width: 30%;
  text-align: center;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.quiz-name-field:focus {
  border-color: #0b63d6;
  background: #fff;
  outline: none;
  box-shadow: 0 4px 10px rgba(11, 99, 214, 0.2);
}


.quiz-meta-description {
            text-align: center;
            font-size: 1.2rem;
            font-weight: 500;
            color: #333;
            background: #f9f9f9;
            padding: 20px 25px;
            margin-bottom: 25px;
            border-radius: 10px;
            max-width: 750px;
            margin-left: auto;
            margin-right: auto;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        .quiz-meta-description p {
            margin: 0;
        }'



