/*-----------------------------------------------------------------------------------*/
/*   Facebook-Style Comments
/*-----------------------------------------------------------------------------------*/

/* Main comment container */
.lyric-comment {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

/* Comment list styling */
ol.comment-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.comment-list .comment {
  margin-bottom: 16px;
  position: relative;
}

/* Individual comment styling */
.comment-body {
  display: flex;
  gap: 12px;
  padding: 12px 0;
}

/* Avatar styling */
.comment-author .avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  flex-shrink: 0;
}

/* Comment content wrapper */
.comment-content-wrapper {
  flex: 1;
  min-width: 0;
}

/* Comment bubble */
.comment-content {
  background: #f0f2f5 !important;
  border-radius: 18px !important;
  padding: 8px 12px !important;
  margin-bottom: 4px;
  position: relative;
  word-wrap: break-word;
}

/* Author name */
.comment-author .fn {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #050505 !important;
  text-decoration: none !important;
  display: block;
  margin-bottom: 2px;
}

.comment-author .fn:hover {
  text-decoration: underline !important;
}

/* Comment text */
.comment-content p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.33 !important;
  color: #050505 !important;
}

/* Comment meta (date, reply link) */
.comment-meta {
  display: flex !important;
  align-items: center;
  gap: 12px;
  font-size: 12px !important;
  color: #65676b !important;
  margin-left: 52px;
  margin-top: 4px;
}

.comment-meta a {
  color: #65676b !important;
  text-decoration: none !important;
  font-weight: 600;
}

.comment-meta a:hover {
  text-decoration: underline !important;
  color: #1877f2 !important;
}

/* Reply link styling */
.reply a {
  color: #65676b !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

.reply a:hover {
  color: #1877f2 !important;
}

/* Nested comments (replies) */
.comment-list .children {
  margin-left: 52px !important;
  margin-top: 8px !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.comment-list .children .comment {
  margin-bottom: 8px;
}

.comment-list .children .comment-body {
  padding: 8px 0;
}

.comment-list .children .comment-meta {
  margin-left: 52px;
}

/* Deeper nesting */
.comment-list .children .children {
  margin-left: 52px !important;
}

.comment-list .children .children .comment-meta {
  margin-left: 52px;
}

/* Comment form styling */
.comment-respond {
  margin-top: 20px !important;
  background: #fff !important;
  border-radius: 8px;
  padding: 16px !important;
}

.comment-reply-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1c1e21 !important;
  margin-bottom: 12px !important;
}

/* Form fields */
.comment-form-comment {
  margin-bottom: 12px !important;
}

.comment-form-comment label {
  display: none !important;
}

.comment-form-comment textarea {
  width: 100% !important;
  min-height: 80px !important;
  border: 1px solid #dddfe2 !important;
  color: #000 !important;
  border-radius: 20px !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  resize: vertical;
  background: #f0f2f5 !important;
  transition: border-color 0.2s ease;
}

.comment-form-comment textarea:focus {
  outline: none !important;
  border-color: #1877f2 !important;
  background: #fff !important;
}

.comment-form-comment textarea::placeholder {
  color: #65676b !important;
}

/* Author fields */
.comment-form-author,
.comment-form-email,
.comment-form-url {
  margin-bottom: 12px !important;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100% !important;
  padding: 8px 12px !important;
  border: 1px solid #dddfe2 !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  background: #f0f2f5 !important;
  transition: border-color 0.2s ease;
  color: #000 !important;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  outline: none !important;
  border-color: #1877f2 !important;
  background: #fff !important;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #65676b !important;
  margin-bottom: 4px !important;
}

/* Submit button */
.form-submit {
  margin-top: 12px !important;
}

.form-submit input[type="submit"] {
  background: #1877f2 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-submit input[type="submit"]:hover {
  background: #166fe5 !important;
}

/* Cancel reply link */
.comment-reply-link {
  color: #1877f2 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.comment-reply-link:hover {
  text-decoration: underline !important;
}

/* Override existing comment styles */
.user-comment-box {
  background: transparent !important;
  padding: 0 !important;
}

.user-comment-box .author a {
  font-size: 13px !important;
}

.user-comment-box .date {
  font-size: 12px !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .comment-body {
    gap: 8px;
  }

  .comment-author .avatar {
    width: 32px !important;
    height: 32px !important;
  }

  .comment-meta {
    margin-left: 40px;
  }

  .comment-list .children {
    margin-left: 40px !important;
  }

  .comment-list .children .comment-meta {
    margin-left: 40px;
  }

  .comment-list .children .children {
    margin-left: 40px !important;
  }

  .comment-list .children .children .comment-meta {
    margin-left: 40px;
  }
}

/*-----------------------------------------------------------------------------------*/
/*   Verse of the Day - Disable Chapter Links
/*-----------------------------------------------------------------------------------*/

/* Disable clicking on verse references in Verse of the Day section */
.popular-lyrics a[href*="bible"],
.popular-lyrics a[href*="chapter"],
.popular-lyrics a[href*="verse"] {
  pointer-events: none !important;
  cursor: text !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* More specific targeting for bible verse links */
.popular-lyrics span a,
.popular-lyrics p a {
  pointer-events: none !important;
  cursor: text !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Ensure verse references look like regular text */
.popular-lyrics a:hover {
  color: inherit !important;
  text-decoration: none !important;
}

/* Target any links that might be bible references */
.popular-lyrics a[href*="biblehub"],
.popular-lyrics a[href*="biblegateway"],
.popular-lyrics a[href*="bible.com"] {
  pointer-events: none !important;
  cursor: text !important;
  text-decoration: none !important;
  color: inherit !important;
}
/*-----------------------------------------------------------------------------------*/
/*   Bible Quiz Section
/*-----------------------------------------------------------------------------------*/

/* Quiz Container */
.bible-quiz-container {
  background: #fff !important;
  padding: 28px 20px 20px 20px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bible-quiz-container .title h3 {
  color: #333;
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 20px;
}

.bible-quiz-container .title h3 i {
  color: #e4422e !important;
  margin-right: 8px;
  font-size: 25px;
}
body.dark-mode .bible-quiz-container .title h3 i {
  color: #e4422e !important;
  margin-right: 8px;
  font-size: 25px;
}

/* Quiz Progress */
#quiz-progress {
  text-align: center;
  margin-bottom: 20px;
}

#question-counter {
  background: #e4422e;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Quiz Question */
#quiz-question {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.4;
  padding: 0 10px;
}

/* Quiz Options */
#quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.quiz-option {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-option:hover {
  border-color: #e4422e;
  background: #fff5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(228, 66, 46, 0.2);
}

.quiz-option.selected {
  border-color: #e4422e;
  background: #fff5f5;
}

.quiz-option.correct {
  background: #d4edda !important;
  border-color: #28a745 !important;
  color: #155724;
}

.quiz-option.incorrect {
  background: #f8d7da !important;
  border-color: #dc3545 !important;
  color: #721c24;
}

body.dark-mode .quiz-option.correct {
  background: #d4edda !important;
  border-color: #28a745 !important;
  color: #155724 !important;
}

body.dark-mode .quiz-option.incorrect {
  background: #f8d7da !important;
  border-color: #dc3545 !important;
  color: #721c24 !important;
}

.quiz-option.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.quiz-option-label {
  font-weight: 700;
  color: #e4422e;
  margin-right: 8px;
}

/* Quiz Feedback */
#quiz-feedback {
  background: #f8f9fa;
  border-left: 4px solid #e4422e;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

#quiz-feedback.correct {
  background: #d4edda;
  border-left-color: #28a745;
  color: #155724;
}

#quiz-feedback.incorrect {
  background: #f8d7da;
  border-left-color: #dc3545;
  color: #721c24;
}

.feedback-result {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.feedback-explanation {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.feedback-reference {
  font-size: 12px;
  font-style: italic;
  color: #666;
}
body.dark-mode .feedback-reference {
  font-size: 12px;
  font-style: italic;
  color: #666 !important;
}

/* Quiz Controls */
#quiz-controls {
  text-align: center;
  margin-top: 20px;
}

#next-question-btn,
#restart-quiz-btn,
#restart-quiz-final {
  background: #e4422e;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#next-question-btn:hover,
#restart-quiz-btn:hover,
#restart-quiz-final:hover {
  background: #c73622;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(228, 66, 46, 0.3);
}

/* Quiz Completion */
#quiz-completion {
  text-align: center;
  padding: 30px 20px;
}

.quiz-final-score h4 {
  color: #e4422e;
  font-size: 24px;
  margin-bottom: 15px;
}

#final-score-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.bible-verse {
  /* font-style: italic; */
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  /* border-left: 4px solid #e4422e; */
}
body.dark-mode .bible-verse {
  /* font-style: italic; */
  color: #fff !important;
  font-size: 14px;
  line-height: 1.6;
  margin: 20px 0;
  padding: 15px;
  /* background: #555 !important; */
  border-radius: 8px;
  /* border-left: 4px solid #e4422e !important; */
}

/* Mobile Responsive */
@media (max-width: 767px) {
  #quiz-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quiz-option {
    padding: 12px;
    font-size: 13px;
    min-height: 50px;
  }

  #quiz-question {
    font-size: 16px;
    padding: 0 5px;
  }

  .bible-quiz-container {
    padding: 20px 15px;
  }

  #quiz-feedback {
    padding: 12px 15px;
    margin: 15px 0;
  }
}

@media (max-width: 480px) {
  #quiz-question {
    font-size: 15px;
  }

  .quiz-option {
    padding: 10px;
    font-size: 12px;
  }

  #next-question-btn,
  #restart-quiz-btn,
  #restart-quiz-final {
    padding: 10px 20px;
    font-size: 13px;
  }
}
