/* class-bo-shortcode.php */

/* Biblia Online Container */
/* <div class="biblia-online"> */
.biblia-online {
    position: relative;
}

/* Bible Form */
/* <form id="bible-form" autocomplete="off"> */
#bible-form {
    width: 100%;
}

/* Search Box */
/* <input type="text" id="book-search" placeholder="Filter Books..."> */
#book-search {
  width: 100%;
  padding: 7.5px 10px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid black;
}

/* ------------------ Bible Text and Navigation Chapter ------------------ */
/*<div id="bible-text">
    <button id="prev-chapter" class="nav-chapter" style="display:none;">&#8592;</button>
    <button id="next-chapter" class="nav-chapter" style="display:none;">&#8594;</button>
</div>*/
#bible-text {
    width: 50%;
    margin: 0 auto;
    position: relative;
}

.biblie_filter {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
}
.nav-chapter {
    bottom: 10%;
    background: none;
    border: none;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: none;
    z-index: 10;
    color: white;
    padding: 15px 20px;
  background-color: #daa769;
  z-index: 99999;
  border-radius: 0;
  opacity: 0.9;
}
.nav-chapter img {
  display: flex;
  width: 35px;
  height: 35px;
}
button#next-chapter img {
  transform: rotate(180deg);
}

/* ------------------ Bible Text and Navigation Chapter ------------------ */

/* ------------------ Book Selection ------------------ */
/*
<select id="book" name="book" size="10" style="display: none;">
    <?php
    foreach ($bible_data as $book) {
        echo '<option value="' . esc_attr($book['book']) . '">' . esc_html($book['book']) . '</option>';
    }
    ?>
    <option value="" disabled class="no-book-found" style="display:none;">No book found</option>
</select>
*/
#book {
  padding: 0px;
  margin-bottom: 10px;
  font-size: 17px;
  min-height: 37px;
  position: absolute;
  left: 0;
  top: 72px;
  z-index: 999;
  width: 100%;
}
/* ------------------ Book Selection ------------------ */

.dropdown {
  position: relative;
}
.chapter-grid {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid black;
  position: absolute;
  z-index: 999;
  background-color: #ffffff;
  width: 100%;
}
select#book option {
  padding: 7px 15px;
}
option.first-visible-option {
  background-color: #daa769;
  font-weight: 400;
}
select#book option:checked {
  background-color: #daa769 !important;
  font-weight: 400;
}

body,
*,
select#book {
  --sb-track-color: #ffffff;
  --sb-thumb-color: #daa769;
  --sb-size: 10px;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar,
select#book::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track,
select#book::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 8px;
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb,
select#book::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 8px;
  
}


select#book {
  border: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
input:focus-visible {
  outline: none;
}
div#loader {
  position: absolute;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
div#loader img {
  max-width: 70px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
div#chapter-container {
  position: relative;
}

.bible-nav {
  position: sticky;
  top: 90%;
  display: flex;
  width: 100%;
  height: auto;
  justify-content: center;
  z-index: 9999;
}
.bible-paragraph {
    line-height: 1.8;
    text-align: left;
    font-size: 19px;
}

.bible-paragraph .hoverable-verse {
    display: inline;
    margin-right: 0;
    white-space: normal;
}

.bible-paragraph sup {
    vertical-align: super;
    font-size: 0.7em;
    margin-right: 0.1em;
    color: #888;
}
span.share-buttons {
  position: absolute;
  z-index: 9999;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 10px 10px !important;
  border-radius: 10px;
}
.hoverable-verse {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.tooltip {
    margin-left: 5px;
    background: #333;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tooltip.show-tooltip {
    opacity: 1;
}

.share-buttons {
    display: none;
    align-items: center;
    gap: 8px;
}

.share-buttons img {
    cursor: pointer;
    transition: transform 0.2s;
}

.share-buttons img:hover {
    transform: scale(1.1);
}

.close-share {
    background: transparent;
    border: none;
    font-size: 1rem;
    color: #888;
    margin-right: 5px;
    cursor: pointer;
}

.verse-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.1);
    justify-content: center;
    align-items: center;
}
.verse-modal .modal-content {
    background: white;
    padding: 20px;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.verse-modal .close-modal {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}
.modal-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.modal-actions button {
    padding: 8px 12px;
    cursor: pointer;
}
.share-group {
    display: flex;
    gap: 10px;
}
.highlighted-verse {
    background-color: #fff3cd !important;
}
p.verse-reference {
  margin-top: 0;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 5px;
}
p.verse-body {
  margin-top: 5px;
}
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}
.verse-modal .modal_actions-btn > button svg {
    width: 20px;
    height: 20px;
}
.verse-modal .modal_actions-btn > button {
  background-color: transparent;
  border: none;
  padding: 0;
  font-weight: 500;
}
.verse-modal .modal_actions-btn > button:hover {
    color:#ff8c1a ;
}
.modal_actions-btn {
  display: flex;
  align-items: center;
  gap: 20px;
}
.share-group a:hover {
  transform: scale(1.1);
}
.bible-content h2 {
  text-align: center;
  font-weight: 800;
  color: #333;
  margin-bottom: 30px;
}
button#prev-chapter {
  border-radius: 50px 0 0 50px;
  padding-right: 70px;
}
button#next-chapter {
    border-radius: 0 50px 50px 0;
    padding-left: 70px;
}
.nav-chapter img {
  width: 20px;
}
.nav-chapter:hover {
  background-color: #d3a368;
  opacity: 1;
}

