/*
* Theme Name: Muusico
* Theme URI: http://www.2035themes.com/muusico
* Author: 2035Themes
* Author URI: http://themeforest.net/user/2035Themes
* Description: Responsive Parallax Lyrics Wordpress Theme
* Version: 2.9.8.1
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: two-columns
* Text Domain: muusico
*/

/* Table Of Content
1   - Reset
2   - Global Css
3   - Blog
4   - Contact Form
5   - Header
6   - Lyrics
7   - Footer
8   - 404     
*/

/*-----------------------------------------------------------------------------------*/
/*   Reset
/*-----------------------------------------------------------------------------------*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a,
a:visited,
a:focus,
a:active,
a:hover,
a:link {
  outline: 0 none !important;
  text-decoration: none !important;
}

.pos-center {
  text-align: center;
  margin: 0 auto;
}

/*-----------------------------------------------------------------------------------*/
/*   Global
/*-----------------------------------------------------------------------------------*/

body {
  margin: 0;
  padding: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 14px;
  line-height: 23px;
  font-weight: 400;
  color: #444;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #222;
  text-decoration: none;
  -webkit-transition-property: color, text;
  -webkit-transition-duration: 0.3s, 0.3s;
  -webkit-transition-timing-function: linear, ease-in;
  -moz-transition-property: color, text;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: linear, ease-in;
  -o-transition-property: color, text;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: linear, ease-in;
}

a,
a:visited,
a:focus,
a:active {
  outline: 0 none !important;
}

a:hover {
  color: #e4422e;
  text-decoration: none;
}

input:focus {
  outline: none;
}

textarea:focus {
  outline: none;
}

h1 {
  font-family: Oswald;
  font-size: 32px;
  color: #000;
}

h2 {
  font-family: Oswald;
  font-size: 26px;
  color: #000;
}

h3 {
  font-family: Oswald;
  font-size: 21px;
  color: #000;
  letter-spacing: 0.05em;
}

h4 {
  font-family: Oswald;
  font-size: 18px;
  /* color: #e4422e; */
}

h5 {
  font-family: Oswald;
  font-size: 13px;
  color: #000;
}

h6 {
  font-family: Oswald;
  font-size: 11px;
  color: #000;
}

.margint5 {
  margin-top: 5px !important;
}

.margint10 {
  margin-top: 10px !important;
}

.margint20 {
  margin-top: 20px !important;
}

.margint30 {
  margin-top: 30px !important;
}

.margint40 {
  margin-top: 40px !important;
}

.margint50 {
  margin-top: 50px !important;
}

.margint60 {
  margin-top: 60px !important;
}

.margint70 {
  margin-top: 70px !important;
}

.margint80 {
  margin-top: 80px !important;
}

.margint90 {
  margin-top: 90px !important;
}

.margint100 {
  margin-top: 100px !important;
}

.margint120 {
  margin-top: 120px !important;
}

.marginb10 {
  margin-bottom: 10px !important;
}

.marginb20 {
  margin-bottom: 20px !important;
}

.marginb30 {
  margin-bottom: 30px !important;
}

.marginb40 {
  margin-bottom: 40px !important;
}

.marginb60 {
  margin-bottom: 60px !important;
}

.marginb90 {
  margin-bottom: 90px !important;
}

.marginb100 {
  margin-bottom: 100px !important;
}

.marginb120 {
  margin-bottom: 120px !important;
}

.padrl20 {
  padding: 0 20px;
}

.padrl50 {
  padding: 0 50px;
}

.padt20 {
  padding-top: 20px;
}

.padt40 {
  padding-top: 40px;
}

.padt50 {
  padding-top: 50px;
}

.padt60 {
  padding-top: 60px;
}

.padb60 {
  padding-bottom: 30px;
}

.pad5 {
  padding: 5px;
}

.pad10 {
  padding: 10px;
}

.pad20 {
  padding: 20px;
}

.pad30 {
  padding: 30px;
}

img {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin: 10px auto;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin: 10px auto;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin: 10px auto;
  margin: 20px auto;
}

/*-----------------------------------------------------------------------------------*/
/*   Blog
/*-----------------------------------------------------------------------------------*/

.blog-entry {
  margin-bottom: 60px;
}

#blog .blog-back {
  background: #2f2b30;
  padding-bottom: 40px;
}

.post-content-blog h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 10px 0;
}

.post-format-icon {
  background: #fff;
  padding: 15px;
  margin-top: 10px;
  text-align: center;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  color: #e24335;
}

blockquote {
  border-left: solid 3px #e4422e;
  padding-left: 10px;
  margin: 20px 0;
}

ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

cite {
  font-size: 13px;
  font-weight: 500;
  color: #e4422e;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-top: 10px;
}

table {
  width: 100% !important;
}

caption {
  padding: 0 0px;
  text-align: left;
  font-weight: bold;
  margin: -2px 0 2px 0;
}

thead {
  font-size: 13px;
}

thead th {
  padding: 4px 4px;
  font-weight: bold;
  border-top: 1px solid #ededed;
  text-align: center;
}

tbody {
  background: #f5f5f5;
}

tbody td {
  background: #f5f5f5;
  border: 1px solid #fff;
  text-align: center;
  padding: 2px 2px;
}

tbody td:hover {
  background: #ededed;
}

tbody .pad {
  background: none;
}

tbody .pad:hover {
  background: none;
}

dl dt {
  font-weight: 600;
}

dl dd {
  padding-left: 10px;
  padding-top: 3px;
  margin-bottom: 10px;
}

p:empty {
  display: none;
}

dl dd:last-child {
  margin-bottom: 0px;
}

em {
  font-style: italic;
}

q {
  border-left: solid 3px #e4422e;
  padding-left: 15px;
  margin-left: 10px;
  line-height: 24px;
  color: #727272;
}

address {
  margin: 20px 0;
  position: relative;
  padding-left: 50px;
  padding-top: 10px;
  font-style: italic;
  font-size: 12px;
  line-height: 19px;
}

address:before {
  content: "\f041";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #dcdcdc;
  font-size: 18px;
  padding-right: 0.5em;
  position: absolute;
  top: 10px;
  left: 0;
}

strong {
  font-weight: 600;
}
body.dark-mode strong {
  font-weight: 600;
}

ol strong {
  padding: 0;
}

big {
  font-size: 18px;
}

em {
  font-style: italic;
}

kbd {
  padding: 5px;
  background: #e4422e;
  color: #fff;
}

pre {
  padding: 20px;
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.3s, 0.3s;
  -webkit-transition-timing-function: linear, ease-in;
  -moz-transition-property: all;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: linear, ease-in;
  -o-transition-property: all;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: linear, ease-in;
}

pre:hover {
  padding: 30px;
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.3s, 0.3s;
  -webkit-transition-timing-function: linear, ease-in;
  -moz-transition-property: all;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: linear, ease-in;
  -o-transition-property: all;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: linear, ease-in;
}

var {
  color: #e4422e;
  font-weight: 600;
}

img[class*="wp-image-"],
img[class*="attachment-"],
.post img,
.post {
  max-width: 100%;
  height: auto;
}

.wp-caption {
  border: solid 1px #e8e8e8;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  max-width: 100%;
}

.wp-caption-text {
  margin-top: 10px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
  display: block;
}

.blog-content .gallery dt {
  margin-right: 10px;
}

.blog-content ul,
.page-main ul {
  list-style: circle;
  margin-left: 20px;
}

.blog-content ul li,
.page-main ul li {
  list-style: circle;
}

.blog-content ol,
.page-main ol {
  list-style: decimal;
  margin-left: 20px;
}

.post-materials ul li,
.page-main ul li {
  list-style: none;
}

.post-materials ul {
  margin-left: 0;
}

.wp-caption {
  max-width: 100%;
  border: 1px solid #ddd;
  background: #ebebeb;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.wp-caption .wp-caption-text {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.wp-caption img {
  margin-bottom: 10px !important;
  display: block;
}

.post-materials {
  display: block;
  margin: 10px 0;
}

.post-materials ul li {
  float: left;
  margin-right: 15px;
  font-size: 13px;
  color: #222;
}

.post-materials ul li i {
  padding-right: 6px;
  color: #e4422e;
}

.button {
  background: #e4422e;
  border-bottom: solid 3px #1f1b20;
  padding: 5px 18px;
  display: inline-block;
  border-radius: 3px;
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.3s, 0.3s;
  -webkit-transition-timing-function: linear, ease-in;
  -moz-transition-property: all;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: linear, ease-in;
  -o-transition-property: all;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: linear, ease-in;
}

.button a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.button:hover {
  background: #1f1b20;
}

.continue-reading {
  margin-top: 20px;
}

.continue-reading a {
  font-weight: 600;
}

.post-paginate p {
  color: #e4422e;
}

.post-paginate a {
  color: #888;
}

.blog-sidebar {
  margin-top: 50px;
}

.searchform .screen-reader-text {
  display: none;
}

.searchform {
  padding-bottom: 40px;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.sidebar-widget h3 {
  margin-top: 20px;
}

.sidebar-widget hr {
  margin: 10px 0;
  background: #e4422e;
  height: 2px;
  width: 20px;
}

.sidebar-widget ul li {
  position: relative;
  line-height: 31px;
}

.sidebar-widget select {
  width: 100%;
  border: solid 1px #e8e8e8;
  background: #fff;
  height: 40px;
}

.searchform input {
  margin-bottom: 0px;
}

.searchform input[type="text"] {
  width: 67%;
  float: left;
  border: solid 1px #eaeaea;
  height: 40px;
  padding-left: 10px;
  background: #fff;
  margin: 0;
  padding: 0;
  padding-left: 5px;
}

.searchform input[type="submit"] {
  width: 30%;
  float: right;
  display: inline-block;
  background: #e4422e;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: solid 3px #1f1b20;
  padding: 7px 14px;
  display: inline-block;
  border-radius: 3px;
  margin: 0;
}

/* Blog Pagination */

.pagination {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 20px !important;
  border-top: solid 2px #f0f0f0;
  display: inline-block;
  margin-bottom: 60px;
}

.pagination a:hover {
  color: #fff !important;
}

.prev-post {
  float: right;
  border-radius: 4px;
  padding: 4px 10px;
}

.next-post {
  float: left;
  border-radius: 4px;
  padding: 4px 10px;
  margin: 0;
}

.prev-post:hover,
.next-post:hover {
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.post-password-form {
  background: #f5f5f5;
  padding: 30px;
}

.post-password-form input[type="password"] {
  border: solid 1px #e8e8e8;
  height: 40px;
}

.post-password-form input[type="submit"] {
  background: #e4422e;
  border: none;
  height: 38px;
  color: #fff;
  padding: 0 10px;
  float: none;
}

.post-password-form input[type="submit"]:hover {
  background: #282828;
}

/* Custom Pagination */

.custom-pagination {
  margin-bottom: 25px !important;
}

.custom-pagination ul li {
  float: left;
  margin-right: 5px;
}

.custom-pagination ul li a {
  padding: 8px 13px;
  border: 1px solid #e8e8e8;
  background: #f0f0f0;
  font-size: 13px;
  color: #333;
  transition: color 0s;
}

.custom-pagination ul li a:hover {
  background-color: #e4422e;
  color: #fff !important;
}

.custom-pagination ul li.active a {
  background-color: #e4422e;
  color: #fff;
}

.ajax-load-more {
  display: inline-block;
  padding: 8px 16px;
  background-color: #e4422e;
  color: #fff !important;
}

.ajax-load-more:hover {
  cursor: pointer;
}

/* Comment form */

input[type="text"] {
  border: solid 1px #777;
  width: 100%;
  background: none;
  display: inline-block;
}

.contact-form-style input[type="submit"] {
  float: right;
  display: inline-block;
  background: #e4422e;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: solid 3px #1f1b20;
  padding: 5px 14px;
  display: inline-block;
  border-radius: 3px;
}

.contact-form-style input {
  margin-top: 10px;
  padding: 10px;
  border: solid 1px #eaeaea;
}

.contact-form-style textarea {
  margin-top: 20px;
  border: solid 1px #eaeaea;
  height: 220px;
  padding: 10px;
  width: 100%;
}

.user-comment-box {
  background: #f7f7f7;
  padding: 20px;
}

.user-comment-box .author a {
  font-size: 18px;
}

.user-comment-box .date {
  font-size: 10px;
}

ol.comment-list {
  list-style: none;
  margin-left: 0;
}

.comment-content h4 {
  padding: 0;
}

.comments .children li {
  list-style: none !important;
  margin: 0;
  margin-left: 20px;
}

.leave-a-comment p {
  font-size: 18px !important;
}

.comments-blog-post-top {
  border-bottom: solid 1px #ebebeb;
  padding-top: 10px;
  padding-bottom: 20px;
}

.com-title h4 {
  font-size: 21px;
  text-transform: uppercase;
  color: #222;
}

.com-info {
  margin-top: 10px;
  font-size: 12px;
}

::-webkit-input-placeholder {
  color: #555;
  font-size: 11px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: #555;
  font-size: 11px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #555;
  font-size: 11px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

:-ms-input-placeholder {
  color: #555;
  font-size: 11px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

/*-----------------------------------------------------------------------------------*/
/*   Contact Form
/*-----------------------------------------------------------------------------------*/

/* Contact Form */

.wpcf7 input[type="text"],
input[type="email"] {
  border: solid 1px #eaeaea;
  width: 70%;
  background: none;
  display: inline-block;
  margin-bottom: 20px;
  height: 40px;
  padding-left: 10px;
}

.wpcf7 input[type="submit"] {
  float: right;
  display: inline-block;
  background: #e4422e;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: solid 3px #1f1b20;
  padding: 5px 14px;
  display: inline-block;
  border-radius: 3px;
  margin-top: 20px;
}

.wpcf7 textarea {
  width: 100%;
  border: solid 1px #eaeaea;
  height: 220px;
  padding: 10px;
  width: 100%;
}

.form-submit {
  margin-top: 10px;
}

/*-----------------------------------------------------------------------------------*/
/*   Header
/*-----------------------------------------------------------------------------------*/

.empty-menu {
  color: #fff;
}

.empty-menu a {
  color: #fff;
  text-decoration: underline;
}

.logo {
  height: 90px;
  display: table;
  overflow: hidden;
}

.logo .limg {
  display: table-cell;
  vertical-align: middle;
}

.menu {
  height: 90px;
  line-height: 90px;
}

.header-search {
  position: relative;
  height: 90px;
  line-height: 90px;
  color: #fff;
  margin-left: 20px;
  width: 15px;
}

.header-search a i {
  color: #fff;
}

#mini-search-wrapper {
  position: absolute;
  left: -260px;
  top: 70px;
  width: 295px;
  background: #eaeaea;
  border-radius: 5px;
  text-align: center;
  padding: 10px 10px;
  display: none;
  height: 95px;
}

#mini-search-wrapper {
  line-height: 40px;
}

#mini-search-wrapper:before {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #eaeaea transparent;
  top: -10px;
  right: 20px;
}

#mini-search-wrapper input.s-input {
  background: #fff;
  height: 44px;
  min-width: 180px;
  border: solid 1px #e8e8e8;
  margin: 0;
  padding: 0 5px;
  font-size: 13px;
  margin-left: -10px;
}

#mini-search-wrapper input.s-submit {
  float: right;
  width: 80px;
  display: inline-block;
  background: #e4422e;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: solid 3px #1f1b20;
  padding: 5px 14px;
  display: inline-block;
  border-radius: 3px;
  line-height: 30px;
}

.pre-header {
  background: #1f1b20;
  border-radius: 4px;
  color: #fff;
  height: 50px;
}

.pre-header a {
  color: #fff;
}

.slicknav_menu {
  display: none;
}

/* Header Social */

.social-icons {
  height: 90px;
  line-height: 90px;
  font-size: 16px;
}

.social-icons ul li {
  float: left;
  margin-left: 20px;
}

.social-icons ul li i.fa-facebook {
  color: #4964a1;
}

.social-icons ul li i.fa-twitter {
  color: #55acee;
}

.social-icons ul li i.fa-instagram {
  color: #3f729b;
}

.social-icons ul li i.fa-tumblr {
  color: #35465c;
}

.social-icons ul li i.fa-youtube-play {
  color: #e52d27;
}

.social-icons ul li i.fa-google-plus {
  color: #dd4b39;
}

.social-icons ul li i.fa-lastfm {
  color: #c3000d;
}

.social-icons ul li i.fa-soundcloud {
  color: #ff8800;
}

.social-icons ul li i.fa-spotify {
  color: #7ab800;
}

/* Nav */

.sf-menu,
.sf-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-menu ul {
  position: absolute;
  display: none;
  top: 90%;
  left: 10px;
  z-index: 99;
}

.sf-menu .sub-menu .sub-menu {
  top: 0;
}

.sf-menu ul li ul {
  position: absolute;
  display: none;
  top: -37px;
  left: 100%;
  z-index: 99;
}

.sf-menu li:hover > ul,
.sf-menu li.sf-menuHover > ul {
  display: block;
}

.sf-menu li {
  white-space: nowrap;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  float: left;
  padding-left: 25px;
  letter-spacing: 1px;
}

.sf-menu li a {
  display: block;
  position: relative;
  zoom: 1;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.menu-container-top .sf-menu li a {
  display: block;
  position: relative;
  zoom: 1;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.sf-menu li a:hover {
  text-decoration: none;
  color: #e4422e !important;
}

.sf-menu ul li {
  width: 100%;
  min-width: 200px;
  background: #101010;
  padding: 10px;
  border-bottom: 1px solid #222;
  line-height: 30px;
  padding: 10px 24px;
}

.sf-menu ul li:hover {
  background: #222;
}

.sf-menu ul li:last-child {
  border-bottom: 0;
}

.sf-menu ul li a {
  color: #a8a8a8 !important;
  font-size: 14px;
}

.sf-menu ul li a:hover {
  color: #a8a8a8 !important;
}

.sf-menu .menu-item-has-children ul {
  float: none;
}

.sf-menu .menu-item-has-children {
  position: relative;
  margin-right: 20px;
}

.sf-menu .sub-menu .menu-item-has-children {
  position: relative;
  margin-right: 0px;
}

.sf-menu .menu-item-has-children:before {
  content: "\f078";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #fff !important;
  font-size: 9px;
  padding-right: 0.5em;
  position: absolute;
  top: 0px;
  right: -23px;
}

.menu-container-top .sf-menu .menu-item-has-children:before {
  content: "\f078";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #fff !important;
  font-size: 9px;
  padding-right: 0.5em;
  position: absolute;
  top: 0px;
  right: -23px;
}

.sf-menu ul.sub-menu .menu-item-has-children:before {
  content: "\f054";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #a8a8a8 !important;
  font-size: 9px;
  padding-right: 0.5em;
  position: absolute;
  top: 10px;
  right: 10px;
  background: #101010;
}

.sf-menu ul.sub-menu ul.sub-menu .menu-item-has-children:before {
  display: none;
}

.sf-menu li ul.sub-menu li ul.sub-menu li ul.sub-menu {
  display: none !important;
}

ul.sub-menu li.menu-item-has-children:hover:before {
  background: #222;
}

ul.sub-menu li ul li {
  float: none !important;
}

.sf-menu .menu-item-has-children:hover:before {
  color: #e4422e !important;
}

/* Header Alphabet */

.lyric-alphabet {
  flex: row;
}

.lyric-alphabet ul {
  padding-left: 10px;
}

.lyric-alphabet ul li {
  float: left;
  line-height: 50px;
}

.lyric-alphabet ul li:hover {
  background: #000;
}

.lyric-alphabet ul li a {
  font-size: 13px;
  font-weight: 600;
  padding: 0px 14px;
  display: inline-block;
}

.lyric-alphabet ul li a:hover {
  color: #e4422e;
}

.submit-lyric {
  background: #e4422e;
  width: 16%;
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  line-height: 50px;
}

.submit-lyric a {
  width: 100%;
  line-height: 50px !important;
  display: block;
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.submit-lyric a:hover {
  color: #f5f5f5 !important;
}

.lyric-home {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-bottom: 150px;
  background: #302932;
}

.lyric-search {
  padding: 130px 0 75px 0;
}

.lyric-search h1 {
  color: #fff;
  font-size: 35px;
  letter-spacing: 0.03em;
}

.lyric-search-input {
  margin-top: 35px;
}

.search-wrapper {
  width: 55%;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}

.lsearchl {
  width: 100%;
}

.lsearchr {
  width: 20px;
  margin-left: -40px;
}

.search-wrapper i {
  color: #e4422e;
  cursor: pointer;
  font-size: 18px;
}

.lyric-search-input input[type="search"] {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  border: solid 5px rgba(255, 255, 255, 0.4);
  padding-left: 20px;
}

.slabel {
  margin-top: 20px;
}

.lyric-search-input input[type="submit"] {
  width: 100%;
  position: relative;
  border: none;
  background: none;
}

.big-letter {
  margin-top: 120px;
}

.big-letter h1 {
  font-size: 150px;
}

/* Popular Lyrics */
.content-capsule {
  position: relative;
  flex: 1 0 auto;
}

.content-pull {
  width: 100% !important;
  position: absolute;
  top: -100px;
  left: 0;
  background: #fff !important;
}

.popular-lyrics-container,
.page-container {
  position: relative;
}

.popular-lyrics,
.latest-lyrics-container {
  background: #fff !important;
  padding: 28px 20px 20px 20px;
}

.latest-lyrics-container {
  padding-bottom: 40px !important;
}

.second-container {
  background: #fff;
  padding: 25px 0px 5px 25px;
}

.second-padding {
  padding: 5px 25px !important;
}

.latest-lyrics-container {
  padding-bottom: 30px;
}

.latestnew.title {
  margin-left: 15px;
  margin-bottom: 5px;
}

.latestnew.title h3 i {
  font-size: 21px;
  color: #e4422e;
  padding-right: 7px;
}

.popular-lyrics .title h3 i,
.latest-lyrics-container h3 i {
  font-size: 21px;
  color: #e4422e;
  padding-right: 7px;
}

.full-screen-list ul li {
  position: relative;
  height: 350px;
  margin-bottom: 20px;
}

.full-screen-list ul li:last-child {
  margin-right: 0;
}

.full-screen-list ul li a:hover {
  text-decoration: underline !important;
}

.full-screen-list ul li {
  background-size: cover !important;
  background-position: center center !important;
}

.full-screen-list-inside ul li {
  float: left;
  position: relative;
  height: 350px;
  width: 205px;
  margin-right: 16px !important;
  margin-bottom: 20px;
  background-size: cover !important;
  background-position: center center !important;
}

.full-artist-album-list ul li {
  margin-right: 13px !important;
  margin-bottom: 15px !important;
}

.full-screen-list-inside ul li:last-child {
  margin-right: 0;
}

.full-screen-list-inside ul li a:hover {
  text-decoration: underline !important;
}

#popular-listr .owl-controls {
  width: 100% !important;
}

#popular-listr .owl-prev {
  position: absolute;
  left: -45px;
  top: 50%;
  width: 75px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  margin-top: -50px;
}

#popular-listr .owl-prev:after {
  content: "\f053";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #000 !important;
  font-size: 35px;
  position: absolute;
  top: 30px;
  left: 25px;
}

#popular-listr .owl-next {
  position: absolute;
  right: -45px;
  top: 50%;
  width: 75px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  margin-top: -50px;
}

#popular-listr .owl-next:after {
  content: "\f054";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #000 !important;
  font-size: 35px;
  position: absolute;
  top: 30px;
  left: 25px;
}

.item-text {
  position: absolute;
  padding: 10px;
  z-index: 99999999;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.item-text h3 {
  line-height: 21px;
  padding-bottom: 5px;
}

.item-text a,
.item-text h3 {
  color: #fff;
}

.item-text a:hover {
  color: #fff !important;
}

.second-container .gradient ul,
.second-container .custom-pagination ul,
.second-container .full-artist-album-list ul {
  list-style: none;
  margin-left: 0;
}

.gradient ul li .item,
.owl-item .item {
  width: 100%;
  height: 100%;
  z-index: 99999;
  position: absolute;
  background: #d71a8d;
  background: -moz-linear-gradient(top, #d71a8d 0%, #f84327 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #d71a8d),
    color-stop(100%, #f84327)
  );
  background: -webkit-linear-gradient(top, #d71a8d 0%, #f84327 100%);
  background: -o-linear-gradient(top, #d71a8d 0%, #f84327 100%);
  background: -ms-linear-gradient(top, #d71a8d 0%, #f84327 100%);
  background: linear-gradient(to bottom, #d71a8d 0%, #f84327 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d71a8d', endColorstr='#f84327', GradientType=0);
  opacity: 0.9;
}

.gradient ul li:nth-child(2n) .item,
.owl-item:nth-child(2n) .item {
  background: #684dbe;
  background: -moz-linear-gradient(top, #684dbe 0%, #2387dc 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #684dbe),
    color-stop(100%, #2387dc)
  );
  background: -webkit-linear-gradient(top, #684dbe 0%, #2387dc 100%);
  background: -o-linear-gradient(top, #684dbe 0%, #2387dc 100%);
  background: -ms-linear-gradient(top, #684dbe 0%, #2387dc 100%);
  background: linear-gradient(to bottom, #684dbe 0%, #2387dc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#684dbe', endColorstr='#2387dc', GradientType=0);
  opacity: 0.9;
}

.gradient ul li:nth-child(3n) .item,
.owl-item:nth-child(3n) .item {
  background: #523498;
  background: -moz-linear-gradient(top, #523498 0%, #903071 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #523498),
    color-stop(100%, #903071)
  );
  background: -webkit-linear-gradient(top, #523498 0%, #903071 100%);
  background: -o-linear-gradient(top, #523498 0%, #903071 100%);
  background: -ms-linear-gradient(top, #523498 0%, #903071 100%);
  background: linear-gradient(to bottom, #523498 0%, #903071 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#523498', endColorstr='#903071', GradientType=0);
  opacity: 0.9;
}

.gradient ul li:nth-child(4n) .item,
.owl-item:nth-child(4n) .item {
  background: #edc40a;
  background: -moz-linear-gradient(top, #edc40a 0%, #cf482f 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #edc40a),
    color-stop(100%, #cf482f)
  );
  background: -webkit-linear-gradient(top, #edc40a 0%, #cf482f 100%);
  background: -o-linear-gradient(top, #edc40a 0%, #cf482f 100%);
  background: -ms-linear-gradient(top, #edc40a 0%, #cf482f 100%);
  background: linear-gradient(to bottom, #edc40a 0%, #cf482f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#edc40a', endColorstr='#cf482f', GradientType=0);
  opacity: 0.9;
}

.lyric-search-input ::-webkit-input-placeholder {
  color: #848484;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-family: PT Sans;
  font-weight: 400;
}

.homepage-advertisement {
  background: #fff;
  padding: 0 20px;
  padding-top: 20px;
  padding-bottom: 12px;
}

.homepage-news {
  background: #fff !important;
  padding: 0 5px;
  padding-top: 27px;
  padding-bottom: 10px;
}

.lyric-search-input :-moz-placeholder {
  /* Firefox 18- */
  color: #848484;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-family: PT Sans;
  font-weight: 400;
}

.lyric-search-input ::-moz-placeholder {
  /* Firefox 19+ */
  color: #848484;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-family: PT Sans;
  font-weight: 400;
}

.lyric-search-input :-ms-input-placeholder {
  color: #848484;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-family: PT Sans;
  font-weight: 400;
}

/* Lyrics */

.latest-lyrics ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.latest-lyrics ul li {
  padding: 16px 32px;
  display: flex;
}

.latest-lyrics ul li:nth-child(2n + 2) {
  background: #f9f9f9;
}

.latest-lyrics ul li h5 {
  padding: 0;
}

.latest-lyrics ul li .lyric-content {
  padding-left: 10px;
}

.lyric-number:after {
  content: ".";
}

/*-----------------------------------------------------------------------------------*/
/*   Lyrics
/*-----------------------------------------------------------------------------------*/

.lyrics-title {
  position: absolute;
  bottom: 105px;
}

@media (max-width: 480px) {
  .lyrics-title {
    position: static;
    bottom: 105px;
  }
}

.lyrics-title h1 {
  padding-bottom: 20px;
}

.lyrics-title h3 {
  color: #fff;
}

.lyrics-title.album {
  bottom: 120px !important;
}

.padding {
  padding: 30px;
}

.padding-in {
  padding: 25px;
}

.artist-padding {
  padding: 13px;
}

.lyric-line {
  border-bottom: solid 1px #f0f0f0;
  padding-bottom: 10px;
}

.lyric-text {
  font-size: 15px;
  line-height: 25px;
}

.lyric-print i {
  padding-right: 3px;
}

.lyric-print a {
  color: #e4422e;
}

.background-single-lyrics {
  height: 500px;
  padding-bottom: 500px;
  background-size: cover;
}

.single-lyrics-overlay {
  position: relative;
  background: rgba(31, 27, 32, 0.7);
  height: 500px;
  padding-bottom: 500px;
}

.lyrics-title {
  max-width: 1140px;
}

.lyrics-title h3 a {
  color: #e4422e;
}

.lyrics-title h1 {
  color: #fff;
  font-size: 45px;
  padding-right: 15px;
  line-height: 35px;
}
body.dark-mode .lyrics-title h1 {
  color: #fff;
  font-size: 45px;
  padding-right: 15px;
  line-height: 35px;
}
@media only screen and (max-width: 399px) {
  body.dark-mode .lyrics-title h1 {
    color: #fff;
    font-size: 25px;
    padding-right: 15px;
    line-height: 25px;
  }
}
@media only screen and (max-width: 767px) {
  .lyrics-title #artist-title {
    display: none;
  }
}

.lyrics-title h4 a {
  color: #c9c9c9;
  line-height: 40px;
}

.lyrics-title h4 {
  color: #c9c9c9;
}

.single-widget {
  margin-bottom: 20px;
}

.single-widget h4 {
  border-bottom: solid 1px #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.lyric-bottom {
  border-top: solid 1px #f0f0f0;
  border-bottom: solid 1px #f0f0f0;
  padding: 15px 0;
}

.lyric-bottom .added {
  margin-top: 10px;
  margin-right: 5px;
}

.lyric-bottom h3 {
  padding: 5px 0;
}

.lyric-bottom h4 {
  padding: 0;
  margin-top: 7px;
  margin-right: 5px;
}

.lyric-share {
  margin-top: 3px;
}

.lyric-share ul li {
  float: left;
  list-style: none;
  margin-left: 5px;
}

.lyric-share ul li:hover {
  opacity: 0.9;
}

.lyric-share ul li i {
  width: 30px;
  line-height: 30px;
  height: 30px;
  display: inline-block;
  color: #fff;
  text-align: center;
}

.lyric-share ul li i.fa-facebook {
  background: #4964a1;
}

.lyric-share ul li i.fa-twitter {
  background: #55acee;
}

.table-title {
  font-weight: 600;
}

.album-line {
  background: #f6f6f6;
  padding: 15px 0;
}

.list-line {
  border-bottom: solid 1px #f0f0f0;
  padding: 10px 0;
  padding-bottom: 20px;
}

div.list-line:last-child {
  border-bottom: none;
}

.big-font a {
  font-size: 18px;
}

/*-----------------------------------------------------------------------------------*/
/*   Submit Lyrics
/*-----------------------------------------------------------------------------------*/

#user-submitted-posts label {
  font-size: 14px;
  color: #444;
  line-height: 24px;
  margin-bottom: 3px !important;
}

#user-submitted-posts input {
  border: solid 1px #eaeaea;
  width: 90%;
  background: none;
  display: inline-block;
  margin-top: 3px !important;
  height: 40px;
  padding-left: 10px;
  margin-bottom: 15px !important;
}

#user-submitted-posts textarea {
  border: solid 1px #eaeaea;
  width: 90%;
  background: none;
  display: inline-block;
  margin-top: 3px !important;
  padding-left: 10px;
  margin-bottom: 15px !important;
  width: 90% !important;
}

#user-submitted-posts .usp-video-embed textarea {
  height: 80px;
}

#user-submitted-posts .selectize-input {
  border: solid 1px #eaeaea !important;
  padding: 0 10px !important;
  border-radius: 0;
  width: 90%;
  height: 40px !important;
}

#user-submitted-posts .selectize-input input {
  margin-top: 0 !important;
}

#user-submitted-posts .selectize-input {
  padding-top: 0px !important;
}

#user-submitted-posts .selectize-input.has-items {
  padding-top: 10px !important;
}

#user-submitted-posts .selectize-field {
  font-size: 14px;
  color: #444;
  line-height: 24px;
}

#user-submitted-posts .selectize-input.input-active {
  padding-top: 0 !important;
}

#user-submitted-posts .selectize-field input::-webkit-input-placeholder {
  font-size: 14px;
  color: #888;
  line-height: 24px;
  font-weight: 400;
  margin-top: 0 !important;
}

#user-submitted-posts .selectize-field input:-moz-placeholder {
  /* Firefox 18- */
  font-size: 14px;
  color: #888;
  line-height: 24px;
  font-weight: 400;
  margin-top: 0 !important;
}

#user-submitted-posts .selectize-field input::-moz-placeholder {
  /* Firefox 19+ */
  font-size: 14px;
  color: #888;
  line-height: 24px;
  font-weight: 400;
  margin-top: 0 !important;
}

#user-submitted-posts .selectize-field input:-ms-input-placeholder {
  font-size: 14px;
  color: #888;
  line-height: 24px;
  font-weight: 400;
  margin-top: 0 !important;
}

#usp-submit {
  width: 90%;
}

#usp-submit input[type="submit"] {
  float: right;
  width: 100px;
  display: inline-block;
  background: #e4422e;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: solid 3px #1f1b20;
  padding: 5px 14px;
  display: inline-block;
  border-radius: 3px;
  margin-top: 20px;
}

#user-submitted-posts #usp-success-message {
  font-size: 14px;
  color: #888;
  line-height: 24px;
}

#user-submitted-posts .selectize-input.focus {
  border-color: #eaeaea;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

#user-submitted-posts .selectize-control.single .selectize-input:after {
  border-color: #999 transparent transparent transparent !important;
}

#user-submitted-posts
  .selectize-control.single
  .selectize-input.dropdown-active:after {
  border-width: 0 5px 5px 5px;
  margin-top: -4px;
  border-color: transparent transparent #999 transparent !important;
}

/*-----------------------------------------------------------------------------------*/
/*   Bible Quiz
/*-----------------------------------------------------------------------------------*/

/* Bible Quiz Container */
.bible-quiz-container {
  background: #fff;
  padding: 28px 20px 20px 20px;
  margin-top: 20px;
}

/* Bible Quiz Container - Consistent with other homepage sections */
.bible-quiz-container {
  background: #fff !important;
  padding: 28px 20px 20px 20px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.bible-quiz-container .title {
  margin-bottom: 15px;
}

.bible-quiz-container .title h3 {
  font-family: Oswald;
  font-size: 21px;
  color: #000;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
}

.bible-quiz-container .title h3 i {
  font-size: 21px;
  color: #e4422e;
  padding-right: 7px;
}

/* Quiz Content Area - Consistent with other sections */
.quiz-content {
  margin-top: 10px;
}

/* Ensure consistent clearfix behavior */
.bible-quiz-container.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Prevent quiz from interfering with other elements */
.bible-quiz-container * {
  box-sizing: border-box;
}

/* Ensure proper spacing between sections */
.bible-quiz-container + .container {
  margin-top: 20px;
}

/* Maintain consistent section spacing */
.latest-lyrics-container + .container .bible-quiz-container {
  margin-top: 20px;
}

/* Performance-optimized quiz animations */
.bible-quiz-container .quiz-option {
  transform-origin: center;
  will-change: transform, opacity;
  /* Performance optimization: Use GPU acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: all 0.3s ease;
}

.bible-quiz-container .quiz-feedback {
  transform-origin: top;
  will-change: opacity, transform;
  /* Performance optimization: Use GPU acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: all 0.3s ease;
}

/* Performance optimization: Contain layout changes */
.bible-quiz-container .quiz-completion {
  contain: layout style paint;
}

/* Performance optimization: Smooth question transitions */
.quiz-question.question-transitioning {
  opacity: 0;
  transform: translateY(-5px) translateZ(0);
  transition: all 0.3s ease;
}

/* Performance optimization: Mobile layout optimizations */
.bible-quiz-container.mobile-layout .quiz-options {
  grid-template-columns: 1fr;
  gap: 10px;
}

.bible-quiz-container.mobile-layout .quiz-option {
  padding: 12px;
  font-size: 14px;
}

/* Ensure quiz maintains proper visual hierarchy */
.bible-quiz-container {
  isolation: isolate;
}

/* Prevent quiz from interfering with page scrolling */
.bible-quiz-container .quiz-option:focus {
  outline: 2px solid #e4422e;
  outline-offset: 2px;
}

/* Ensure quiz buttons don't interfere with other interactive elements */
.bible-quiz-container button {
  position: relative;
  z-index: 2;
}

/* Question Display */
.quiz-question {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.4;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid #e4422e;
  border-radius: 4px;
}

.quiz-question-counter {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 400;
}

/* Answer Options Grid */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.quiz-option {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.quiz-option:hover {
  border-color: #e4422e;
  background: #fff5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(228, 66, 46, 0.1);
}

.quiz-option.selected {
  border-color: #e4422e;
  background: #fff5f5;
  box-shadow: 0 2px 4px rgba(228, 66, 46, 0.2);
}

.quiz-option.correct {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.quiz-option.incorrect {
  background: #f8d7da;
  border-color: #dc3545;
  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: 600;
  color: #e4422e;
  margin-right: 8px;
  font-size: 16px;
}

/* Feedback Section */
.quiz-feedback {
  margin: 20px 0;
  padding: 15px;
  border-radius: 8px;
  display: none;
}

.quiz-feedback.show {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.quiz-feedback.correct {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.quiz-feedback.incorrect {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.quiz-feedback-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.quiz-feedback-explanation {
  margin-bottom: 8px;
  line-height: 1.4;
}

.quiz-feedback-reference {
  font-style: italic;
  font-size: 14px;
  color: #666;
}

/* Quiz Controls */
.quiz-controls {
  text-align: center;
  margin-top: 20px;
}

.quiz-btn {
  background: #e4422e;
  border-bottom: solid 3px #1f1b20;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.quiz-btn:hover {
  background: #1f1b20;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.quiz-btn:disabled {
  background: #ccc;
  border-bottom-color: #999;
  cursor: not-allowed;
  transform: none;
}

.quiz-btn:disabled:hover {
  background: #ccc;
  transform: none;
}

/* Quiz Completion */
.quiz-completion {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 20px;
}

.quiz-completion h4 {
  color: #e4422e;
  margin-bottom: 15px;
  font-size: 24px;
}

.quiz-score {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.quiz-encouragement {
  font-style: italic;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Score Summary Styles */
.score-summary {
  margin-bottom: 20px;
}

.score-main {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.score-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.stat-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Performance Badge Styles */
.performance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 20px;
  margin-top: 15px;
  font-weight: 600;
  font-size: 14px;
}

.performance-badge.badge-gold {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #8b6914;
  border: 2px solid #ffd700;
}

.performance-badge.badge-silver {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #666;
  border: 2px solid #c0c0c0;
}

.performance-badge.badge-bronze {
  background: linear-gradient(135deg, #cd7f32, #daa520);
  color: #5d4e37;
  border: 2px solid #cd7f32;
}

.performance-badge.badge-participant {
  background: linear-gradient(135deg, #e4422e, #ff6b6b);
  color: white;
  border: 2px solid #e4422e;
}

.performance-badge.badge-beginner {
  background: linear-gradient(135deg, #28a745, #5cb85c);
  color: white;
  border: 2px solid #28a745;
}

.badge-icon {
  font-size: 18px;
}

.badge-text {
  font-size: 13px;
  letter-spacing: 0.3px;
}

/* Loading State */
.quiz-loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.quiz-loading i {
  font-size: 24px;
  color: #e4422e;
  animation: spin 1s linear infinite;
}

/* Quiz Error Styles */
.quiz-error {
  text-align: center;
  padding: 30px 20px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  margin-top: 20px;
}

.quiz-error h4 {
  color: #721c24;
  margin-bottom: 15px;
  font-size: 20px;
}

.quiz-error p {
  color: #721c24;
  margin-bottom: 20px;
  line-height: 1.4;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress Indicator */
.quiz-progress {
  background: #e9ecef;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}

.quiz-progress-bar {
  background: #e4422e;
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

.quiz-progress-container {
  background: #e9ecef;
  height: 4px;
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

/*-----------------------------------------------------------------------------------*/
/*   Bible Quiz Styles - Final Polish
/*-----------------------------------------------------------------------------------*/

/* Bible Quiz Container */
.bible-quiz-container {
  background: #fff;
  padding: 28px 20px 20px 20px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.bible-quiz-container:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Quiz Title */
.bible-quiz-container .title h3 {
  color: #333;
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
}

.bible-quiz-container .title h3 i {
  color: #e4422e;
  margin-right: 10px;
  font-size: 26px;
}

/* Quiz Progress */
#quiz-progress {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid #e9ecef;
}

#question-counter {
  font-weight: 600;
  color: #495057;
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

#question-counter.final-question {
  color: #e4422e;
  font-weight: 700;
}

/* Progress Bar */
.quiz-progress-container {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #e4422e 0%, #ff6b4a 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
  position: relative;
}

.quiz-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Progress Dots */
.quiz-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.quiz-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dee2e6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quiz-dot.completed {
  background: #28a745;
  transform: scale(1.1);
}

.quiz-dot.current {
  background: #e4422e;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(228, 66, 46, 0.3);
}

.quiz-dot.upcoming {
  background: #dee2e6;
}

/* Question Display */
#quiz-question {
  margin-bottom: 25px;
}

.question-metadata {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 6px;
  border-left: 4px solid #e4422e;
}

.question-category {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.question-category i {
  margin-right: 6px;
  color: #e4422e;
}

.question-difficulty {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-easy {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.difficulty-medium {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.difficulty-hard {
  background: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

.question-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: #333;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.question-transitioning {
  opacity: 0.7;
  transform: translateY(-10px);
}

/* Answer Options */
#quiz-answers-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.quiz-option {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.5;
  min-height: 80px;
  display: flex;
  align-items: center;
  text-align: left;
}

.quiz-option::before {
  content: attr(data-answer);
  position: absolute;
  /* top: 8px; */
  left: 12px;
  background: #e4422e;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.quiz-option:hover {
  border-color: #e4422e;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(228, 66, 46, 0.2);
}

.quiz-option:focus {
  outline: none;
  border-color: #e4422e;
  box-shadow: 0 0 0 3px rgba(228, 66, 46, 0.3);
}

.quiz-option.selected {
  border-color: #007bff;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  transform: translateY(-2px);
}

.quiz-option.selected::before {
  background: #007bff;
}

.quiz-option.correct {
  border-color: #28a745;
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  animation: correctPulse 0.6s ease;
}

.quiz-option.correct::before {
  background: #28a745;
  content: "✓";
}

.quiz-option.incorrect {
  border-color: #dc3545;
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  animation: incorrectShake 0.6s ease;
}

.quiz-option.incorrect::before {
  background: #dc3545;
  content: "✗";
}

.quiz-option.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.quiz-option.touched {
  transform: scale(0.98);
}

@keyframes correctPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes incorrectShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* Feedback Container */
#quiz-feedback-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #e4422e;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-correct {
  border-left-color: #28a745;
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.feedback-incorrect {
  border-left-color: #dc3545;
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.feedback-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  font-weight: 500;
}

.feedback-explanation {
  font-size: 15px;
  line-height: 1.5;
  color: #495057;
  margin-bottom: 10px;
}

.feedback-reference {
  font-size: 14px;
  font-style: italic;
  color: #6c757d;
  font-weight: 500;
}

/* Quiz Controls */
#quiz-controls {
  text-align: center;
  margin-top: 25px;
}

.quiz-btn {
  background: linear-gradient(135deg, #e4422e 0%, #d73527 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.quiz-btn:hover::before {
  left: 100%;
}

.quiz-btn:hover {
  background: linear-gradient(135deg, #d73527 0%, #c82e20 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(228, 66, 46, 0.4);
}

.quiz-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(228, 66, 46, 0.3);
}

.quiz-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 66, 46, 0.3);
}

/* Quiz Completion - Enhanced */
#quiz-completion {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 15px;
  border: 2px solid #e9ecef;
  margin-top: 20px;
  animation: completionAppear 0.8s ease;
}

@keyframes completionAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.completion-header {
  margin-bottom: 30px;
}

.completion-header h3 {
  color: #e4422e !important;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}
body.dark-mode .completion-header h3 {
  color: #e4422e !important;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.completion-subtitle {
  font-size: 18px;
  color: #6c757d;
  font-weight: 500;
}

.completion-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.completion-icon.gold-trophy {
  color: #ffd700 !important;
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.completion-icon.silver-trophy {
  color: #c0c0c0 !important;
  text-shadow: 2px 2px 4px rgba(192, 192, 192, 0.3);
}

.completion-icon.bronze-trophy {
  color: #cd7f32 !important;
  text-shadow: 2px 2px 4px rgba(205, 127, 50, 0.3);
}

.completion-icon.participation-trophy {
  color: #6c757d !important;
}
/*Dark Mode: Trophy*/
body.dark-mode .completion-icon.gold-trophy {
  color: #ffd700 !important;
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}
body.dark-mode .completion-icon.silver-trophy {
  color: #c0c0c0 !important;
  text-shadow: 2px 2px 4px rgba(192, 192, 192, 0.3);
}
body.dark-mode .completion-icon.bronze-trophy {
  color: #cd7f32 !important;
  text-shadow: 2px 2px 4px rgba(205, 127, 50, 0.3);
}
body.dark-mode .completion-icon.participation-trophy {
  color: #6c757d !important;
}

.completion-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa !important;
  border-radius: 10px;
}

body.dark-mode .completion-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #444 !important;
  border-radius: 10px;
}

.stat-item {
  background: white !important;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

body.dark-mode .stat-item {
  background: #555 !important;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-item.score-excellent .stat-value {
  color: #28a745 !important;
}

.stat-item.score-very-good .stat-value {
  color: #17a2b8 !important;
}

.stat-item.score-good .stat-value {
  color: #ffc107 !important;
}

.stat-item.score-fair .stat-value {
  color: #fd7e14 !important;
}

.stat-item.score-needs-improvement .stat-value {
  color: #dc3545 !important;
}

/*Dark Mode: Score*/
body.dark-mode .stat-item.score-excellent .stat-value {
  color: #28a745 !important;
}

body.dark-mode .stat-item.score-very-good .stat-value {
  color: #17a2b8 !important;
}

body.dark-mode .stat-item.score-good .stat-value {
  color: #ffc107 !important;
}

body.dark-mode .stat-item.score-fair .stat-value {
  color: #fd7e14 !important;
}

body.dark-mode .stat-item.score-needs-improvement .stat-value {
  color: #dc3545 !important;
}

.completion-message {
  margin-bottom: 30px;
}

.encouragement-text {
  margin-bottom: 25px;
}

.grade-message {
  font-size: 20px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 10px;
}

.personal-message {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.5;
}

.bible-verse-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  padding: 25px;
  position: relative;
  margin: 20px 0;
  /* border-left: 4px solid #e4422e !important; */
}
body.dark-mode .bible-verse-container {
  background: #444 !important;
  border-radius: 10px;
  padding: 25px;
  position: relative;
  margin: 20px 0;
  border-left: 4px solid #e4422e !important;
}

.bible-verse {
  /* font-style: italic; */
  color: #495057;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
}

.bible-verse::before {
  /* content: '"'; */
  font-size: 36px;
  color: #e4422e;
  position: absolute;
  top: -12px;
  left: 0px;
  font-family: serif;
}

.bible-verse::after {
  /* content: '"'; */
  font-size: 36px;
  color: #e4422e;
  position: absolute;
  bottom: -25px;
  right: 6px;
  font-family: serif;
}

.bible-reference {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  text-align: right;
}

.quiz-sharing-section {
  background: #e3f2fd !important;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 1px solid #bbdefb;
}
body.dark-mode .quiz-sharing-section {
  background: #666 !important;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 1px solid #bbdefb;
}

.quiz-sharing-section h4 {
  color: #1976d2;
  margin-bottom: 15px;
  font-size: 18px;
}

.sharing-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.share-btn {
  background: #fff;
  border: 2px solid #dee2e6;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
body.dark-mode .share-btn {
  background: #555 !important;
  border: 2px solid #dee2e6;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.share-btn.facebook {
  color: #4267b2;
  border-color: #4267b2;
}

.share-btn.facebook:hover {
  background: #4267b2;
  color: white;
}
body.dark-mode .share-btn.facebook {
  color: #4267b2;
  border-color: #4267b2;
}
body.dark-mode .share-btn.facebook:hover {
  background: #4267b2;
  color: white;
}

.share-btn.twitter {
  color: #1da1f2;
  border-color: #1da1f2;
}

.share-btn.twitter:hover {
  background: #1da1f2;
  color: white;
}
body.dark-mode .share-btn.twitter {
  color: #1da1f2;
}
body.dark-mode .share-btn.twitter:hover {
  background: #1da1f2;
  color: white;
}

.share-btn.copy {
  color: #6c757d;
  border-color: #6c757d;
}

.share-btn.copy:hover {
  background: #6c757d;
  color: white;
}

.share-feedback {
  color: #28a745;
  font-size: 14px;
  font-weight: 500;
}

.additional-features {
  margin-bottom: 25px;
}

.feature-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-btn {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.feature-btn:hover {
  background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.quiz-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.footer-text {
  color: #6c757d;
  font-style: italic;
  margin-bottom: 10px;
}

.quiz-stats-summary {
  font-size: 12px;
  color: #868e96;
  line-height: 1.4;
}

/* Score Display Enhancements */
.score-excellent {
  color: #28a745;
}

.score-good {
  color: #ffc107;
}

.score-needs-improvement {
  color: #dc3545;
}

.score-celebration {
  animation: celebrate 1s ease-in-out;
}

@keyframes celebrate {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* Quiz Error States */
.quiz-error {
  text-align: center;
  padding: 30px;
  background: #f8d7da;
  border: 2px solid #f5c6cb;
  border-radius: 10px;
  color: #721c24;
}

.quiz-error h4 {
  color: #721c24;
  margin-bottom: 15px;
}

/* Accessibility Enhancements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-quiz {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #e4422e;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.3s;
}

.skip-quiz:focus {
  top: 6px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .bible-quiz-container {
    padding: 20px 15px;
    margin-top: 15px;
  }

  #quiz-answers-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quiz-option {
    padding: 15px;
    min-height: 70px;
    font-size: 15px;
  }

  .question-text {
    font-size: 16px;
    padding: 15px;
  }

  .question-metadata {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .quiz-dots {
    gap: 6px;
  }

  .quiz-dot {
    width: 10px;
    height: 10px;
  }

  .bible-verse {
    font-size: 14px;
    padding: 15px;
  }

  .bible-verse::before,
  .bible-verse::after {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .bible-quiz-container .title h3 {
    font-size: 20px;
  }

  .quiz-btn {
    padding: 10px 20px;
    font-size: 14px;
    margin: 5px;
  }

  #quiz-completion {
    padding: 25px 15px;
  }

  .completion-header h3 {
    font-size: 24px;
  }

  .completion-subtitle {
    font-size: 16px;
  }

  .completion-icon {
    font-size: 36px;
  }

  .completion-stats {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px;
  }

  .stat-item {
    padding: 15px;
  }

  .stat-value {
    font-size: 20px;
  }

  .grade-message {
    font-size: 18px;
  }

  .personal-message {
    font-size: 14px;
  }

  .bible-verse {
    font-size: 14px;
  }

  .bible-verse::before,
  .bible-verse::after {
    font-size: 28px;
  }

  .sharing-buttons {
    flex-direction: column;
    align-items: center;
  }

  .share-btn {
    width: 200px;
    justify-content: center;
  }

  .feature-buttons {
    flex-direction: column;
    align-items: center;
  }

  .feature-btn {
    width: 200px;
    justify-content: center;
  }

  .modal-content {
    margin: 10px;
    max-height: 95vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }

  .difficulty-btn {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .answer-item {
    padding: 15px;
  }

  .answers-list {
    gap: 15px;
  }
}

/* Print Styles */
@media print {
  .bible-quiz-container {
    display: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .quiz-option {
    border-width: 3px;
  }

  .quiz-option:focus {
    border-width: 4px;
  }

  .quiz-progress-bar {
    background: #000;
  }
}

/* Quiz Modals */
.quiz-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(2px);
}

.modal-content {
  background: white;
  border-radius: 15px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 25px 30px 20px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #e4422e;
  margin: 0;
  font-size: 24px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #f8f9fa;
  color: #e4422e;
}

.modal-body {
  padding: 25px 30px;
}

.modal-footer {
  padding: 20px 30px 25px;
  border-top: 1px solid #dee2e6;
  text-align: center;
}

/* Answer Review Modal Styles */
.review-intro {
  text-align: center;
  margin-bottom: 25px;
  color: #6c757d;
}

.answers-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.answer-item {
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.answer-item.correct {
  border-color: #28a745;
  background: linear-gradient(135deg, #f8fff9 0%, #d4edda 100%);
}

.answer-item.incorrect {
  border-color: #dc3545;
  background: linear-gradient(135deg, #fff8f8 0%, #f8d7da 100%);
}

.answer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.question-number {
  font-weight: 600;
  color: #495057;
}

.question-text {
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.answer-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-answer,
.correct-answer {
  font-size: 14px;
}

.answer-option {
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.answer-option.correct {
  background: #d4edda;
  color: #155724;
}

.answer-option.incorrect {
  background: #f8d7da;
  color: #721c24;
}

.explanation {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #e4422e;
  font-size: 14px;
  line-height: 1.5;
}

.bible-reference {
  font-style: italic;
  color: #6c757d;
  font-size: 13px;
}

.review-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
  color: #6c757d;
}

/* Difficulty Selector Modal Styles */
.difficulty-intro {
  text-align: center;
  margin-bottom: 25px;
  color: #6c757d;
}

.difficulty-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.difficulty-btn {
  background: white;
  border: 2px solid #dee2e6;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
}

.difficulty-btn:hover {
  border-color: #e4422e;
  background: #fff5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(228, 66, 46, 0.2);
}

.difficulty-btn i {
  font-size: 24px;
  width: 30px;
  text-align: center;
}

.difficulty-btn.easy i {
  color: #28a745;
}

.difficulty-btn.medium i {
  color: #ffc107;
}

.difficulty-btn.hard i {
  color: #dc3545;
}

.difficulty-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 5px;
}

.difficulty-desc {
  font-size: 14px;
  color: #6c757d;
  display: block;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .quiz-option,
  .quiz-btn,
  .bible-quiz-container,
  .quiz-progress-bar {
    transition: none;
  }

  .quiz-option.correct,
  .quiz-option.incorrect {
    animation: none;
  }

  #quiz-completion {
    animation: none;
  }

  .modal-content {
    animation: none;
  }
}

/*-----------------------------------------------------------------------------------*/
/*   Footer
/*-----------------------------------------------------------------------------------*/

.footer {
  padding: 30px 15px;
  clear: both;
  width: 100%;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.blog .footer {
  background: #fff;
}

.footer .empty-menu {
  color: #555;
}

.footer .empty-menu a {
  color: #222;
}

.footer-menu ul li {
  float: left;
}

.footer-menu ul li a {
  color: #555;
  font-size: 13px;
  font-weight: 400;
}

/*-----------------------------------------------------------------------------------*/
/*   404
/*-----------------------------------------------------------------------------------*/

.single-lyrics-overlay.error_page {
  height: 200px;
  padding-bottom: 200px;
}

.error_icon {
  margin-top: 60px;
}

.error_icon i {
  font-size: 120px;
}

.error_title {
  font-size: 40px;
  margin: 30px 0;
}

/* Updated from 1.0.5 */

.print-lyrics {
  display: none;
}

/* Updated from 1.1 */

.lyric-text p {
  margin: 30px 0;
}

.searchcats {
  position: absolute;
  bottom: 0px;
  opacity: 0;
  z-index: -1;
  width: 100%;
  height: 30px;
}

.searchcats ul {
  padding-left: 20px;
}

.searchcats ul li {
  float: left;
  margin-right: 20px;
  color: #fff;
}

.searchcats ul li input {
  margin-right: 4px;
}

.searchminicats ul li {
  float: left;
  margin-right: 20px;
  color: #000;
}

.searchminicats ul li input {
  margin-right: 4px;
}

ul.genre-list {
  border-top: solid 1px #e8e8e8;
  clear: both;
  padding-bottom: 10px;
  margin-top: 30px;
}

ul.genre-list li {
  float: left;
  margin-right: 5px;
}

ul.genre-list li {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #888;
}

ul.genre-list li a {
  color: #333;
}

h3.translated {
  border-bottom: solid 1px #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

ul.related-list li {
  border-bottom: solid 1px #e8e8e8;
  padding-top: 10px;
  padding-bottom: 10px;
}

ul.related-list li:last-child {
  border: none;
}

ul.genre-page-list li {
  border-bottom: solid 1px #e8e8e8;
  padding-top: 10px;
  padding-bottom: 10px;
}

ul.genre-page-list li:last-child {
  border: none;
}

b {
  font-weight: 600;
}

.lyric-text td {
  text-align: left;
  padding: 10px;
}

.add-more-artists {
  display: none;
  padding-left: 30px;
}

.add-more-artists label {
  display: inline-block;
  width: auto !important;
  padding: 10px;
  background: #fefee3;
}

.lyric-alphabet.no-button {
  width: 100% !important;
  line-height: 50px;
}

.lyric-alphabet.no-button ul li a {
  padding: 0 17.5px;
}

.footer-widgets {
  background: #fff;
  padding: 30px;
  margin: 30px 15px;
  margin-bottom: 5px;
}

.media_background {
  padding: 6px;
}

.second-container ul {
  list-style: disc;
  margin-left: 20px;
}

.second-container ol {
  list-style: decimal;
  margin-left: 20px;
}

.post-paginate {
  display: block;
  width: 100%;
  clear: both;
  font-size: 16px;
}

.post-paginate p {
  opacity: 0.5;
}

.sticky {
  border: solid 2px #eee;
}

.bypostauthor {
  opacity: 0.95;
}

.gallery-caption {
  background: rgba(255, 255, 255, 0.9);
}

/* Light/Dark Mode Toggle Styles */
.mode-toggle-wrapper {
  position: fixed !important;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 9999;
}

#mode-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

.toggle-track {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 4px 2px;
  min-width: 40px;
  min-height: 70px;
  gap: 3px;
}

.toggle-slider {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, transform 0.3s;
  z-index: 1;
  top: 6px;
}

body.dark-mode .toggle-slider {
  background: #1a4cff;
  transform: translateX(-50%) translateY(56px);
}

.toggle-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  box-shadow: none;
  margin: 0;
  z-index: 2;
  position: relative;
}

.toggle-icon {
  font-size: 1.2em;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #1a4cff;
  transition: color 0.3s;
  position: relative;
  z-index: 2;
}

.toggle-icon.sun {
  color: #ffb300;
}

/* @media (max-width: 490px) {
  .logo {
    margin-left: -25px;
}
  .pull-left .menu-bible-icon{
    margin-top: -120px;
    padding-right: -20px;
  }
  .pull-left #sub-button{
   padding-right: -20px;
    margin-top: -90px;
  }
} */

body.dark-mode .toggle-icon.sun {
  color: #fff;
}

body.dark-mode .toggle-icon.moon {
  color: #fff;
}

.toggle-label {
  display: none !important;
}

/* Improved dark mode for main content area only */
body.dark-mode .content-capsule,
body.dark-mode .content-pull,
body.dark-mode .popular-lyrics-container,
body.dark-mode .latest-lyrics-container,
body.dark-mode .bible-quiz-container,
body.dark-mode .homepage-advertisement,
body.dark-mode .homepage-news,
body.dark-mode .second-container,
body.dark-mode .footer-widgets {
  background: #444 !important;
  color: #fff !important;
}
body.dark-mode .content-capsule *,
body.dark-mode .content-pull *,
body.dark-mode .popular-lyrics-container *,
body.dark-mode .latest-lyrics-container *,
body.dark-mode .bible-quiz-container *,
body.dark-mode .homepage-advertisement *,
body.dark-mode .homepage-news *,
body.dark-mode .footer-widgets * {
  color: #fff !important;
  border-color: #444 !important;
}
body.dark-mode .content-capsule a,
body.dark-mode .content-pull a,
body.dark-mode .popular-lyrics-container a,
body.dark-mode .latest-lyrics-container a,
body.dark-mode .bible-quiz-container a,
body.dark-mode .homepage-advertisement a,
body.dark-mode .homepage-news a,
body.dark-mode .footer-widgets a {
  color: #fff !important;
}

/* Dark mode link hover states */
body.dark-mode .content-capsule a:hover,
body.dark-mode .content-pull a:hover,
body.dark-mode .popular-lyrics-container a:hover,
body.dark-mode .latest-lyrics-container a:hover,
body.dark-mode .bible-quiz-container a:hover,
body.dark-mode .homepage-advertisement a:hover,
body.dark-mode .homepage-news a:hover,
body.dark-mode .footer-widgets a:hover {
  color: #e4422e !important;
}
/* Dark mode for Pagination */
body.dark-mode .custom-pagination ul li.active a {
  background-color: #e4422e;
  color: #fff;
}
body.dark-mode .custom-pagination ul li a:hover {
  background: #e4422e;
  color: #fff;
  transition: background 0.3s, color 0.3s;
}
body.dark-mode .custom-pagination ul li a {
  padding: 8px 13px;
  border: 1px solid #e8e8e8;
  background: #18191a;
  font-size: 13px;
  color: #333;
  transition: color 1s;
}
/* Remove previous global dark mode background for body and header image area */

/* Dark mode for lyric search bar */
body.dark-mode .search-wrapper,
body.dark-mode .search-container,
body.dark-mode .lyric-search-input input[type="search"] {
  border: none !important;
  box-shadow: none !important;
}
body.dark-mode .search-dropdown {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
body.dark-mode .search-dropdown option {
  background: #23242a !important;
  color: #fff !important;
}
body.dark-mode .search-dropdown {
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="16" viewBox="0 0 20 20" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.293 7.293a1 1 0 011.414 0L10 8.586l1.293-1.293a1 1 0 111.414 1.414l-2 2a1 1 0 01-1.414 0l-2-2a1 1 0 010-1.414z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
body.dark-mode .search-button i {
  color: #fff !important;
}

/* Dark mode: remove white background from .search-container and its children */
body.dark-mode .search-container {
  background: transparent !important;
  box-shadow: none !important;
}
body.dark-mode .search-container * {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

body.dark-mode .lyric-search-input input[type="search"] {
  background: transparent !important;
}

/* Restore dark oblong background for search bar in dark mode */
body.dark-mode .search-wrapper {
  background: rgba(30, 32, 36, 0.85) !important;
  border-radius: 30px !important;
  padding: 0 10px !important;
  display: flex;
  align-items: center;
}

/* Dark mode: make page background dark */
body.dark-mode,
body.dark-mode html {
  background: #18191a !important;
}

/* Dark mode: make lyric-content boxes dark with white text */
body.dark-mode .latest-lyrics ul li .lyric-content {
  background: transparent !important;
  color: #fff !important;
}
body.dark-mode .latest-lyrics ul li .lyric-content * {
  color: #fff !important;
}

/* Dark mode: remove background from lyric list items */
/* body.dark-mode .latest-lyrics ul li, */
body.dark-mode .latest-lyrics ul li:nth-child(2n + 2) {
  background: #383535 !important;
}
@media only screen and (max-width: 767px) {
  body.dark-mode .latest-lyrics ul li:nth-child(2n + 1) {
    background: transparent !important;
  }
}

body.dark-mode .homepage-advertisement {
  background: transparent !important;
  color: #fff !important;
}
body.dark-mode .homepage-advertisement * {
  color: #fff !important;
}

body.dark-mode .popular-lyrics,
body.dark-mode .latest-lyrics-container,
body.dark-mode .bible-quiz-container {
  background: transparent !important;
  color: #fff !important;
}

body.dark-mode .latest-lyrics-container .title h3 .fa-clock-o {
  color: #e4422e !important;
}
body.dark-mode .album-line {
  background: #18191a !important;
  padding: 15px 0;
}
body.dark-mode .list-line {
  border-bottom: solid 1px #18191a !important;
  padding: 10px 0;
  padding-bottom: 20px;
}
/*Dark Mode: Single Artist Page*/
body.dark-mode .single-widget h4 {
  border-bottom: solid 1px #18191a !important;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
body.dark-mode .lyric-line {
  border-bottom: solid 1px #18191a !important;
  padding-bottom: 10px;
}
body.dark-mode .lyric-text td {
  text-align: left;
  padding: 10px;
}
body.dark-mode tbody td {
  background: #23242a !important;
  border: 1px solid #fff;
  text-align: center;
  padding: 2px 2px;
}
/*Dark Mode: Single Lyrics Page*/
body.dark-mode .same-album a {
  color: #e4422e !important;
}
body.dark-mode hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  height: 0;
  box-sizing: content-box;
  border-top: 2px solid #18191a !important;
}
body.dark-mode ul.related-list li {
  border-bottom: solid 1px #18191a !important;
  padding-top: 10px;
  padding-bottom: 10px;
}
body.dark-mode .lyric-bottom {
  border-top: solid 1px #18191a !important;
  border-bottom: solid 1px #18191a !important;
  padding: 15px 0;
}
body.dark-mode .comments-blog-post-top {
  border-bottom: solid 1px #18191a !important;
  padding-top: 10px;
  padding-bottom: 20px;
}
body.dark-mode .lyric-print a {
  color: #e4422e !important;
}
body.dark-mode .lyric-print a:hover {
  color: #fff !important;
}
/*Dark Mode: User Comment Box*/
* body.dark-mode .user-comment-box {
  background: transparent !important;
}
/*Dark Mode: Letter Label - Alphabet*/
body.dark-mode .letter-label {
  color: #e4422e !important;
  font-weight: bold !important;
  font-size: 3.5vw !important;
  line-height: 1.1;
  font-family: "Montserrat", Arial, sans-serif !important;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}

body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="tel"],
body.dark-mode input[type="url"],
body.dark-mode input[type="search"],
body.dark-mode input[type="password"],
body.dark-mode textarea,
body.dark-mode select {
  background: rgba(26, 26, 26, 0.95) !important;
  color: #fff !important;
  /* border: 1px solid #444 !important; */
}

body.dark-mode input[type="text"]::placeholder,
body.dark-mode input[type="email"]::placeholder,
body.dark-mode textarea::placeholder {
  color: #bbb !important;
}
body.dark-mode .wpcf7-not-valid-tip {
  color: #dc3232 !important;
  font-size: 1em;
  font-weight: normal;
  display: block;
}

/* Dark mode for WP editor toolbar and buttons */
body.dark-mode .wp-editor-container,
body.dark-mode .wp-editor-tabs,
body.dark-mode .wp-editor-tools,
body.dark-mode .mce-toolbar,
body.dark-mode .quicktags-toolbar {
  background: #23242a !important;
  border-color: #444 !important;
}

body.dark-mode div.mce-panel,
body.dark-mode .mce-btn,
body.dark-mode .mce-btn button,
body.dark-mode .quicktags-toolbar input,
body.dark-mode .wp-editor-tabs button {
  background: #23242a !important;
  color: #fff !important;
  border-color: #444 !important;
}

body.dark-mode .mce-btn:hover,
body.dark-mode .mce-btn button:hover,
body.dark-mode .quicktags-toolbar input:hover,
body.dark-mode .wp-editor-tabs button:hover {
  background: #e4422e !important;
  color: #fff !important;
  border-color: #e4422e !important;
}

/* Editor content area */
body.dark-mode .wp-editor-area,
body.dark-mode textarea.wp-editor-area {
  background: #18191a !important;
  color: #fff !important;
  border-color: #444 !important;
}

body.dark-mode .mce-content-body,
body.dark-mode .wp-editor-area,
body.dark-mode textarea.wp-editor-area {
  background: #18191a !important;
  color: #fff !important;
  border-color: #444 !important;
}

body.dark-mode .mce-content-body * {
  color: #fff !important;
}

/* Fix blue slider overlap and darken toggle background in dark mode */
.toggle-slider {
  top: 6px;
}
body.dark-mode .toggle-slider {
  top: -18px;
}
body.dark-mode .toggle-track {
  background: #23242a !important;
}

/* Dark Mode: Bile Page*/
body.dark-mode .bible-chapter-box {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 5px 10px 0;
  text-align: center;
  background: #23242a !important;
  color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  user-select: none;
}
body.dark-mode .bible-chapter-box:hover,
body.dark-mode .bible-chapter-box.active {
  background: #e4422e !important;
  color: #fff !important;
  border-color: #e4422e !important;
}
body.dark-mode #bible-selectors select {
  color: #fff !important;
  background: #23242a !important;
  border: 2px solid #e4422e !important;
  padding: 10px 40px 10px 16px !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  position: relative;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: none;
  cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23fff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 24px 24px !important;
  padding-right: 48px !important;
}
body.dark-mode #bible-selectors select:focus,
#bible-selectors select:hover {
  border-color: #fff !important;
  box-shadow: 0 0 0 2px #e4422e33;
}
.align-bible-submit,
#sub-button {
  display: inline-flex;
  align-items: center;
  height: 48px;
}
.align-bible-submit svg {
  height: 40px;
  width: 40px;
}
#sub-button .btn {
  margin-top: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  font-size: 18px;
  padding: 0 24px;
}
@media (max-width: 490px) {
  .menu-bible-icon.align-bible-submit {
    display: none !important;
  }
}
/*Dark Mode: 404 Page*/
body.dark-mode h1 {
  font-family: Oswald;
  font-size: 35px;
  color: #fff !important;
}

/*-----------------------------------------------------------------------------------*/
/*   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;
  margin: 0;
  padding: 0;
}

.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;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Comment content wrapper */
.comment-content-wrapper {
  flex: 1;
  min-width: 0;
}

/* Comment bubble */
.comment-content {
  background: #f0f2f5;
  border-radius: 18px;
  padding: 8px 12px;
  margin-bottom: 4px;
  position: relative;
  word-wrap: break-word;
}

/* Author name */
.comment-author .fn {
  font-weight: 600;
  font-size: 13px;
  color: #050505;
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}

.comment-author .fn:hover {
  text-decoration: underline;
}

/* Comment text */
.comment-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.33;
  color: #050505;
}

/* Comment meta (date, reply link) */
.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #65676b;
  margin-left: 52px;
  margin-top: 4px;
}

.comment-meta a {
  color: #65676b;
  text-decoration: none;
  font-weight: 600;
}

.comment-meta a:hover {
  text-decoration: underline;
  color: #1877f2;
}

/* Reply link styling */
.reply a {
  color: #65676b;
  font-weight: 600;
  font-size: 12px;
}

.reply a:hover {
  color: #1877f2;
}

/* Nested comments (replies) */
.comment-list .children {
  margin-left: 52px;
  margin-top: 8px;
  padding-left: 0;
  list-style: none;
}

.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;
}

.comment-list .children .children .comment-meta {
  margin-left: 52px;
}

/* Comment form styling */
.comment-respond {
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.comment-reply-title {
  font-size: 16px;
  font-weight: 600;
  color: #1c1e21;
  margin-bottom: 12px;
}

/* Form fields */
.comment-form-comment {
  margin-bottom: 12px;
}

.comment-form-comment label {
  display: none;
}

.comment-form-comment textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #dddfe2;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  background: #f0f2f5;
  transition: border-color 0.2s ease;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: #1877f2;
  background: #fff;
}

.comment-form-comment textarea::placeholder {
  color: #65676b;
}

/* Author fields */
.comment-form-author,
.comment-form-email,
.comment-form-url {
  margin-bottom: 12px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #dddfe2;
  border-radius: 6px;
  font-size: 15px;
  background: #f0f2f5;
  transition: border-color 0.2s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  outline: none;
  border-color: #1877f2;
  background: #fff;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #65676b;
  margin-bottom: 4px;
}

/* Submit button */
.form-submit {
  margin-top: 12px;
}

.form-submit input[type="submit"] {
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-submit input[type="submit"]:hover {
  background: #166fe5;
}

/* Cancel reply link */
.comment-reply-link {
  color: #1877f2;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .comment-body {
    gap: 8px;
  }

  .comment-author .avatar {
    width: 32px;
    height: 32px;
  }

  .comment-meta {
    margin-left: 40px;
  }

  .comment-list .children {
    margin-left: 40px;
  }

  .comment-list .children .comment-meta {
    margin-left: 40px;
  }

  .comment-list .children .children {
    margin-left: 40px;
  }

  .comment-list .children .children .comment-meta {
    margin-left: 40px;
  }
}

/* Dark mode support */
body.dark-mode .lyric-comment {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: transparent !important;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}
body.dark-mode .comment-respond {
  margin-top: 20px !important;
  background: transparent !important;
  border-radius: 8px;
  padding: 16px !important;
}
body.dark-mode .comment-form-comment textarea:focus {
  outline: none !important;
  border-color: #1877f2 !important;
  background: transparent !important;
}
body.dark-mode .comment-content {
  background: #18191a !important;
  border-radius: 18px !important;
  padding: 8px 12px !important;
  margin-bottom: 4px;
  position: relative;
  word-wrap: break-word;
}

@media (prefers-color-scheme: dark) {
  .lyric-comment {
    background: #242526;
  }

  .comment-content {
    background: #3a3b3c;
  }

  .comment-author .fn,
  .comment-content p {
    color: #e4e6ea;
  }

  .comment-respond {
    background: #242526;
  }

  .comment-reply-title {
    color: #e4e6ea;
  }

  .comment-form-comment textarea,
  .comment-form-author input,
  .comment-form-email input,
  .comment-form-url input {
    background: #3a3b3c;
    border-color: #3a3b3c;
    color: #e4e6ea;
  }

  .comment-form-comment textarea:focus,
  .comment-form-author input:focus,
  .comment-form-email input:focus,
  .comment-form-url input:focus {
    background: #242526;
    border-color: #1877f2;
  }

  .comment-form-author label,
  .comment-form-email label,
  .comment-form-url label {
    color: #b0b3b8;
  }
}

/* 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;
}

/* Comment navigation */
.comment-navigation {
  margin: 20px 0;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
  display: inline-block;
  margin-right: 10px;
}

.comment-navigation a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 600;
}

.comment-navigation a:hover {
  text-decoration: underline;
} /*---------
--------------------------------------------------------------------------*/
/*   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;
  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;
}

.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;
  }
}

/* ===================================
   BIBLE QUIZ STYLES
   =================================== */

.bible-quiz-container {
  background: #fff;
  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: #e4422e;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.bible-quiz-container .title h3 i {
  margin-right: 8px;
  color: #e4422e;
}

/* Quiz Progress */
#quiz-progress {
  text-align: center;
  margin-bottom: 20px;
}

#question-counter {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

#question-counter.final-question {
  background: #fff3cd;
  border-color: #ffeaa7;
  color: #856404 !important;
  font-weight: 700;
}
body.dark-mode .final-question {
  color: #856404 !important;
  font-weight: 700;
}

/* Quiz Navigation Dots */
.quiz-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.quiz-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e9ecef;
  border: 2px solid #dee2e6;
  transition: all 0.3s ease;
  cursor: default;
}

.quiz-dot.completed {
  background: #28a745;
  border-color: #28a745;
  transform: scale(1.1);
}

.quiz-dot.current {
  background: #e4422e;
  border-color: #e4422e;
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(228, 66, 46, 0.2);
  animation: pulse 2s infinite;
}

.quiz-dot.upcoming {
  background: #f8f9fa;
  border-color: #dee2e6;
}

/* Quiz Question */
#quiz-question {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
  line-height: 1.5;
  text-align: center;
  padding: 0 10px;
  transition: all 0.3s ease;
}

#quiz-question.final-question {
  color: #e4422e;
  font-size: 19px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(228, 66, 46, 0.1);
}

/* Quiz Options */
#quiz-answers-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.quiz-option {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  min-height: 60px;
  position: relative;
}

.quiz-option:hover:not(.disabled) {
  border-color: #e4422e;
  background: #fff5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(228, 66, 46, 0.1);
}

.quiz-option:focus {
  outline: 2px solid #e4422e;
  outline-offset: 2px;
  animation: pulse 1.5s infinite;
}

.quiz-option:active:not(.disabled) {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Ripple effect for answer selection */
.quiz-option {
  position: relative;
  overflow: hidden;
}

.quiz-option::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.quiz-option.selected::after {
  width: 300px;
  height: 300px;
}

.quiz-option-label {
  font-weight: 700;
  color: #e4422e;
  margin-right: 10px;
  font-size: 16px;
  min-width: 20px;
}

.quiz-option-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.4;
}

/* Answer States */
.quiz-option.correct {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
  animation: correctAnswer 0.6s ease;
}

.quiz-option.correct .quiz-option-label {
  color: #28a745;
}
body.dark-mode .quiz-option.correct .quiz-option-label {
  color: #28a745;
}

.quiz-option.incorrect {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
  animation: incorrectAnswer 0.6s ease;
}

.quiz-option.incorrect .quiz-option-label {
  color: #dc3545;
}

.quiz-option.disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.quiz-option.disabled:hover {
  transform: none;
  box-shadow: none;
}

.quiz-option.selected {
  border-color: #e4422e;
  background: #fff5f5;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(228, 66, 46, 0.15);
}

/* Quiz Feedback */
#quiz-feedback-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #6c757d;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

#quiz-feedback-container.show {
  opacity: 1;
  transform: translateY(0);
}

#quiz-feedback-container.correct {
  background: #d4edda;
  border-left-color: #28a745;
  animation: correctFeedback 0.5s ease;
}
body.dark-mode #quiz-feedback-container.correct {
  background: #d4edda !important;
  border-left-color: #28a745 !important;
  animation: correctFeedback 0.5s ease;
}

#quiz-feedback-container.incorrect {
  background: #f8d7da;
  border-left-color: #dc3545;
  animation: incorrectFeedback 0.5s ease;
}

#quiz-feedback-container.loading {
  background: #e3f2fd;
  border-left-color: #2196f3;
}

.feedback-loading {
  text-align: center;
  color: #1976d2;
  font-weight: 600;
}

.feedback-loading i {
  margin-right: 8px;
}

.feedback-result {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feedback-correct {
  color: #28a745;
}

.feedback-incorrect {
  color: #dc3545;
}

.feedback-explanation {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #333;
}
body.dark-mode .feedback-explanation {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #333 !important;
}

.feedback-reference {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

/* 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: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 5px;
  position: relative;
  overflow: hidden;
}

#next-question-btn::before,
#restart-quiz-btn::before,
#restart-quiz-final::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

#next-question-btn:hover::before,
#restart-quiz-btn:hover::before,
#restart-quiz-final:hover::before {
  left: 100%;
}

#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.2);
}

#next-question-btn:focus,
#restart-quiz-btn:focus,
#restart-quiz-final:focus {
  outline: 2px solid #e4422e;
  outline-offset: 2px;
}

/* Quiz Completion */
#quiz-completion {
  text-align: center;
  padding: 30px 20px;
}

.quiz-final-score h4 {
  color: #e4422e;
  font-size: 24px;
  margin-bottom: 20px;
}

.score-summary {
  margin-bottom: 25px;
}

.score-main {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.score-details {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.score-time,
.score-breakdown {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  border: 1px solid #e9ecef;
}

.bible-verse {
  /* font-style: italic; */
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 25px 0;
}

/* Quiz Summary Details */
.quiz-summary-details {
  margin: 25px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.quiz-navigation-summary h5 {
  color: #e4422e;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.summary-stats {
  display: grid;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e9ecef;
}

.stat-row:last-child {
  border-bottom: none;
  font-weight: 600;
  padding-top: 10px;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.stat-value.correct-stat {
  color: #28a745;
}

.stat-value.incorrect-stat {
  color: #dc3545;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #e4422e;
}

/* Quiz Animations */
@keyframes correctAnswer {
  0% {
    transform: scale(1);
    background: #f8f9fa;
  }
  50% {
    transform: scale(1.02);
    background: #c3e6cb;
  }
  100% {
    transform: scale(1);
    background: #d4edda;
  }
}

@keyframes incorrectAnswer {
  0% {
    transform: scale(1);
    background: #f8f9fa;
  }
  25% {
    transform: translateX(-5px);
    background: #f5c6cb;
  }
  50% {
    transform: translateX(5px);
    background: #f5c6cb;
  }
  75% {
    transform: translateX(-2px);
    background: #f5c6cb;
  }
  100% {
    transform: translateX(0);
    background: #f8d7da;
  }
}

@keyframes correctFeedback {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes incorrectFeedback {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(228, 66, 46, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(228, 66, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(228, 66, 46, 0);
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-20px);
    opacity: 0;
  }
}

@keyframes progressFill {
  0% {
    width: 0%;
  }
  100% {
    width: var(--progress-width);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Quiz Navigation Responsive */
  .quiz-dots {
    gap: 6px;
  }

  .quiz-dot {
    width: 10px;
    height: 10px;
  }

  #question-counter {
    font-size: 13px;
    padding: 6px 12px;
  }

  .quiz-summary-details {
    padding: 15px;
    margin: 20px 0;
  }

  .summary-stats {
    font-size: 13px;
  }

  .stat-row {
    padding: 4px 0;
  }

  #quiz-question {
    font-size: 16px;
    margin-bottom: 20px;
  }

  #quiz-question.final-question {
    font-size: 17px;
  }

  .bible-quiz-container {
    padding: 20px 15px;
    margin-top: 15px;
  }

  #quiz-answers-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quiz-option {
    padding: 12px;
    min-height: 50px;
  }

  #quiz-question {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .quiz-option-text {
    font-size: 14px;
  }

  .feedback-result {
    font-size: 16px;
  }

  .feedback-explanation {
    font-size: 14px;
  }

  .score-details {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .bible-verse {
    font-size: 14px;
    padding: 15px;
  }

  #next-question-btn,
  #restart-quiz-btn,
  #restart-quiz-final {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .bible-quiz-container {
    padding: 15px 10px;
  }

  #quiz-question {
    font-size: 15px;
    padding: 0 5px;
  }

  .quiz-option {
    padding: 10px;
    min-height: 45px;
  }

  .quiz-option-text {
    font-size: 13px;
  }

  .quiz-final-score h4 {
    font-size: 20px;
  }

  .score-main {
    font-size: 16px;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .quiz-option {
    border-width: 3px;
  }

  .quiz-option.correct {
    background: #90ee90;
    border-color: #006400;
  }

  .quiz-option.incorrect {
    background: #ffb6c1;
    border-color: #8b0000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .quiz-option,
  #next-question-btn,
  #restart-quiz-btn,
  #restart-quiz-final {
    transition: none;
  }

  .quiz-option:hover:not(.disabled) {
    transform: none;
  }

  #next-question-btn:hover,
  #restart-quiz-btn:hover,
  #restart-quiz-final:hover {
    transform: none;
  }
}

/*-----------------------------------------------------------------------------------*/
/*   Enhanced Bible Quiz Styles
/*-----------------------------------------------------------------------------------*/

/* Quiz Container */
.bible-quiz-container {
  background: #fff;
  padding: 28px 20px 20px 20px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Question Metadata Display */
.question-metadata {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #e4422e;
}

.question-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.question-category i {
  color: #e4422e;
  font-size: 16px;
}

.category-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.question-difficulty {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-easy {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.difficulty-medium {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.difficulty-hard {
  background: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

/* Enhanced Question Display */
.question-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.4;
}

/* Quiz Progress Enhancements */
#quiz-progress {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  text-align: center;
}

#question-counter {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

#question-counter.final-question {
  color: #e4422e;
  font-weight: 700;
}

/* Progress Bar */
.quiz-progress-container {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #e4422e, #ff6b4a);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Progress Dots */
.quiz-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.quiz-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dee2e6;
  border: 2px solid #adb5bd;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quiz-dot.completed {
  background: #28a745;
  border-color: #28a745;
}

.quiz-dot.current {
  background: #e4422e;
  border-color: #e4422e;
  transform: scale(1.2);
}

.quiz-dot.upcoming {
  background: #f8f9fa;
  border-color: #dee2e6;
}

/* Enhanced Quiz Options */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.quiz-option {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quiz-option:hover:not(.disabled) {
  border-color: #e4422e;
  background: #fff5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 66, 46, 0.15);
}

.quiz-option.selected {
  border-color: #e4422e;
  background: #fff5f5;
  animation: pulse 0.6s ease-in-out;
}

.quiz-option.correct {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.quiz-option.incorrect {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

.quiz-option.disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.quiz-option-label {
  font-weight: 700;
  font-size: 16px;
  color: #e4422e;
  margin-right: 8px;
}

.quiz-option-text {
  font-size: 15px;
  line-height: 1.3;
}

/* Quiz Feedback Enhancements */
.quiz-feedback {
  margin: 20px 0;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.quiz-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.quiz-feedback.loading {
  background: #e3f2fd;
  border-left-color: #2196f3;
  color: #0d47a1;
}

.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-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feedback-explanation {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.feedback-reference {
  font-size: 14px;
  font-style: italic;
  opacity: 0.9;
}

/* Quiz Completion Enhancements */
.quiz-final-score {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #e9ecef;
}

.quiz-final-score h4 {
  color: #e4422e;
  font-size: 24px;
  margin-bottom: 20px;
}

.score-summary {
  margin-bottom: 20px;
}

.score-main {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.score-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.stat-label {
  font-weight: 600;
  color: #666;
}

.stat-value {
  font-weight: 700;
  color: #333;
}

/* Performance Badges */
.performance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 15px;
  animation: fadeInScale 0.6s ease-out;
}

.badge-gold {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #b8860b;
  border: 2px solid #daa520;
}

.badge-silver {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #696969;
  border: 2px solid #a9a9a9;
}

.badge-bronze {
  background: linear-gradient(135deg, #cd7f32, #daa520);
  color: #8b4513;
  border: 2px solid #a0522d;
}

.badge-participant {
  background: linear-gradient(135deg, #87ceeb, #b0e0e6);
  color: #4682b4;
  border: 2px solid #5f9ea0;
}

.badge-beginner {
  background: linear-gradient(135deg, #98fb98, #90ee90);
  color: #228b22;
  border: 2px solid #32cd32;
}

.badge-icon {
  font-size: 20px;
}

/* Quiz Summary Details */
.quiz-summary-details {
  margin: 20px 0;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.quiz-navigation-summary h5 {
  color: #e4422e;
  margin-bottom: 15px;
  font-size: 18px;
}

.summary-stats .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f4;
}

.summary-stats .stat-row:last-child {
  border-bottom: none;
}

.correct-stat {
  color: #28a745;
  font-weight: 700;
}

.incorrect-stat {
  color: #dc3545;
  font-weight: 700;
}

/* 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: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
}

#next-question-btn:hover,
#restart-quiz-btn:hover,
#restart-quiz-final:hover {
  background: #c73e1d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 66, 46, 0.3);
}

#next-question-btn:disabled,
#restart-quiz-btn:disabled,
#restart-quiz-final:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .bible-quiz-container {
    padding: 20px 15px;
    margin-top: 15px;
  }

  .question-metadata {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quiz-option {
    padding: 12px;
  }

  .question-text {
    font-size: 16px;
  }

  .score-stats {
    grid-template-columns: 1fr;
  }

  .quiz-dots {
    gap: 6px;
  }

  .quiz-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .bible-quiz-container {
    padding: 15px 10px;
  }

  .question-text {
    font-size: 15px;
  }

  .quiz-option-text {
    font-size: 14px;
  }

  .performance-badge {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Print Styles */
@media print {
  .bible-quiz-container {
    display: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .quiz-option {
    border-width: 3px;
  }

  .quiz-option.correct {
    border-color: #000;
    background: #fff;
    color: #000;
  }

  .quiz-option.incorrect {
    border-color: #000;
    background: #fff;
    color: #000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .quiz-option,
  .quiz-feedback,
  .quiz-progress-bar,
  .quiz-dot {
    transition: none;
  }

  .quiz-option:hover {
    transform: none;
  }

  @keyframes pulse {
    0%,
    100% {
      transform: scale(1);
    }
  }

  @keyframes fadeInScale {
    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
} /* ===================================
   BIBLE QUIZ PERFORMANCE OPTIMIZATIONS
   =================================== */

/* Performance optimization: Use CSS containment for quiz section */
.bible-quiz-container {
  contain: layout style paint;
  will-change: transform, opacity;
}

/* Performance optimization: Use transform instead of changing layout properties */
.quiz-option {
  transform: translateZ(0); /* Force hardware acceleration */
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.quiz-option:hover {
  transform: translateZ(0) scale(1.02);
}

/* Performance optimization: Optimize animations with transform and opacity only */
.quiz-feedback {
  transform: translateZ(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quiz-feedback.show {
  transform: translateZ(0) translateY(0);
  opacity: 1;
}

/* Performance optimization: Use CSS Grid for efficient layout */
.quiz-answers-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  contain: layout;
}

/* Performance optimization: Optimize for mobile with efficient media queries */
@media (max-width: 768px) {
  .quiz-answers-container {
    grid-template-columns: 1fr;
  }

  .bible-quiz-container.mobile-layout .quiz-option {
    min-height: 60px; /* Ensure touch-friendly targets */
  }
}

/* Performance optimization: Use efficient selectors and avoid expensive properties */
.quiz-option.correct {
  background-color: #d4edda;
  border-color: #28a745;
  transform: translateZ(0);
}

.quiz-option.incorrect {
  background-color: #f8d7da;
  border-color: #dc3545;
  transform: translateZ(0);
}

/* Performance optimization: Optimize progress indicators */
.quiz-progress-bar {
  transform: translateZ(0);
  transition: width 0.3s ease;
  will-change: width;
}

.quiz-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  contain: layout;
}

.quiz-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e9ecef;
  transition: background-color 0.2s ease, transform 0.2s ease;
  transform: translateZ(0);
}

.quiz-dot.current {
  background-color: #e4422e;
  transform: translateZ(0) scale(1.2);
}

.quiz-dot.completed {
  background-color: #28a745;
}

/* Performance optimization: Efficient error state styling */
.quiz-error {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  contain: layout style;
}

/* Performance optimization: Optimize completion screen */
.quiz-completion {
  text-align: center;
  padding: 30px;
  transform: translateZ(0);
  contain: layout style;
}

.completion-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 20px 0;
  contain: layout;
}

.stat-item {
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  contain: layout style;
}

/* Performance optimization: Reduce paint operations with efficient transitions */
.question-transitioning {
  opacity: 0.7;
  transform: translateX(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Performance optimization: Use efficient loading states */
.quiz-feedback.loading {
  opacity: 0.8;
  transform: translateZ(0);
}

.feedback-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  contain: layout;
}

/* Performance optimization: Optimize button interactions */
.quiz-btn {
  transform: translateZ(0);
  transition: transform 0.15s ease, background-color 0.15s ease;
  contain: layout style;
}

.quiz-btn:hover {
  transform: translateZ(0) translateY(-1px);
}

.quiz-btn:active {
  transform: translateZ(0) translateY(0);
}

/* Performance optimization: Efficient viewport-based optimizations */
.quiz-in-viewport {
  /* Add any viewport-specific optimizations here */
}

/* Performance optimization: Print-friendly styles */
@media print {
  .bible-quiz-container {
    display: none !important;
  }
}

/* Performance optimization: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .quiz-option,
  .quiz-feedback,
  .quiz-progress-bar,
  .quiz-dot,
  .quiz-btn,
  .question-transitioning {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Performance optimization: High contrast mode support */
@media (prefers-contrast: high) {
  .quiz-option.correct {
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
  }

  .quiz-option.incorrect {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
  }
}
/*--
---------------------------------------------------------------------------------*/
/*   Bible Quiz Styles with Accessibility Enhancements
/*-----------------------------------------------------------------------------------*/

/* Main Quiz Container */
.bible-quiz-container {
  background: #fff;
  padding: 28px 20px 20px 20px;
  margin-top: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.bible-quiz-container .title h3 {
  color: #333;
  font-family: Oswald;
  font-size: 21px;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.bible-quiz-container .title h3 i {
  font-size: 21px;
  color: #e4422e;
  padding-right: 7px;
}

/* Skip Link for Accessibility */
.skip-quiz {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.skip-quiz:focus {
  top: 6px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Quiz Progress */
.quiz-progress {
  margin-bottom: 20px;
  text-align: center;
}

#question-counter {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.quiz-progress-container {
  margin: 10px 0;
  background: #f0f0f0;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
  transition: width 0.4s ease;
  border-radius: 3px;
}

.quiz-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
}

.quiz-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quiz-dot.current {
  background: #0066cc;
  border-color: #0066cc;
  transform: scale(1.3);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.quiz-dot.completed {
  background: #28a745;
  border-color: #28a745;
}

.quiz-dot.upcoming {
  background: #f8f9fa;
  border-color: #dee2e6;
}

/* Question Display */
.quiz-question {
  background: #f8f9fa;
  border-left: 4px solid #e4422e;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 4px 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  position: relative;
}

.quiz-question.question-transitioning {
  opacity: 0.7;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.question-metadata {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 500;
}

.question-category {
  display: flex;
  align-items: center;
  color: #666;
}

.question-category i {
  margin-right: 5px;
  color: #e4422e;
}

.question-difficulty {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.difficulty-easy {
  background: #d4edda;
  color: #155724;
}

.difficulty-medium {
  background: #fff3cd;
  color: #856404;
}

.difficulty-hard {
  background: #f8d7da;
  color: #721c24 !important;
}
body.dark-mode .difficulty-hard {
  background: #f8d7da;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

.question-text {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

/* Answer Options */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.quiz-option {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
  /* Accessibility improvements */
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 102, 204, 0.2);
  touch-action: manipulation;
}

.quiz-option:hover:not(.disabled) {
  border-color: #e4422e;
  background: #fff5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quiz-option:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
  background: #f0f8ff;
  outline: none;
}

.quiz-option:active:not(.disabled) {
  transform: translateY(0);
}

.quiz-option.selected {
  border-color: #0066cc;
  background: #e6f3ff;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.quiz-option.correct {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
  animation: correctPulse 0.6s ease;
}

.quiz-option.incorrect {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
  animation: incorrectShake 0.6s ease;
}

.quiz-option.disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.quiz-option-label {
  font-weight: 700;
  color: #e4422e;
  margin-right: 8px;
  font-size: 16px;
}

.quiz-option-text {
  flex: 1;
  word-wrap: break-word;
  hyphens: auto;
}

/* Animations */
@keyframes correctPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes incorrectShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* Feedback Section */
.quiz-feedback {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid #6c757d;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  font-size: 15px;
  line-height: 1.6;
}

.quiz-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.quiz-feedback.correct {
  background: #d4edda;
  border-left-color: #28a745;
  color: #155724;
}

.quiz-feedback.incorrect {
  background: #f8d7da;
  border-left-color: #dc3545;
  color: #721c24;
}

.quiz-feedback.loading {
  background: #e2e3e5;
  border-left-color: #6c757d;
  color: #495057;
}

.feedback-result {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feedback-correct {
  color: #155724;
}

.feedback-incorrect {
  color: #721c24;
}

body.dark-mode .feedback-correct {
  color: #155724 !important;
}

body.dark-mode .feedback-incorrect {
  color: #721c24 !important;
}

.feedback-explanation {
  margin-bottom: 10px;
  font-style: italic;
}

.feedback-reference {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

.feedback-loading {
  text-align: center;
  color: #666;
}

.feedback-loading i {
  margin-right: 8px;
}

/* Controls */
.quiz-controls {
  text-align: center;
  margin-top: 25px;
}

.quiz-btn {
  background: #e4422e;
  color: #fff;
  border: 2px solid #e4422e;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  min-width: 120px;
  /* Accessibility improvements */
  outline: none;
  -webkit-tap-highlight-color: rgba(228, 66, 46, 0.2);
  touch-action: manipulation;
}

.quiz-btn:hover:not(:disabled) {
  background: #c73622;
  border-color: #c73622;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.quiz-btn:focus {
  box-shadow: 0 0 0 3px rgba(228, 66, 46, 0.3);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.quiz-btn:active:not(:disabled) {
  transform: translateY(0);
}

.quiz-btn:disabled {
  background: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

#next-question-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

#next-question-btn.show {
  opacity: 1;
  transform: translateY(0);
}

/* Quiz Completion */
.quiz-completion {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  border: 2px solid #e9ecef;
  margin-top: 20px;
}

.quiz-completion h4 {
  color: #333;
  font-size: 24px;
  margin-bottom: 15px;
  font-family: Oswald;
}

.quiz-final-score {
  margin-bottom: 20px;
}

.quiz-score {
  font-size: 20px;
  font-weight: 700;
  color: #e4422e;
  margin: 10px 0;
}

.bible-verse {
  /* font-style: italic; */
  color: #666;
  margin: 15px 0;
  padding: 15px;
  background: #fff;
  /* border-left: 4px solid #e4422e; */
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Error States */
.quiz-error {
  background: #f8d7da;
  border: 2px solid #dc3545;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: #721c24;
}

.quiz-error h4 {
  color: #721c24;
  margin-bottom: 10px;
}

.quiz-error .quiz-btn {
  background: #dc3545;
  border-color: #dc3545;
  margin-top: 15px;
}

.quiz-error .quiz-btn:hover {
  background: #c82333;
  border-color: #c82333;
}

/* Screen Reader Only Content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .quiz-option {
    border-width: 3px;
  }

  .quiz-option:focus {
    border-width: 4px;
  }

  .quiz-btn {
    border-width: 3px;
  }

  .quiz-question {
    border-left-width: 6px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .quiz-option,
  .quiz-btn,
  .quiz-feedback,
  .quiz-progress-bar,
  .quiz-dot {
    transition: none;
    animation: none;
  }

  .quiz-option:hover {
    transform: none;
  }

  .quiz-btn:hover {
    transform: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .bible-quiz-container {
    background: #2d3748;
    color: #e2e8f0;
  }

  .quiz-question {
    background: #4a5568;
    color: #e2e8f0;
  }

  .quiz-option {
    background: #4a5568;
    border-color: #718096;
    color: #e2e8f0;
  }

  .quiz-option:hover:not(.disabled) {
    /* background: #2d3748; */
    border-color: #e4422e;
  }

  .quiz-option:focus {
    background: #2c5282;
    border-color: #3182ce;
  }

  .quiz-feedback {
    background: #4a5568;
    color: #e2e8f0;
  }

  .quiz-completion {
    background: #4a5568;
    border-color: #718096;
    color: #e2e8f0;
  }

  .bible-verse {
    background: #2d3748;
    color: #cbd5e0;
  }
} /* K
eyboard Help Modal */
.quiz-help-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.quiz-help-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.quiz-help-content h3 {
  margin-bottom: 20px;
  color: #333;
  font-family: Oswald;
}

.quiz-help-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.quiz-help-content li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.quiz-help-content li:last-child {
  border-bottom: none;
}

.quiz-help-content strong {
  color: #e4422e;
  font-weight: 600;
}

/* Enhanced Focus Indicators */
.quiz-option:focus-visible,
.quiz-btn:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
  .quiz-option {
    min-height: 56px;
    padding: 18px;
  }

  .quiz-btn {
    min-height: 48px;
    padding: 16px 24px;
  }

  .quiz-option:hover {
    transform: none;
    box-shadow: none;
  }

  .quiz-btn:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Ensure proper contrast ratios */
@media (prefers-contrast: high) {
  .quiz-option {
    border-width: 3px;
    font-weight: 600;
  }

  .quiz-option.correct {
    background: #c3e6cb;
    border-color: #1e7e34;
    color: #1e7e34;
  }

  .quiz-option.incorrect {
    background: #f5c6cb;
    border-color: #bd2130;
    color: #bd2130;
  }

  .quiz-btn {
    border-width: 3px;
    font-weight: 700;
  }
}

/* Improved mobile touch targets */
@media (max-width: 767px) {
  .quiz-option {
    min-height: 60px;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  .quiz-btn {
    min-height: 52px;
    padding: 18px 32px;
    font-size: 16px;
  }

  .quiz-help-content {
    padding: 20px;
    width: 95%;
  }
}

/* Print accessibility */
@media print {
  .bible-quiz-container {
    display: none !important;
  }

  .skip-quiz {
    display: none !important;
  }
} /* Mob
ile touch feedback */
.quiz-option.touched {
  background: #e6f3ff;
  border-color: #0066cc;
  transform: scale(0.98);
}

/* Prevent text selection on touch devices */
.quiz-option,
.quiz-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Improve touch targets on small screens */
@media (max-width: 480px) {
  .quiz-option {
    min-height: 64px;
    padding: 20px;
    margin-bottom: 8px;
  }

  .quiz-btn {
    min-height: 56px;
    padding: 18px 24px;
    margin: 8px 4px;
  }

  .quiz-dots {
    gap: 12px;
    margin: 15px 0;
  }

  .quiz-dot {
    width: 16px;
    height: 16px;
    min-width: 32px;
    min-height: 32px;
  }
}

/* Ensure adequate spacing for touch */
@media (hover: none) and (pointer: coarse) {
  .quiz-option {
    margin-bottom: 12px;
  }

  .quiz-controls {
    margin-top: 30px;
  }

  .quiz-feedback {
    margin: 20px 0;
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .quiz-option {
    border-width: 1.5px;
  }

  .quiz-option:focus {
    border-width: 2.5px;
  }

  .quiz-btn {
    border-width: 1.5px;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .bible-quiz-container {
    padding: 15px;
  }

  .quiz-question {
    padding: 15px;
    font-size: 16px;
  }

  .quiz-options {
    gap: 8px;
  }

  .quiz-option {
    padding: 12px;
    min-height: 48px;
  }

  .quiz-progress {
    margin-bottom: 15px;
  }

  .quiz-feedback {
    padding: 15px;
  }
}

/* Ensure proper contrast in all conditions */
@media (prefers-color-scheme: dark) and (prefers-contrast: high) {
  .quiz-option {
    border-color: #fff;
    color: #fff;
  }

  .quiz-option.correct {
    background: #0d5016;
    border-color: #28a745;
    color: #28a745;
  }

  .quiz-option.incorrect {
    background: #58151c;
    border-color: #dc3545;
    color: #dc3545;
  }
}

/* Animation preferences */
@media (prefers-reduced-motion: reduce) {
  .quiz-option.touched {
    transform: none;
  }

  .quiz-help-modal {
    animation: none;
  }

  .quiz-progress-bar {
    transition: none;
  }
}

/*-----------------------------------------------------------------------------------*/
/*   Bible Quiz Dark Mode Fixes
/*-----------------------------------------------------------------------------------*/

/* Fix for Reference text in dark mode - make it #666 instead of white */
body.dark-mode .feedback-reference strong,
body.dark-mode .quiz-feedback-container strong:contains("Reference"),
body.dark-mode strong:contains("Reference") {
  color: #666 !important;
}

/* More specific targeting for quiz feedback reference text */
body.dark-mode .quiz-feedback-container .feedback-reference,
body.dark-mode .quiz-feedback-container strong[class*="reference"],
body.dark-mode .quiz-feedback-container strong:first-of-type {
  color: #666 !important;
}

/* Alternative approach - target all strong elements in feedback that start with "Reference" */
body.dark-mode .quiz-feedback-container strong {
  color: #666 !important;
}

/* If the above is too broad, use this more specific approach */
body.dark-mode
  .quiz-feedback-container
  .feedback-explanation
  strong:first-child {
  color: #666 !important;
}

/* Bible Quiz Dark Mode Reference Text Fix */
body.dark-mode .feedback-reference strong {
  color: #666 !important;
}

body.dark-mode .quiz-feedback-container .feedback-reference strong {
  color: #666 !important;
}

/* Target reference text in quiz feedback specifically */
body.dark-mode .quiz-feedback-container strong:first-of-type {
  color: #666 !important;
}

/* Album Page Responsive Fixes */
.album-line .table-title,
.list-line {
  font-size: 14px;
}

.list-line .big-font {
  font-size: 16px;
  font-weight: 600;
}

/* Text overflow handling for album content */
.album-line .col-lg-4,
.list-line .col-lg-4 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-line .col-lg-2,
.list-line .col-lg-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile responsive fixes for album page */
@media (max-width: 768px) {
  .muusico-album .album-line,
  .muusico-album .list-line {
    display: block;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
  }

  .muusico-album .album-line .col-lg-2,
  .muusico-album .album-line .col-lg-4,
  .muusico-album .list-line .col-lg-2,
  .muusico-album .list-line .col-lg-4 {
    width: 100%;
    float: none;
    margin-bottom: 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }

  .muusico-album .album-line .table-title {
    font-weight: 600;
    color: #e4422e;
    display: inline-block;
    min-width: 80px;
    margin-right: 10px;
  }

  .muusico-album .list-line .col-lg-2:first-child {
    text-align: center;
    margin-bottom: 15px;
  }

  .muusico-album .list-line .col-lg-2:first-child img {
    max-width: 80px;
    height: auto;
  }

  .muusico-album .list-line .big-font {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .muusico-album .list-line .col-lg-2:not(:first-child):before {
    content: attr(data-label);
    font-weight: 600;
    color: #e4422e;
    display: inline-block;
    min-width: 80px;
    margin-right: 10px;
  }
}

/* Tablet responsive fixes */
@media (min-width: 769px) and (max-width: 1024px) {
  .album-line .col-lg-4,
  .list-line .col-lg-4 {
    max-width: 200px;
  }

  .album-line .col-lg-2,
  .list-line .col-lg-2 {
    max-width: 120px;
  }

  .list-line .big-font {
    font-size: 14px;
  }
}

/* Small desktop fixes */
@media (min-width: 1025px) and (max-width: 1200px) {
  .album-line .col-lg-4,
  .list-line .col-lg-4 {
    max-width: 250px;
  }
}
/* Album Page Responsive Fixes */
.album-line .table-title,
.list-line {
  font-size: 14px;
}

.list-line .big-font {
  font-size: 16px;
  font-weight: 600;
}

/* Text overflow handling for album content */
.album-line .col-lg-4,
.list-line .col-lg-4 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-line .col-lg-2,
.list-line .col-lg-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile responsive fixes for album page */
@media (max-width: 768px) {
  /* Hide column titles on mobile */
  .muusico-album .album-line {
    display: none !important;
  }

  .muusico-album .list-line {
    /* display: flex; */
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    position: relative;
  }

  /* Album image positioned on the right */
  .muusico-album .list-line .col-lg-2:first-child {
    order: 2;
    width: 80px;
    position: absolute;
    right: 0;
    top: 40px;
  }

  .muusico-album .list-line .col-lg-2:first-child img {
    max-width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
  }

  /* Content area - leave space for image on right */
  .muusico-album .list-line .col-lg-4,
  .muusico-album .list-line .col-lg-2:not(:first-child) {
    order: 1;
    width: calc(100% - 90px);
    float: none;
    margin-bottom: 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }

  /* Album name styling */
  .muusico-album .list-line .big-font {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  /* Add labels before content */
  .muusico-album .list-line .col-lg-2:not(:first-child):before {
    content: attr(data-label);
    font-weight: 600;
    color: #e4422e;
    display: inline-block;
    min-width: 60px;
    margin-right: 8px;
    font-size: 14px;
  }

  /* Ensure proper spacing */
  .muusico-album .list-line .col-lg-2:not(:first-child) {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Tablet responsive fixes */
@media (min-width: 769px) and (max-width: 1024px) {
  .album-line .col-lg-4,
  .list-line .col-lg-4 {
    max-width: 200px;
  }

  .album-line .col-lg-2,
  .list-line .col-lg-2 {
    max-width: 120px;
  }

  .list-line .big-font {
    font-size: 14px;
  }
}

/* Small desktop fixes */
@media (min-width: 1025px) and (max-width: 1200px) {
  .album-line .col-lg-4,
  .list-line .col-lg-4 {
    max-width: 250px;
  }
}
/* Single Album Page Responsive Fixes */
.single-album .album-line .table-title,
.single-album .list-line {
  font-size: 14px;
}

.single-album .list-line .song-title {
  font-size: 16px;
  font-weight: 600;
}

/* Text overflow handling for single album content */
.single-album .album-line .col-lg-4,
.single-album .list-line .col-lg-4,
.single-album .album-line .col-lg-3,
.single-album .list-line .col-lg-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-album .album-image-col img {
  max-width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Mobile responsive fixes for single album page */
@media (max-width: 767px) {
  /* Hide column titles on mobile */
  .single-album .album-line {
    display: none !important;
  }

  .single-album .list-line {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    position: relative;
  }

  /* Album image positioned on the right */
  .single-album .list-line .album-image-col {
    order: 2;
    width: 80px;
    position: absolute;
    right: 0;
    top: 0;
  }

  .single-album .list-line .album-image-col img {
    max-width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
  }

  /* Content area - leave space for image on right */
  .single-album .list-line .col-lg-4,
  .single-album .list-line .col-lg-3 {
    order: 1;
    width: calc(100% - 90px);
    float: none;
    margin-bottom: 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }

  /* Song title styling */
  .single-album .list-line .song-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  /* Add labels before content */
  .single-album .list-line .col-lg-4:before,
  .single-album .list-line .col-lg-3:before {
    content: attr(data-label);
    font-weight: 600;
    color: #e4422e;
    display: inline-block;
    min-width: 60px;
    margin-right: 8px;
    font-size: 14px;
  }

  /* Ensure proper spacing */
  .single-album .list-line .col-lg-4,
  .single-album .list-line .col-lg-3 {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Tablet responsive fixes for single album */
@media (min-width: 768px) and (max-width: 1024px) {
  .single-album .album-line .col-lg-4,
  .single-album .list-line .col-lg-4 {
    max-width: 200px;
  }

  .single-album .album-line .col-lg-3,
  .single-album .list-line .col-lg-3 {
    max-width: 150px;
  }

  .single-album .list-line .song-title {
    font-size: 14px;
  }
}
/* Single Album Tracks Page Responsive Fixes */
.single-album-tracks .album-line .table-title,
.single-album-tracks .list-line {
  font-size: 14px;
}

.single-album-tracks .list-line .song-title {
  font-size: 16px;
  font-weight: 600;
}

/* Text overflow handling for single album content */
.single-album-tracks .album-line .col-lg-4,
.single-album-tracks .list-line .col-lg-4,
.single-album-tracks .album-line .col-lg-3,
.single-album-tracks .list-line .col-lg-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-album-tracks .album-image-col img {
  max-width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Mobile responsive fixes for single album page */
@media (max-width: 767px) {
  /* Hide column titles on mobile */
  .single-album-tracks .album-line {
    display: none !important;
  }

  .single-album-tracks .list-line {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    position: relative;
  }

  /* Album image positioned on the right */
  .single-album-tracks .list-line .album-image-col {
    order: 2;
    width: 80px;
    position: absolute;
    right: 0;
    top: 0;
  }

  .single-album-tracks .list-line .album-image-col img {
    max-width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
  }

  /* Content area - leave space for image on right */
  .single-album-tracks .list-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-3 {
    order: 1;
    width: calc(100% - 90px);
    float: none;
    margin-bottom: 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }

  /* Song title styling */
  .single-album-tracks .list-line .song-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  /* Add labels before content */
  .single-album-tracks .list-line .col-lg-4:before,
  .single-album-tracks .list-line .col-lg-3:before {
    content: attr(data-label);
    font-weight: 600;
    color: #e4422e;
    display: inline-block;
    min-width: 60px;
    margin-right: 8px;
    font-size: 14px;
  }

  /* Ensure proper spacing */
  .single-album-tracks .list-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-3 {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Tablet responsive fixes for single album */
@media (min-width: 768px) and (max-width: 1024px) {
  .single-album-tracks .album-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-4 {
    max-width: 200px;
  }

  .single-album-tracks .album-line .col-lg-3,
  .single-album-tracks .list-line .col-lg-3 {
    max-width: 150px;
  }

  .single-album-tracks .list-line .song-title {
    font-size: 14px;
  }
}
/* Hide Album Image column on desktop/tablet (768px and above) */
@media (min-width: 767px) {
  .single-album-tracks .album-image-col {
    display: none !important;
  }

  /* Restore original column widths */
  .single-album-tracks .album-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-4 {
    width: 60%;
  }

  .single-album-tracks .album-line .col-lg-3,
  .single-album-tracks .list-line .col-lg-3 {
    width: 40%;
  }
}

/* Hide ALBUM PHOTO sidebar on mobile */
@media (max-width: 767px) {
  .single-lyric-ads.single-widget {
    display: none !important;
  }

  /* Better organization for mobile album images */
  .single-album-tracks .list-line .album-image-col {
    order: 2;
    width: 70px;
    position: absolute;
    right: 10px;
    top: 5px;
    margin: 5px 0;
  }

  .single-album-tracks .list-line .album-image-col img {
    max-width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Adjust content area spacing */
  .single-album-tracks .list-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-3 {
    width: calc(100% - 85px);
    padding-right: 10px;
  }

  /* Better spacing for mobile layout */
  .single-album-tracks .list-line {
    padding: 15px 10px;
    margin-bottom: 15px;
    min-height: 80px;
  }
}
/* Fix: Hide Album Image column header on 769px and above */
@media (min-width: 769px) {
  .single-album-tracks .album-line .col-lg-2,
  .single-album-tracks .album-line .col-lg-2 .table-title {
    display: none !important;
  }

  /* Adjust column widths to fill space */
  .single-album-tracks .album-line .col-lg-4 {
    width: 60% !important;
  }

  .single-album-tracks .album-line .col-lg-3 {
    width: 40% !important;
  }
}

/* Fix: Better mobile image positioning (767px and below) */
@media (max-width: 767px) {
  .single-album-tracks .list-line {
    position: relative;
    display: block !important;
    padding: 15px 85px 15px 15px;
    margin-bottom: 15px;
    min-height: 80px;
  }

  .single-album-tracks .list-line .album-image-col {
    position: absolute !important;
    top: 15px;
    right: 15px;
    width: 70px !important;
    height: 70px !important;
    order: unset;
    float: none;
  }

  .single-album-tracks .list-line .album-image-col img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .single-album-tracks .list-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-3 {
    width: 100% !important;
    float: none !important;
    position: relative;
    margin-bottom: 8px;
    padding-right: 0;
  }

  /* Ensure content doesn't overlap with image */
  .single-album-tracks .list-line .song-title,
  .single-album-tracks .list-line .col-lg-3 {
    margin-right: 80px;
  }
}
/* Fix: Proper image alignment for mobile single album */
@media (max-width: 767px) {
  .single-album-tracks .list-line {
    position: relative !important;
    display: block !important;
    padding: 10px 85px 10px 15px !important;
    margin-bottom: 15px !important;
    min-height: 70px !important;
    border-bottom: 1px solid #eee;
  }

  .single-album-tracks .list-line .album-image-col {
    position: absolute !important;
    top: 20% !important;
    right: 15px !important;
    transform: translateY(-50%) !important;
    width: 70px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    order: unset !important;
  }

  .single-album-tracks .list-line .album-image-col img {
    /* top: 80% !important; */
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    margin: 0 !important;
  }

  /* Content area positioning */
  .single-album-tracks .list-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-3 {
    width: 100% !important;
    float: none !important;
    position: relative !important;
    margin-bottom: 5px !important;
    padding-right: 0 !important;
    margin-right: 80px !important;
  }

  /* Ensure proper vertical centering of content */
  .single-album-tracks .list-line .song-title {
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
  }

  /* Remove any conflicting styles */
  .single-album-tracks .list-line .col-lg-4:before,
  .single-album-tracks .list-line .col-lg-3:before {
    display: inline-block !important;
    margin-bottom: 0 !important;
  }
}
/* Updated: Hide Album Image column header on 768px and above (instead of 769px) */
@media (min-width: 768px) {
  .single-album-tracks .album-line .col-lg-2,
  .single-album-tracks .album-line .col-lg-2 .table-title,
  .single-album-tracks .list-line .album-image-col {
    display: none !important;
  }

  /* Adjust column widths to fill space properly */
  .single-album-tracks .album-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-4 {
    width: 60% !important;
  }

  .single-album-tracks .album-line .col-lg-3,
  .single-album-tracks .list-line .col-lg-3 {
    width: 40% !important;
  }
}
/* Fix: Show column headers at 768px and above */
@media (min-width: 768px) {
  /* Ensure column headers are visible */
  .single-album-tracks .album-line {
    display: block !important;
  }

  /* Show Song Name and Artist headers */
  .single-album-tracks .album-line .col-lg-4,
  .single-album-tracks .album-line .col-lg-3 {
    display: block !important;
  }

  /* Hide only the Album Image column header */
  .single-album-tracks .album-line .col-lg-2,
  .single-album-tracks .album-line .col-lg-2 .table-title {
    display: none !important;
  }

  /* Hide album images in song rows */
  .single-album-tracks .list-line .album-image-col {
    display: none !important;
  }

  /* Proper column widths for 2-column layout */
  .single-album-tracks .album-line .col-lg-4,
  .single-album-tracks .list-line .col-lg-4 {
    width: 60% !important;
    float: left !important;
  }

  .single-album-tracks .album-line .col-lg-3,
  .single-album-tracks .list-line .col-lg-3 {
    width: 40% !important;
    float: left !important;
  }
}
/* Fix: Correct column content alignment at 768px and above */
@media (min-width: 768px) {
  /* Reset any mobile transformations that might affect column order */
  .single-album-tracks .list-line {
    display: block !important;
    position: static !important;
    padding: 10px 0 !important;
    margin-bottom: 10px !important;
    min-height: auto !important;
  }

  /* Ensure proper column order and content */
  .single-album-tracks .list-line .col-lg-4.song-title {
    width: 60% !important;
    float: left !important;
    order: 1 !important;
    margin-right: 0 !important;
    padding-right: 15px !important;
  }

  .single-album-tracks .list-line .col-lg-3 {
    width: 40% !important;
    float: left !important;
    order: 2 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
  }

  /* Remove mobile-specific styling */
  .single-album-tracks .list-line .col-lg-4:before,
  .single-album-tracks .list-line .col-lg-3:before {
    display: none !important;
  }

  /* Ensure clearfix */
  .single-album-tracks .list-line:after {
    content: "";
    display: table;
    clear: both;
  }

  /* Remove any transform or positioning from mobile */
  .single-album-tracks .list-line .album-image-col {
    display: none !important;
    position: static !important;
    transform: none !important;
  }
}
/* Fix: Ensure album images show at exactly 767px */
@media (max-width: 767px) {
  /* Force show album images on mobile including 767px */
  .single-album-tracks .list-line .album-image-col {
    display: block !important;
    position: absolute !important;
    top: 10% !important;
    right: 15px !important;
    transform: translateY(-50%) !important;
    width: 70px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    order: unset !important;
  }

  .single-album-tracks .list-line .album-image-col img {
    display: block !important;
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
  }

  /* Override any desktop hiding rules */
  .single-album-tracks .album-image-col {
    display: block !important;
  }
}

/* New Footer Layout Styles */
.footer-new {
  background-color: #f8f9fa;
  color: #333333;
  padding: 50px 0 0;
  margin-top: 50px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
}

.footer-content {
  padding-bottom: 20px;
  max-width: 100%;
  margin: 0;
  padding-left: 40px;
  padding-right: 40px;
}

.footer-content .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1.5;
  min-width: 280px;
}

.footer-navigation,
.footer-legal,
.footer-social {
  flex: 1;
  min-width: 150px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  margin-left: 0;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.footer-description {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
}

.footer-logo-img {
  max-height: 40px;
  width: auto;
  display: block;
  margin: 0;
  flex-shrink: 0;
}

.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #ffffff;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333333;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-link:hover {
  background-color: #555555;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.social-link.facebook:hover {
  background-color: #1877f2;
}

.social-link.instagram:hover {
  background-color: #e4405f;
}

.social-link.youtube:hover {
  background-color: #ff0000;
}

.social-link.twitter:hover {
  background-color: #1da1f2;
}

.footer-bottom {
  border-top: 1px solid #222222;
  padding: 15px 0;
  margin-top: 20px;
  text-align: center;
}

.copyright-text {
  text-align: center;
  width: 100%;
}

.copyright-text p {
  color: #999999;
  font-size: 14px;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

/* Light Mode Styles for Footer */
body:not(.dark-mode) .footer-new {
  background-color: #f8f9fa;
  color: #333333;
}

body:not(.dark-mode) .footer-new .footer-brand-title {
  color: #333333;
}

body:not(.dark-mode) .footer-new .footer-description {
  color: #666666;
}

body:not(.dark-mode) .footer-new .footer-heading {
  color: #333333;
}

body:not(.dark-mode) .footer-new .footer-links li a {
  color: #666666;
}

body:not(.dark-mode) .footer-new .footer-links li a:hover {
  color: #333333;
}

body:not(.dark-mode) .footer-new .social-link {
  background-color: #e9ecef;
  color: #333333;
}

body:not(.dark-mode) .footer-new .social-link:hover {
  background-color: #dee2e6;
  color: #333333;
}

body:not(.dark-mode) .footer-bottom {
  border-top-color: #dee2e6;
}

body:not(.dark-mode) .copyright-text p {
  color: #666666;
}

/* Enhanced Responsive Footer Layout */

/* Extra Small Devices (phones, 480px and down) */
@media (max-width: 480px) {
  .footer-new {
    padding: 30px 0 0;
  }

  .footer-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-content .row {
    flex-direction: column;
    gap: 30px;
  }

  .footer-brand,
  .footer-navigation,
  .footer-legal,
  .footer-social {
    flex: none;
    min-width: auto;
    width: 100%;
    text-align: center;
  }

  .footer-brand-header {
    justify-content: center;
    margin-bottom: 10px;
  }

  .footer-brand-title {
    font-size: 18px;
  }

  .footer-description {
    text-align: center;
    font-size: 13px;
  }

  .footer-heading {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links li a {
    font-size: 13px;
  }

  .social-links {
    justify-content: center;
    gap: 12px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer-bottom {
    padding: 12px 0;
    text-align: center;
  }

  .footer-bottom .row {
    justify-content: center;
  }

  .footer-bottom .col-12 {
    text-align: center;
  }

  .copyright-text {
    text-align: center !important;
    width: 100%;
    margin: 0 auto;
  }

  .copyright-text p {
    font-size: 12px;
    text-align: center !important;
    margin: 0 auto;
  }
}

/* Small Devices (tablets, 481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .footer-content .row {
    flex-direction: column;
    gap: 35px;
  }

  .footer-brand,
  .footer-navigation,
  .footer-legal,
  .footer-social {
    flex: none;
    min-width: auto;
    width: 100%;
    text-align: center;
  }

  .footer-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-brand-header {
    justify-content: center;
  }

  .footer-description {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .row {
    justify-content: center;
  }

  .copyright-text {
    text-align: center !important;
  }

  .copyright-text p {
    text-align: center !important;
  }
}

/* Medium Devices (small laptops, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-content .row {
    gap: 25px;
  }

  .footer-brand {
    flex: 1.3;
  }

  .footer-navigation,
  .footer-legal,
  .footer-social {
    flex: 0.9;
  }
}

/* Large Devices (desktops, 1025px to 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .footer-content {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Extra Large Devices (large desktops, 1201px and up) */
@media (min-width: 1201px) {
  .footer-content {
    padding-left: 60px;
    padding-right: 60px;
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Copyright Centering Fix for All Mobile/Tablet Devices */
@media (max-width: 768px) {
  .footer-bottom {
    text-align: center !important;
    width: 100% !important;
  }

  .footer-bottom .row {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-bottom .col-12 {
    text-align: center !important;
    width: 100% !important;
  }

  .copyright-text {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .copyright-text p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: block !important;
  }
}

/* Dark Mode Support for New Footer */
body.dark-mode .footer-new {
  background-color: #18191a !important;
}

body.dark-mode .footer-new .footer-heading {
  color: #ffffff;
}

body.dark-mode .footer-new .footer-links li a {
  color: #cccccc;
}

body.dark-mode .footer-new .footer-links li a:hover {
  color: #ffffff;
}

body.dark-mode .footer-new .social-link {
  background-color: #222222;
}

body.dark-mode .footer-new .social-link:hover {
  background-color: #444444;
}

body.dark-mode .footer-bottom {
  border-top-color: #222222;
}

/* Responsive Design for New Footer */
@media (max-width: 1200px) {
  .footer-content {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 992px) {
  .footer-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .footer-new {
    padding: 40px 0 0;
  }

  .footer-content {
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-brand,
  .footer-navigation,
  .footer-legal,
  .footer-social {
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-heading {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .footer-new {
    padding: 30px 0 0;
  }

  .footer-brand-title {
    font-size: 18px;
  }

  .footer-heading {
    font-size: 15px;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Hide old footer styles when new footer is active */
.footer-new ~ .footer {
  display: none;
}
/* Better Column Spacing for Footer */
.footer-new .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer-new .col-lg-3 {
  flex: 1;
  max-width: none;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-new .footer-brand {
  flex: 1.2;
}

.footer-new .footer-navigation {
  flex: 0.8;
}

.footer-new .footer-legal {
  flex: 0.8;
}

.footer-new .footer-social {
  flex: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-new .row {
    flex-direction: column;
  }

  .footer-new .col-lg-3 {
    flex: none;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/**************************************************************************************************/
/* Search Autocomplete Styles */
/**************************************************************************************************/

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.2s;
  min-height: 68px;
}

.suggestion-item:hover,
.suggestion-item.active {
  background-color: #f8f9fa !important;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item .suggestion-image,
.suggestion-item .suggestion-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
}

.suggestion-item .suggestion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suggestion-item .suggestion-icon {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-item .suggestion-icon i {
  font-size: 20px;
  color: #e4422e;
  margin: 0;
}

.suggestion-item .suggestion-content {
  flex: 1;
}

.suggestion-item .suggestion-title {
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.suggestion-item .suggestion-subtitle {
  font-size: 12px;
  color: #666;
}

.suggestion-item .suggestion-type {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  font-weight: 600;
}

/* Scrollbar styling */
.search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Dark mode support for autocomplete */
body.dark-mode .search-suggestions {
  background: #2c2c2c;
  border-color: #444;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .suggestion-item {
  border-bottom: none;
}

body.dark-mode .suggestion-item:hover,
body.dark-mode .suggestion-item.active {
  background-color: #3a3a3a !important;
}

body.dark-mode .suggestion-item .suggestion-title {
  color: #fff;
}

body.dark-mode .suggestion-item .suggestion-subtitle {
  color: #ccc;
}

body.dark-mode .suggestion-item .suggestion-type {
  color: #999;
}

body.dark-mode .suggestion-item .suggestion-icon {
  background: #444;
}

body.dark-mode .search-suggestions::-webkit-scrollbar-track {
  background: #333;
}

body.dark-mode .search-suggestions::-webkit-scrollbar-thumb {
  background: #555;
}

body.dark-mode .search-suggestions::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-suggestions {
    max-height: 250px;
  }

  .suggestion-item {
    padding: 10px 12px;
  }

  .suggestion-item i {
    margin-right: 8px;
  }
}

/* Search Autocomplete Styles */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-suggestions.show {
  display: block;
}

.suggestion-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.2s;
}

.suggestion-item:hover,
.suggestion-item.active {
  background-color: #f8f9fa;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-image,
.suggestion-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suggestion-icon i {
  font-size: 20px;
  color: #e4422e;
}

.suggestion-content {
  flex: 1;
  min-width: 0;
}

.suggestion-title {
  font-weight: 500;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
}

.suggestion-subtitle {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-type {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
}

.search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Dark mode support for search suggestions */
body.dark-mode .search-suggestions {
  background: #18191a !important;
  border: 1px solid #444 !important;
  color: #fff !important;
}

body.dark-mode .suggestion-item {
  border-bottom: none;
}

body.dark-mode .suggestion-item:hover,
body.dark-mode .suggestion-item.active {
  background-color: #2a2b2c !important;
}

body.dark-mode .suggestion-title {
  color: #fff !important;
}

body.dark-mode .suggestion-subtitle {
  color: #ccc !important;
}

body.dark-mode .suggestion-type {
  color: #999 !important;
}

body.dark-mode .suggestion-image,
body.dark-mode .suggestion-icon {
  background: #333 !important;
}

/* Responsive styles for search autocomplete */
@media (max-width: 768px) {
  .search-suggestions {
    max-height: 250px;
    border-radius: 0 0 6px 6px;
  }

  .suggestion-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .suggestion-image,
  .suggestion-icon {
    width: 40px;
    height: 40px;
  }

  .suggestion-icon i {
    font-size: 18px;
  }

  .suggestion-title {
    font-size: 14px;
  }

  .suggestion-subtitle {
    font-size: 11px;
  }

  .suggestion-type {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .search-suggestions {
    max-height: 200px;
    left: -10px;
    right: -10px;
  }

  .suggestion-item {
    padding: 8px 10px;
    gap: 8px;
  }

  .suggestion-image,
  .suggestion-icon {
    width: 36px;
    height: 36px;
  }

  .suggestion-icon i {
    font-size: 16px;
  }

  .suggestion-title {
    font-size: 13px;
  }

  .suggestion-subtitle {
    font-size: 10px;
  }
}

/* Enhanced search container positioning */
.search-container,
.search-wrapper {
  position: relative;
}

/* Make sure search suggestions appear above other elements */
.lyric-search .search-container {
  position: relative;
  z-index: 1001;
}

/* Highlight matched text in suggestions */
.suggestion-highlight {
  background: #fff3cd;
  font-weight: 600;
}

/* Loading state for search suggestions */
.search-suggestions.loading {
  padding: 20px;
  text-align: center;
  color: #666;
}

.search-suggestions.loading:before {
  content: "Searching...";
  font-size: 14px;
}

/* Empty state for search suggestions */
.search-suggestions.empty {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.search-suggestions.empty:before {
  content: "No results found";
}
/* Homepage Search Bar Improvements */
.lyric-search-input .search-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.lyric-search-input .lisinput {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lyric-search-input .search-button {
  background: #e4422e;
  border: none;
  padding: 15px 20px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lyric-search-input .search-button:hover {
  background: #d63821;
}

.lyric-search-input .search-button i {
  font-size: 16px;
}

/* Dark mode support for homepage search */
body.dark-mode .lyric-search-input .search-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

body.dark-mode .lyric-search-input .lisinput {
  color: white !important;
}

body.dark-mode .lyric-search-input .lisinput::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Responsive search bar */
@media (max-width: 768px) {
  .lyric-search-input .search-container {
    max-width: 90%;
    margin: 0 auto;
  }

  .lyric-search-input .lisinput {
    padding: 12px 15px !important;
    font-size: 14px !important;
  }

  .lyric-search-input .search-button {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .lyric-search-input .search-container {
    max-width: 95%;
  }

  .lyric-search-input .lisinput {
    padding: 10px 12px !important;
    font-size: 14px !important;
  }

  .lyric-search-input .search-button {
    padding: 10px 12px;
  }
}
/* Search Autocomplete Visibility Fix */
.search-suggestions {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: white !important;
  border: 1px solid #ddd !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
  display: none !important;
}

.search-suggestions.show {
  display: block !important;
}

/* Make sure parent containers have proper positioning */
.lyric-search-input,
.search-wrapper,
.search-container {
  position: relative !important;
}

/* Ensure search container has proper z-index */
.lyric-search .search-container {
  position: relative !important;
  z-index: 10000 !important;
}

/* Force visibility for debugging */
.search-suggestions[style*="display: block"] {
  visibility: visible !important;
  opacity: 1 !important;
}
/* Search Autocomplete - Dark Theme Like Examples */
.search-suggestions {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: #1a1a1a !important;
  border: 1px solid #333 !important;
  border-top: none !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  max-height: 400px !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
  display: none !important;
  backdrop-filter: blur(20px) !important;
}

.search-suggestions.show {
  display: block !important;
}

/* Section Headers */
.suggestion-section-header {
  padding: 12px 16px 8px 16px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

/* Suggestion Items */
.suggestion-item {
  padding: 12px 16px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: background-color 0.2s ease !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.suggestion-item:last-child {
  border-bottom: none !important;
}

.suggestion-item:hover,
.suggestion-item.active {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Suggestion Images */
.suggestion-image,
.suggestion-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #333 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.suggestion-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Highlight matched text */
.suggestion-highlight {
  background: rgba(59, 130, 246, 0.3) !important;
  color: #60a5fa !important;
  font-weight: 600 !important;
  border-radius: 2px !important;
  padding: 1px 2px !important;
}

/* Scrollbar styling for dark theme */
.search-suggestions::-webkit-scrollbar {
  width: 6px !important;
}

.search-suggestions::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1) !important;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 3px !important;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-suggestions {
    max-height: 300px !important;
    border-radius: 0 0 8px 8px !important;
  }

  .suggestion-item {
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .suggestion-image,
  .suggestion-icon {
    width: 36px !important;
    height: 36px !important;
  }

  .suggestion-section-header {
    padding: 10px 12px 6px 12px !important;
    font-size: 11px !important;
  }
}
/* Advanced Search Bar Styles */
.advanced-search-container {
  margin-top: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.advanced-search-form {
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}

.search-input-wrapper:focus-within {
  border-color: #e4422e;
  box-shadow: 0 8px 32px rgba(228, 66, 46, 0.2);
  transform: translateY(-2px);
}

.search-icon {
  padding: 0 20px;
  color: #666;
  font-size: 18px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.advanced-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 0;
  font-size: 16px;
  background: transparent;
  color: #333;
  font-weight: 400;
  /* Force browser to re-render when styles change */
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}

.advanced-search-input::placeholder {
  color: #999;
  font-weight: 400;
}

.search-loading {
  padding: 0 20px;
  color: #e4422e;
  font-size: 16px;
  display: flex;
  align-items: center;
}

/* Dark mode support */
body.dark-mode .search-input-wrapper {
  background: rgba(26, 26, 26, 0.95);
  border: 2px solid transparent !important;
  border-color: transparent !important;
}

body.dark-mode .search-input-wrapper:focus-within {
  border-color: #e4422e !important;
  box-shadow: 0 8px 32px rgba(228, 66, 46, 0.3);
}

body.dark-mode .search-icon {
  color: #aaa;
}

body.dark-mode .advanced-search-input {
  color: #fff !important;
  /* padding: 20px 0; */
  background: transparent !important;
  /* Force browser to re-render when dark mode is toggled */
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  /* Ensure text is always visible */
  text-shadow: none;
  opacity: 1 !important;
}

body.dark-mode .advanced-search-input::placeholder {
  color: #999 !important;
  opacity: 1 !important;
  /* Force browser to re-render placeholder */
  transform: translateZ(0);
}

/* Enhanced suggestions container for advanced search - FORCE LIGHT MODE */
.advanced-search-container .search-suggestions {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15) !important;
  max-height: 400px !important;
  overflow-y: auto !important;
  z-index: 99999 !important;
  display: none !important;
  backdrop-filter: blur(20px) !important;
  animation: slideDown 0.2s ease-out !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: #333 !important;
}

/* Force light mode for all suggestion elements */
.search-suggestions,
.search-suggestions * {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #333 !important;
}

.search-suggestions .suggestion-section-header {
  color: #666 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

.search-suggestions .suggestion-item {
  color: #333 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.search-suggestions .suggestion-item:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Override any dark mode styles */
body.dark-mode .search-suggestions,
body.dark-mode .search-suggestions *,
body.dark-mode .advanced-search-container .search-suggestions,
body.dark-mode .search-input-wrapper .search-suggestions,
body.dark-mode .lyric-search .search-suggestions {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #333 !important;
}

body.dark-mode .search-suggestions .suggestion-section-header {
  color: #666 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

body.dark-mode .search-suggestions .suggestion-item {
  color: #333 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.dark-mode .search-suggestions .suggestion-item:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Ensure the search suggestions are visible when shown */
.search-suggestions[style*="display: block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Make sure the advanced search container has relative positioning */
.advanced-search-container {
  position: relative !important;
}

/* Additional CSS to ensure suggestions are always visible when displayed */
.search-suggestions {
  position: absolute !important;
  background: rgba(26, 26, 26, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4) !important;
  z-index: 999999 !important;
  backdrop-filter: blur(20px) !important;
}

.search-suggestions.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force visibility for search suggestions */
.advanced-search-container .search-suggestions,
.search-input-wrapper .search-suggestions,
.lyric-search .search-suggestions {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15) !important;
  max-height: 400px !important;
  overflow-y: auto !important;
  backdrop-filter: blur(20px) !important;
  color: #333 !important;
}

/* Dark mode suggestions */
body.dark-mode .advanced-search-container .search-suggestions,
body.dark-mode .search-input-wrapper .search-suggestions,
body.dark-mode .lyric-search .search-suggestions {
  background: rgba(26, 26, 26, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4) !important;
  color: #fff !important;
}

/* Light mode suggestion items */
.search-suggestions .suggestion-item {
  color: #333 !important;
  border-bottom: none !important;
}

.search-suggestions .suggestion-item:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.search-suggestions .suggestion-section-header {
  color: #666 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Dark mode suggestion items */
body.dark-mode .search-suggestions .suggestion-item {
  color: #fff !important;
  border-bottom: none !important;
}

body.dark-mode .search-suggestions .suggestion-item:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .search-suggestions .suggestion-section-header {
  color: #888 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

/* Hide any test suggestions when real suggestions are present */
.search-suggestions:not(.test-suggestions) {
  z-index: 1000000 !important;
}

.test-suggestions {
  z-index: 999998 !important;
  display: none !important;
}

/* When real search suggestions exist, hide test suggestions */
.advanced-search-container:has(.search-suggestions:not(.test-suggestions))
  .test-suggestions {
  display: none !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .advanced-search-container {
    max-width: 90%;
    margin-top: 25px;
  }

  /* .search-input-wrapper {
    border-radius: 25px;
  } */

  .search-icon {
    padding: 0 15px;
    font-size: 16px;
  }

  .advanced-search-input {
    padding: 15px 0;
    font-size: 15px;
  }

  .search-loading {
    padding: 0 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .advanced-search-container {
    max-width: 95%;
    margin-top: 20px;
  }

  /* .search-input-wrapper {
    border-radius: 20px;
  } */

  .search-icon {
    padding: 0 12px;
    font-size: 14px;
  }

  .advanced-search-input {
    padding: 12px 0;
    font-size: 14px;
  }

  .search-loading {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* FORCE LIGHT MODE FOR SEARCH SUGGESTIONS - OVERRIDE ALL */
.search-suggestions,
.search-suggestions.real-suggestions,
.advanced-search-container .search-suggestions,
body.dark-mode .search-suggestions,
body.dark-mode .advanced-search-container .search-suggestions {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15) !important;
}

.search-suggestions .suggestion-section-header,
body.dark-mode .search-suggestions .suggestion-section-header {
  color: #666 !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.search-suggestions .suggestion-item,
.search-suggestions .suggestion-item *,
body.dark-mode .search-suggestions .suggestion-item,
body.dark-mode .search-suggestions .suggestion-item * {
  color: #333 !important;
  border-bottom: none !important;
}

/* Ensure no borders anywhere in suggestion items */
.suggestion-item,
.suggestion-item *,
.search-suggestions .suggestion-item,
.search-suggestions .suggestion-item *,
body.dark-mode .suggestion-item,
body.dark-mode .suggestion-item *,
body.dark-mode .search-suggestions .suggestion-item,
body.dark-mode .search-suggestions .suggestion-item * {
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;

  .search-suggestions .suggestion-item:hover,
  body.dark-mode .search-suggestions .suggestion-item:hover {
    background-color: none !important;
  }

  /* Force light colors for suggestion text elements */
  .search-suggestions div[style*="color: #fff"],
  .search-suggestions div[style*="color: #aaa"],
  body.dark-mode .search-suggestions div[style*="color: #fff"],
  body.dark-mode .search-suggestions div[style*="color: #aaa"] {
    color: #333 !important;
  }

  .search-suggestions div[style*="color: #aaa"],
  body.dark-mode .search-suggestions div[style*="color: #aaa"] {
    color: #666 !important;
  }
  /* Additional fix for dark mode search input - remove any visible lines */
  body.dark-mode .search-input-wrapper {
    border: none !important;
    outline: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  }

  body.dark-mode .search-input-wrapper:focus-within {
    border: 2px solid #e4422e !important;
    box-shadow: 0 8px 32px rgba(228, 66, 46, 0.3) !important;
  }

  /* Ensure no borders on the search input itself */
  body.dark-mode .advanced-search-input {
    border: none !important;
    outline: none !important;
  }
  /* AGGRESSIVE FIX - Remove ALL borders and lines in dark mode */
  body.dark-mode .search-input-wrapper,
  body.dark-mode .search-input-wrapper *,
  body.dark-mode .advanced-search-container,
  body.dark-mode .advanced-search-form {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  /* Only add subtle shadow for depth, no borders */
  body.dark-mode .search-input-wrapper {
    background: rgba(26, 26, 26, 0.95) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    border: 0px solid transparent !important;
  }

  /* Remove any webkit appearance that might cause borders */
  body.dark-mode .advanced-search-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
  }

  /* Only show border on focus, not on hover or normal state */
  body.dark-mode .search-input-wrapper:focus-within {
    border: 2px solid #e4422e !important;
    box-shadow: 0 8px 32px rgba(228, 66, 46, 0.3) !important;
  }

  /* Remove any pseudo-elements that might create lines */
  body.dark-mode .search-input-wrapper::before,
  body.dark-mode .search-input-wrapper::after,
  body.dark-mode .advanced-search-input::before,
  body.dark-mode .advanced-search-input::after {
    display: none !important;
    content: none !important;
  }
  /* ULTIMATE FIX - Remove any possible border sources in dark mode */
  body.dark-mode .lyric-search,
  body.dark-mode .lyric-search *,
  body.dark-mode .advanced-search-container,
  body.dark-mode .advanced-search-container *,
  body.dark-mode .advanced-search-form,
  body.dark-mode .advanced-search-form *,
  body.dark-mode .search-input-wrapper,
  body.dark-mode .search-input-wrapper * {
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  /* Reapply only the necessary styling */
  body.dark-mode .search-input-wrapper {
    background: rgba(26, 26, 26, 0.95) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    margin: 0 !important;
    /* Force browser to re-render when dark mode is toggled */
    transform: translateZ(0);
    will-change: background, border-color;
    /* Ensure visibility */
    opacity: 1 !important;
  }

  /* Force remove any input field borders */
  body.dark-mode input[type="search"],
  body.dark-mode .advanced-search-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
  }

  /* Remove focus ring that browsers add */
  body.dark-mode .advanced-search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  /* No Results Message Styling */
  .no-results-message {
    padding: 20px 16px !important;
    text-align: center !important;
    color: #666 !important;
    font-size: 14px !important;
    font-style: italic !important;
    background: transparent !important;
    border: none !important;
  }

  .no-results-message .fa-search {
    font-size: 24px !important;
    color: #ccc !important;
    margin-bottom: 8px !important;
    display: block !important;
  }

  /* Dark mode support for no results message */
  body.dark-mode .no-results-message {
    color: #666 !important;
  }

  body.dark-mode .no-results-message .fa-search {
    color: #666 !important;
  }
  color: #555 !important;
}
/* Fix hover background for suggestion items - ensure full coverage */
.search-suggestions .suggestion-item:hover,
.search-suggestions .suggestion-item:hover *,
.search-suggestions .suggestion-item.active,
.search-suggestions .suggestion-item.active * {
  background-color: none !important;
}

/* Dark mode hover fix */
body.dark-mode .search-suggestions .suggestion-item:hover,
body.dark-mode .search-suggestions .suggestion-item:hover *,
body.dark-mode .search-suggestions .suggestion-item.active,
body.dark-mode .search-suggestions .suggestion-item.active * {
  background-color: none !important;
}

/* Ensure no child elements have conflicting backgrounds */
.search-suggestions .suggestion-item div,
.search-suggestions .suggestion-item span {
  background: transparent !important;
}

.search-suggestions .suggestion-item:hover div,
.search-suggestions .suggestion-item:hover span,
.search-suggestions .suggestion-item.active div,
.search-suggestions .suggestion-item.active span {
  background-color: inherit !important;
}
/* COMPREHENSIVE HOVER FIX - Ensure ALL elements have same hover background */
.search-suggestions .suggestion-item:hover,
.search-suggestions .suggestion-item:hover > *,
.search-suggestions .suggestion-item:hover > * > *,
.search-suggestions .suggestion-item:hover div,
.search-suggestions .suggestion-item:hover span,
.search-suggestions .suggestion-item.active,
.search-suggestions .suggestion-item.active > *,
.search-suggestions .suggestion-item.active > * > *,
.search-suggestions .suggestion-item.active div,
.search-suggestions .suggestion-item.active span {
  background: #d6d6d6 !important;
}

/* Dark mode comprehensive hover fix */
body.dark-mode .search-suggestions .suggestion-item:hover,
body.dark-mode .search-suggestions .suggestion-item:hover > *,
body.dark-mode .search-suggestions .suggestion-item:hover > * > *,
body.dark-mode .search-suggestions .suggestion-item:hover div,
body.dark-mode .search-suggestions .suggestion-item:hover span,
body.dark-mode .search-suggestions .suggestion-item.active,
body.dark-mode .search-suggestions .suggestion-item.active > *,
body.dark-mode .search-suggestions .suggestion-item.active > * > *,
body.dark-mode .search-suggestions .suggestion-item.active div,
body.dark-mode .search-suggestions .suggestion-item.active span {
  background: #d6d6d6 !important;
}

/* Force override any inline styles that might conflict */
.search-suggestions .suggestion-item:hover [style*="background"],
.search-suggestions .suggestion-item.active [style*="background"] {
  background-color: none !important;
  background: none !important;
}

body.dark-mode .search-suggestions .suggestion-item:hover [style*="background"],
body.dark-mode
  .search-suggestions
  .suggestion-item.active
  [style*="background"] {
  background-color: none !important;
  background: none !important;
}
/* ULTIMATE FIX - Make text container background match hover background exactly */
.search-suggestions .suggestion-item:hover .suggestion-text,
.search-suggestions .suggestion-item:hover [style*="flex: 1"],
.search-suggestions .suggestion-item:hover [style*="min-width: 0"],
.search-suggestions .suggestion-item.active .suggestion-text,
.search-suggestions .suggestion-item.active [style*="flex: 1"],
.search-suggestions .suggestion-item.active [style*="min-width: 0"] {
  background-color: none !important;
  background: none !important;
}

/* Target the specific text container structure */
.search-suggestions .suggestion-item:hover > div:last-child,
.search-suggestions .suggestion-item:hover > div:last-child > div,
.search-suggestions .suggestion-item.active > div:last-child,
.search-suggestions .suggestion-item.active > div:last-child > div {
  background-color: none;
  background: none;
}

/* Dark mode version */
body.dark-mode .search-suggestions .suggestion-item:hover .suggestion-text,
body.dark-mode .search-suggestions .suggestion-item:hover [style*="flex: 1"],
body.dark-mode
  .search-suggestions
  .suggestion-item:hover
  [style*="min-width: 0"],
body.dark-mode .search-suggestions .suggestion-item.active .suggestion-text,
body.dark-mode .search-suggestions .suggestion-item.active [style*="flex: 1"],
body.dark-mode
  .search-suggestions
  .suggestion-item.active
  [style*="min-width: 0"],
body.dark-mode .search-suggestions .suggestion-item:hover > div:last-child,
body.dark-mode
  .search-suggestions
  .suggestion-item:hover
  > div:last-child
  > div,
body.dark-mode .search-suggestions .suggestion-item.active > div:last-child,
body.dark-mode
  .search-suggestions
  .suggestion-item.active
  > div:last-child
  > div {
  background-color: none !important;
  background: none !important;
}
/* FIX: Dark mode mobile responsive issues */

/* Fix h1 title size in dark mode - should match light mode responsive sizes */
@media (max-width: 768px) {
  body.dark-mode .lyric-search h1 {
    font-size: 29px !important;
    line-height: 29px !important;
  }
}

@media (max-width: 480px) {
  body.dark-mode .lyric-search h1 {
    font-size: 25px !important;
    line-height: 25px !important;
  }
}

/* Ensure search container maintains consistent size in dark mode */
@media (max-width: 768px) {
  body.dark-mode .advanced-search-container {
    max-width: 90% !important;
    margin-top: 25px !important;
  }

  /* body.dark-mode .search-input-wrapper {
    border-radius: 25px !important;
  } */

  body.dark-mode .search-icon {
    padding: 0 15px !important;
    font-size: 16px !important;
  }

  body.dark-mode .advanced-search-input {
    padding: 17px 0 !important;
    font-size: 15px !important;
  }
}

@media (max-width: 480px) {
  body.dark-mode .advanced-search-container {
    max-width: 95% !important;
    margin-top: 20px !important;
  }

  /* body.dark-mode .search-input-wrapper {
    border-radius: 20px !important;
  } */

  body.dark-mode .search-icon {
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  body.dark-mode .advanced-search-input {
    padding: 14px 0 !important;
    font-size: 14px !important;
  }
}

/* Override the general dark-mode h1 rule for the main title */
body.dark-mode .lyric-search h1 {
  font-size: 35px !important;
}

/* Ensure consistent sizing across light and dark modes */
@media (max-width: 399px) {
  .lyric-search h1,
  body.dark-mode .lyric-search h1 {
    font-size: 25px !important;
    line-height: 25px !important;
  }
}

@media (max-width: 767px) {
  .lyric-search h1,
  body.dark-mode .lyric-search h1 {
    font-size: 29px !important;
    line-height: 29px;
  }
}
