@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap");

/* ==================[ Layout Setting ]=============================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.book {
  max-width: 1600px;
  margin-right: 0 auto;
  width: 100%;
}

.gitbook-link {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  text-align: center;
  border-top: 1px solid #ccc;
  z-index: 9999;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-button {
  display: none !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: transparent;
}

html:hover ::-webkit-scrollbar-thumb {
  background-color: #999999;
}

html:hover ::-webkit-scrollbar-thumb:hover {
  background-color: #666666;
}

.book .font-settings .dropdown-caret {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #2c3e50;
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
}

a {
  color: #1abc9c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

pre {
  background: #2d3436;
  color: #ecf0f1;
  padding: 12px;
  overflow: auto;
  border-radius: 5px;
  font-family: "Courier New", monospace;
}

code {
  background: #dfe6e9;
  color: #2c3e50;
  padding: 2px 5px;
  border-radius: 4px;
}

.global-cover {
  width: 100%;
  height: 200px;
  /* background-image: url("../image.jpeg"); */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 0 auto 30px auto;
  display: block;
  max-width: 1100px;
}

.book .book-body .body-inner {
  overflow: visible !important;
  padding-top: 0 !important;
}

.book-header {
  position: fixed;
  left: 0;
  top: 0;
  margin: 0 auto;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: #ededed 1px solid;
  display: flex;
  align-items: center;
  z-index: 999;
  color: #000000;
  max-width: 1600px;
}

.book .book-body .body-inner {
  position: relative;
  z-index: 2;
}

.book-outline {
  z-index: 3;
  background: white;
}

.doc-title {
  display: flex;
  align-items: center;
  padding: 20px 15px;
  gap: 12px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
}

.doc-title .logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.doc-title h1 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  color: #333;
}

.has-children > .chapter-title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  gap: 8px;
}

.has-children > .chapter-title > a,
.has-children > .chapter-title > span:not(.toggle-btn) {
  flex-shrink: 1;
  flex-grow: 1;
  min-width: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.has-children > .chapter-title > .toggle-btn {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 5px;
}

.custom-card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.custom-card {
  display: flex !important;
  align-items: center;
  padding: 14px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 15px;
  border: 1px solid transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}

.custom-card i {
  font-size: 16px;
  margin-right: 12px;
  width: 20px;
  text-align: center;
  transition: color 0.25s ease;
}

.custom-card::after {
  content: "›";
  margin-left: auto;
  font-size: 18px;
  color: #999;
  transition: color 0.25s ease;
}

.custom-card span {
  color: inherit;
}

.custom-card {
  background-color: #ffffff;
  border-color: #e9e9e9;
  color: #2c3e50 !important;
}

.custom-card i {
  color: #8e6100;
}
.custom-card::after {
  color: #cccccc;
}
.custom-card:hover {
  background-color: #f7f7f7;
  border-color: #c08000;
  color: #8e6100 !important;
}

.book-header h1,
.book-header .title {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  font-weight: bold;
  width: 100%;
  font-size: 1.5vw;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 5px;
  margin-top: 0 auto;
  margin-bottom: 0 auto;
  margin-right: 0 auto;
  text-align: center;
}

.book-header .font-settings {
  display: flex;
  align-items: center;
  color: #333;
  z-index: 2000;
  cursor: pointer;
  position: relative !important;
  float: none !important;
  right: 0;
  top: 0;
  margin-right: 1vw;
  max-width: 100%;
  font-size: 1.2vw;
}

button[data-toggle="summary"],
.toggle-summary {
  display: none !important;
}

.book-header .toggle-summary {
  order: 1;
}

.book-header img {
  order: 2;
}

.book-header .title {
  order: 3;
  flex-grow: 1;
  text-align: left;
  font-size: 20px;
}

.book-header .font-settings {
  order: 4;
  margin-left: auto;
}

.book-header .font-settings button {
  color: #333;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.font-settings .dropdown-menu {
  right: 0;
  left: auto;
  transform: translateX(0);
}

.book-header .font-settings button:hover {
  color: #1abc9c;
}

.book-header .font-settings * {
  color: inherit !important;
}

.book-summary::-webkit-scrollbar {
  width: 5px;
}
.book-summary::-webkit-scrollbar-track {
  background: transparent;
}
.book-summary::-webkit-scrollbar-button {
  display: none !important;
}

.book-summary::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 10px;
  border: none;
  transition: background-color 0.25s ease-in-out;
}
.book-summary:hover::-webkit-scrollbar-thumb {
  background-color: #bdc3c7;
}
.book-summary:hover::-webkit-scrollbar-thumb:hover {
  background-color: #95a5a6;
}

.book-summary {
  background: #ffffff;
  color: #34495e;
  border: none;
  padding: 1% 1% 0 1%;
  margin-top: 60px;
  margin-right: 0 !important;
  position: absolute;
  overflow-y: hidden;
  transition: all 0.3s ease;
}

.book-summary #book-search-input {
  background: #ffffff;
  color: #34495e;
}

.book-summary:hover {
  overflow-y: auto;
}

.book-summary ul.summary li a {
  color: #696969;
  padding: 5px 15px;
  margin: 0 3px;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif !important;
  width: 100%;
  transition: background 0.3s, color 0.3s;

  /* Ini bagian penting untuk mencegah teks terpotong */
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: break-word; /* Supaya kata panjang bisa dibungkus */
}

.book-summary ul.summary li a:hover {
  background: #f0efef;
  color: black;
  text-decoration: none;
}

.book-summary ul.summary li.active > a,
.book-summary .chapter.active > a,
.book-summary .chapter.active > .chapter-title > a {
  color: #2764ff;
  font-weight: bold;
}

.summary .chapter > a:after {
  display: none !important;
}

.book-summary ul.summary li.active > a:hover,
.book-summary .chapter.active > a:hover,
.book-summary .chapter.active > .chapter-title > a:hover {
  background: #e8f0ff;
  color: #5986fa;
}

.summary-group-header {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 12px 20px 4px 20px;
}

.summary-group-header {
  color: black !important;
}
ul.articles {
    position: relative;
    padding-left: 20px; /* Memberi sedikit ruang di kiri */
}

/* 
 * Membuat garis vertikal menggunakan pseudo-element ::before.
 * Garis ini akan membentang dari atas ke bawah wadah.
 */
ul.articles::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px; /* Posisi horizontal garis. Sesuaikan jika perlu */
    width: 1px;
    background-color: #444; /* Warna garis. Sesuaikan dengan tema Anda */
}

/* 
 * Menata setiap item (li) di dalam daftar sub-halaman.
 * Kita buat 'position: relative' agar bisa menata ikon di dalamnya.
 */
ul.articles > li.chapter {
    position: relative;
    padding-left: 15px; /* Mendorong teks ke kanan agar tidak menabrak garis */
}

/* 
 * Mengatur posisi ikon agar berada TEPAT DI ATAS garis vertikal.
 * Kita lepaskan dari alur normal dan posisikan secara absolut.
 */
ul.articles > li.chapter .summary-icon {
    position: absolute;
    left: 19px; /* Posisi horizontal ikon. Seharusnya (left garis - setengah lebar ikon) */
    top: 50%;
    transform: translateY(-50%); /* Trik untuk sentralisasi vertikal */
    background-color: #333; /* Warna background ikon, agar menutupi garis. Sesuaikan dg tema. */
    padding: 2px; /* Memberi sedikit nafas di sekitar ikon */
}
.summary-icon {
  width: 1.25em;
  min-width: 1.25em;
  display: inline-block;
  text-align: center;
  margin-right: 0.5em;
  opacity: 0.9;
}

.chapter-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;

  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.chapter-title > span {
  white-space: normal;
}

.has-children > .chapter-title {
  justify-content: space-between;
  cursor: pointer;
}

.toggle-btn {
  font-size: 12px;
  margin-left: auto;
  padding-left: 10px;
  color: #888;
  transition: transform 0.2s ease;
}

.collapsible {
  display: none;
  padding-left: 20px;
}

.chapter.open > .collapsible {
  display: block;
}

.chapter.open > .chapter-title .toggle-btn {
  transform: rotate(90deg);
}

.has-children > .chapter-title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  gap: 8px;
}

.has-children > .chapter-title > a,
.has-children > .chapter-title > span:not(.toggle-btn) {
  flex-shrink: 1;
  flex-grow: 1;
  min-width: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.has-children > .chapter-title > .toggle-btn {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 5px;
}

.book-body {
  margin-top: 30px;
  padding: 24px;
  margin-bottom: 24px;
  background: white;
}

.book-body .page-wrapper .page-inner section.normal {
  padding-top: 50px;

  padding-left: 30px;
  background: white;
}

.book-body .page-wrapper .page-inner section.normal iframe {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 100%;
  max-height: 100vh;
}

.cover {
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 1600px;
  height: auto;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.spacer {
  height: 150px;
}

iframe {
  display: flex;
  justify-content: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  padding: 10px;
  border: 1px solid #bdc3c7;
}

th {
  font-weight: bold;
}

blockquote {
  border-left: 4px solid #1abc9c;
  padding-left: 16px;
  color: #555;
  background: #f1f1f1;
  margin: 20px 0;
}

@keyframes fadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.2s ease-out;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
}

.modal-close:hover {
  color: #e74c3c;
}

.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.search-modal-content {
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

#modalSearchInput {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
}

#searchResultsList,
#modalSearchResults {
  list-style: none;
  padding: 0;
  margin: 0;
}

#searchResultsList li,
#modalSearchResults li {
  margin-bottom: 10px;
}

#searchResultsList li a,
#modalSearchResults li a {
  color: #1abc9c;
  font-weight: bold;
  text-decoration: none;
}

#searchResultsList li a:hover,
#modalSearchResults li a:hover {
  text-decoration: underline;
}

.search-results {
  padding: 24px;
  max-width: 900px;
  margin: 40px auto;
}

.search-results-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
  text-decoration: none;
  color: #2c3e50;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 12px;
  /* transition: color 0.3s ease, border-color 0.3s ease; */
}

.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.search-results-list li {
  background: transparent;
  border-radius: 8px;
  padding: 20px 24px;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease,
    border-color 0.3s ease;
}

.search-results-list li:hover {
  transform: translateY(-4px);
  text-decoration: none;
  background-color: #ffffff;
  border-color: #e9ecef;
  border-left-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.search-results-list li a {
  color: #34495e;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
/* hai */
.search-results-list li:hover a {
  color: #ffffff;
  text-decoration: none;
}

.search-results-list li p {
  margin: 0;
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  transition: color 0.3s ease;
}

#book-search-input input[type="text"],
.custom-search-box input[type="text"],
.search-box-with-icon input {
  width: 100%;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

#book-search-input input[type="text"]:focus,
.custom-search-box input[type="text"]:focus,
.search-box-with-icon input:focus {
  outline: none;
  transform: scale(1.02);
  border-color: #dbae34;
  box-shadow: 0 4px 14px rgba(78, 165, 249, 0.25) !important;
}

.search-box-with-icon {
  position: relative;
  max-width: 400px;
  margin: 16px auto;
}

.search-box-with-icon i.fa-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.search-box-with-icon input {
  padding-left: 40px;
}

.book .navigation {
  display: none !important;
}

.book .book-body .body-inner {
  margin: 0 !important;
  padding: 0 !important;
}

.book .book-body .page-wrapper .page-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 24px !important;
  box-sizing: border-box;
}

body.with-summary .book-summary {
  display: block;
}

body.with-summary .book-body {
  margin-left: 240px;
}

body.without-summary .book-summary {
  display: none !important;
}

body.without-summary .book-body {
  margin-left: 0 !important;
}

#page-outline {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  width: 240px;
  height: 100vh;
  overflow-y: auto;
  background-color: #ffffff;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.outline-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 15px;
  padding: 0 12px;
}

.outline-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.outline-list li {
  margin-bottom: 4px;
}

.outline-list a {
  color: #495057 !important;
  text-decoration: none;
  display: block !important;
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 500 !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.outline-list a:hover {
  background: #f0efef;
  color: black !important;
  text-decoration: none;
}

.outline-list a.active {
  background-color: #c66900;
  color: #ffffff !important;
  font-weight: 600;
}

.depth-h3 a {
  padding-left: 24px;
  font-size: 13.5px;
}
.depth-h4 a {
  padding-left: 36px;
  font-size: 13px;
}

#page-outline::-webkit-scrollbar {
  width: 5px;
}
#page-outline::-webkit-scrollbar-track {
  background: transparent;
}
#page-outline::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.page-navigation {
  padding-left: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding-top: 24px;
}

.page-nav-link {
  display: block;
  flex-basis: 48%;
  padding: 16px 20px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.page-nav-link:hover {
  background-color: #f8f9fa;
  border-color: #188fff;
}

.page-nav-link .nav-label {
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-nav-link .nav-title {
  font-size: 16px;
  font-weight: 600;
  color: #34495e;
}

.page-nav-link:hover .nav-title {
  color: #188fff;
}

.page-nav-link.next {
  text-align: right;
}

.page-nav-link.prev::before,
.page-nav-link.next::after {
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #bdc3c7;
  transition: all 0.25s ease;
}

.page-nav-link.prev::before {
  content: "\f053";
  left: 20px;
}

.page-nav-link.next::after {
  content: "\f054";
  right: 20px;
}

.page-nav-link.prev {
  padding-left: 50px;
}

.page-nav-link.next {
  padding-right: 50px;
}

.page-nav-link:hover::before,
.page-nav-link:hover::after {
  color: #188fff;
}

/* 
=======================[ Resolution ]===========================
 */

@media (min-width: 210px) and (max-width: 900px) {
  .book-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 9999;
    color: #000000;
  }

  .book-header h1,
  .book-header .title {
    display: none !important;
  }

  .book.with-summary .book-summary,
  .book.color-theme-1.with-summary .book-summary,
  .book.color-theme-2.with-summary .book-summary {
    transform: translateX(0%);
    visibility: visible;
    opacity: 1;
  }

  .book-summary {
    position: fixed !important;
    margin-top: 0;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    overflow-y: auto;
    background: #fff;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    padding: 16px;
    box-sizing: border-box;
  }

  .with-summary .book-summary {
    top: 50px;
    height: calc(100vh - 50px);
  }

  .book-summary ul.summary li a {
    padding: 10px;
    font-size: 14px;
  }

  .book-summary ul.summary li a:hover {
    background: #f0efef;
  }

  .book.with-summary .book-body {
    overflow: hidden;
    margin-left: 0 !important;
  }

  .book .book-body,
  .book.color-theme-1 .book-body,
  .book.color-theme-2 .book-body {
    margin-top: 0 !important;
    padding-top: 50px !important;
    box-sizing: border-box;
  }

  .book .book-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
  }

  .book-body {
    padding: 10px;
    box-sizing: border-box;
  }

  #page-outline {
    display: none !important;
  }

  .page-navigation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .custom-card-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5;
  }
}

@media (max-width: 768px) {
  .book-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 999;
    color: #000000;
  }
  .book-header h1,
  .book-header .title {
    display: none !important;
  }

  .book.with-summary .book-summary {
    transform: translateX(0%);
    visibility: visible;
    opacity: 1;
  }

  .with-summary .book-summary {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background-color: #ffffff;
    padding: 16px;
  }

  .color-theme-1 .with-summary .book-summary {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 16px;
  }

  .color-theme-2 .with-summary .book-summary {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 16px;
  }

  .book-summary {
    position: fixed !important;
    top: 50px;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    background: #fff;
    z-index: 1000;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .color-theme-1 .book-summary {
    position: fixed !important;
    top: 50px;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .color-theme-2 .book-summary {
    position: fixed !important;
    top: 50px;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .book.with-summary .book-body {
    transform: none !important;
  }

  .book.with-summary .book-summary {
    transform: translateX(0%) !important;
  }

  .book.with-summary .book-body {
    overflow: hidden;
  }

  .book-header {
    z-index: 9999;
  }

  .book .book-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
  }

  .book .book-body {
    padding-top: 50px;
  }

  .book.with-summary .book-body {
    overflow: hidden;
  }
  .book-summary ul.summary li a {
    padding: 10px;
    font-size: 14px;
  }
  .book-summary ul.summary li a:hover {
    background: #f0efef;
  }
  .book-body {
    padding: 10px;
    margin-top: 0;
  }
  #page-outline {
    display: none !important;
  }

  .book-summary {
    width: 100%;
    z-index: 9999;
  }
  .book.with-summary .book-body {
    margin-left: 0 !important;
  }
}

@media (max-width: 1024px) {
  .book-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 999;
    color: #000000;
  }

  #page-outline {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .book-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 999;
    color: #000000;
  }
}

@media (min-width: 1440px) {
  .book {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
  }

  html.color-theme-0,
  body.color-theme-0 {
    background: #ffffff;
  }

  html.color-theme-1,
  body.color-theme-1 {
    background: #fbf5e9;
  }

  html.color-theme-2,
  body.color-theme-2 {
    background: #1e1e1e;
  }

  .book-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    max-width: 1600px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);

    display: flex;
    align-items: center;
    z-index: 999;
    color: #000000;
  }

  .book-summary {
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    flex-shrink: 0;
    width: 300px;
    background: #ffffff;
    z-index: 998;
  }

  .book.with-summary .book-body {
    flex-grow: 1;
    padding: 30px;
    margin-left: 0px;
  }

  .book-body {
    flex-grow: 1;
    padding: 30px;
    margin-left: 300px;
  }

  .btn.pull-left {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .book-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 999;
    color: #000000;
  }
  .book-header h1,
  .book-header .title {
    display: none !important;
  }

  .book.with-summary .book-summary {
    transform: translateX(0%);
    visibility: visible;
    opacity: 1;
  }

  .with-summary .book-summary {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background-color: #ffffff;
    padding: 16px;
  }

  .color-theme-1 .with-summary .book-summary {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 16px;
  }

  .color-theme-2 .with-summary .book-summary {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 16px;
  }

  .book-summary {
    position: fixed !important;
    top: 50px;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    background: #fff;
    z-index: 1000;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .color-theme-1 .book-summary {
    position: fixed !important;
    top: 50px;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .color-theme-2 .book-summary {
    position: fixed !important;
    top: 50px;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .book.with-summary .book-body {
    transform: none !important;
  }

  .book.with-summary .book-summary {
    transform: translateX(0%) !important;
  }

  .book.with-summary .book-body {
    overflow: hidden;
  }

  .book-header {
    z-index: 9999;
  }

  .book .book-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
  }

  .book .book-body {
    padding-top: 50px;
  }

  .book.with-summary .book-body {
    overflow: hidden;
  }
  .book-summary ul.summary li a {
    padding: 10px;
    font-size: 14px;
  }
  .book-summary ul.summary li a:hover {
    background: #f0efef;
  }
  .book-body {
    padding: 10px;
    margin-top: 0;
  }
  #page-outline {
    display: none !important;
  }

  .book-summary {
    width: 100%;
    z-index: 9999;
  }
  .book.with-summary .book-body {
    margin-left: 0 !important;
  }
}

/*
==================================================
--------------------[ THEME ]---------------------
==================================================
*/

/* =======================[ White ]======================================= */
html.color-theme-0,
body.color-theme-0 {
  background: #ffffff;
}

.book.color-theme-0 ::-webkit-scrollbar-track {
  display: none;
}
.book.color-theme-0 ::-webkit-scrollbar-thumb {
  background-color: transparent;
}
html.book.color-theme-0:hover ::-webkit-scrollbar-track {
  display: block;
  background: #f1f1f1;
}
html.book.color-theme-0:hover ::-webkit-scrollbar-thumb {
  background-color: #999999;
}
html.book.color-theme-0:hover ::-webkit-scrollbar-thumb:hover {
  background-color: #666666;
}

body.book.color-theme-0 {
  scrollbar-color: transparent transparent;
}
html.book.color-theme-0:hover body {
  scrollbar-color: #999999 #666666;
}

.book.color-theme-0 table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.book.color-theme-0 th {
  font-weight: bold;
  background-color: #f0f0f0;
  padding: 10px;
  border: 1px solid #ccc;
  color: #333;
}

.book.color-theme-0 tr:nth-child(odd) td {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
}

.book.color-theme-0 tr:nth-child(even) td {
  background-color: #f9f9f9;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
}

.book.color-theme-0 #book-search-input input[type="text"],
.book.color-theme-0 .custom-search-box input[type="text"],
.book.color-theme-0 .search-box-with-icon input {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.book.color-theme-0 #book-search-input input[type="text"]:focus,
.book.color-theme-0 .custom-search-box input[type="text"]:focus,
.book.color-theme-0 .search-box-with-icon input:focus {
  border-color: #4ea5f9;
  box-shadow: 0 4px 14px rgba(78, 165, 249, 0.25) !important;
}

.book.color-theme-0 .search-box-with-icon i.fa-search {
  color: #888;
}

.book.color-theme-0 .page-navigation {
  border-top-color: #e4dccd;
}

.book.color-theme-0 .page-nav-link {
  border-color: #e4dccd;
  background-color: transparent;
}

.book.color-theme-0 .page-nav-link:hover {
  background-color: #f5efe4;
  border-color: #007bff;
  box-shadow: 0 8px 16px rgba(85, 75, 65, 0.1);
}

.book.color-theme-0 .page-nav-link .nav-label {
  color: #007bff;
}

.book.color-theme-0 .page-nav-link .nav-title {
  color: #085d74;
}

.book.color-theme-0 .page-nav-link:hover .nav-title {
  color: #5a8fb3;
}

.book.color-theme-0 .page-nav-link.prev::before,
.book.color-theme-0 .page-nav-link.next::after {
  color: #007bff;
}

.book.color-theme-0 .page-nav-link:hover::before,
.book.color-theme-0 .page-nav-link:hover::after {
  color: #5a8fb3;
}

/* =======================[ Sepia ]====================================== */

html.color-theme-1,
body.color-theme-1 {
  background: #f4f0e8;
}

.book.color-theme-1 ::-webkit-scrollbar-track {
  display: none;
}
.book.color-theme-1 ::-webkit-scrollbar-thumb {
  background-color: transparent;
}
html.book.color-theme-1:hover ::-webkit-scrollbar-track {
  display: block;
  background: #e0d5c4;
}
html.book.color-theme-1:hover ::-webkit-scrollbar-thumb {
  background-color: #a97c50;
}
html.book.color-theme-1:hover ::-webkit-scrollbar-thumb:hover {
  background-color: #946c45;
}

body.book.color-theme-1 {
  scrollbar-color: transparent transparent;
}
html.book.color-theme-1:hover body,
body.book.color-theme-1 {
  scrollbar-color: #946c45 #e0d5c4;
}

.book.color-theme-1 .book-summary::-webkit-scrollbar-thumb {
  background-color: transparent !important;
}

.book.color-theme-1 .book-summary:hover::-webkit-scrollbar-thumb {
  background-color: #946c45 !important;
}

.book.color-theme-1 .book-summary:hover::-webkit-scrollbar-thumb:hover {
  background-color: #946c45 !important;
}

.color-theme-1 .book-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #5b4636;
}

.book.color-theme-1 .custom-card {
  background-color: transparent;
  border-color: #dcd3c5;
  color: #5c4b38 !important;
}
.book.color-theme-1 .custom-card i {
  color: #cb851e;
}
.book.color-theme-1 .custom-card::after {
  color: #b0a394;
}
.book.color-theme-1 .custom-card:hover {
  background-color: #f3ede6;
  border-color: #cb851e;
}
.book.color-theme-1 .custom-card:hover i,
.book.color-theme-1 .custom-card:hover::after {
  color: #5c4b38;
}

.book.color-theme-1 .book-header .font-settings {
  color: #5b4636;
}

.book.color-theme-1 .book-summary {
  background: #f4f0e8;
  color: #5b4636;
}
.book.color-theme-1 ul.articles::before {
  background-color: #b48a6e;
}

.book.color-theme-1 ul.articles > li.chapter .summary-icon {
  background-color: #f4ecd8;
  color: #7b4f24;
}
.book.color-theme-1 .book-summary ul.summary li a:hover {
  background: #fdf6e5;
  color: #473223;
}

.book.color-theme-1 .book-summary ul.summary li:not(.active) > a {
  color: #706156 !important;
}

.book.color-theme-1 .book-summary ul.summary li:not(.active) > a:hover {
  color: #6a3f0f !important;
  background: #fef6e5 !important;
  /* border-radius: 8px; */
}

.book.color-theme-1 .book-summary ul.summary li.active > a,
.book.color-theme-1 .book-summary .chapter.active > a,
.book.color-theme-1 .book-summary .chapter.active > .chapter-title > a {
  color: #6a3f0f !important;
  font-weight: bold !important;
  background: rgba(254, 246, 229, 0.6) !important;
}

.book.color-theme-1 .book-summary ul.summary li.active > a:hover,
.book.color-theme-1 .book-summary .chapter.active > a:hover,
.book.color-theme-1 .book-summary .chapter.active > .chapter-title > a:hover {
  color: #473223 !important;
  background: #fef6e5 !important;
}

.book.color-theme-1 .summary-group-header {
  color: #706156 !important;
}

.book.color-theme-1 table {
  /* width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px; */
  background-color: #f4ecd8;
  color: #5b4636;
}

.book.color-theme-1 th {
  /* font-weight: bold; */
  background-color: #e8dbc4;
  /* padding: 10px; */
  border: 1px solid #d6c6ac;
}

.book.color-theme-1 tr:nth-child(odd) td {
  background-color: #fdfaf5;
  border: 1px solid #d6c6ac;
  /* padding: 10px; */
}

.book.color-theme-1 tr:nth-child(even) td {
  background-color: #f1e6d5;
  border: 1px solid #d6c6ac;
  /* padding: 10px; */
}

.book.color-theme-1 .book-body {
  background-color: #f4f0e8 !important;
}

.book.color-theme-1 .search-results-title {
  color: #5c4b3d;
  /* text-decoration: none; */
  border-bottom-color: #dcd3c5;
}

.book.color-theme-1 .search-results-list li:hover {
  /* transform: translateY(-4px);
  text-decoration: none; */
  background-color: #f4f0e8;
  border-color: #e6e0d4;
  border-left-color: #708090;
  /* box-shadow: 0 8px 25px rgba(92, 75, 61, 0.12); */
}

.book.color-theme-1 .search-results-list li a {
  color: #5d5146;
}

.book.color-theme-1 .search-results-list li:hover a {
  color: #708090;
  text-decoration: none;
}

.book.color-theme-1 .search-results-list li p {
  color: #8a7a6c;
}

.book.color-theme-1 {
  background-color: #f4ecd8 !important;
  color: #5b4636 !important;
}
.book.color-theme-1 a {
  color: #b85c00 !important;
}

.book.color-theme-1 #book-search-input input[type="text"],
.book.color-theme-1 .custom-search-box input[type="text"],
.book.color-theme-1 .search-box-with-icon input {
  background-color: #fdf6e3 !important;
  color: #5b4636 !important;
  border: 1px solid #d6c6a7 !important;
  /* box-shadow: 0 2px 5px rgba(91, 70, 54, 0.05) !important; */
}

.book.color-theme-1 #book-search-input input[type="text"]:focus,
.book.color-theme-1 .custom-search-box input[type="text"]:focus,
.book.color-theme-1 .search-box-with-icon input:focus {
  background-color: #fffaf1 !important;
  border-color: #c9a66b !important;
  /* box-shadow: 0 4px 12px rgba(91, 70, 54, 0.15) !important; */
}

.book.color-theme-1 .search-box-with-icon i.fa-search {
  color: #a8885e !important;
}

.book.color-theme-1 .font-settings .dropdown-menu {
  background-color: #f4f0e8 !important;
  /* border: 1px solid #333 !important; */
  /* border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); */
  color: #a8885e !important;
}

.book.color-theme-1 {
  background-color: #f4f0e8 !important;
  color: #e0e0e0 !important;
  /* font-family: "Segoe UI", "Inter", sans-serif; */
  /* transition: background-color 0.3s ease; */
}
.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal {
  background: #f4f0e8;
}

.book.color-theme-1 .book-summary #book-search-input {
  background: #f4f0e8;
  color: #5b4636;
}

.book.color-theme-1 #page-outline {
  background-color: #f4f0e8;
}

.book.color-theme-1 .outline-title {
  color: #cb851e;
}

.book.color-theme-1 .outline-list a {
  color: #cb851e !important;
}

.book.color-theme-1 .outline-list a:hover {
  background-color: #fef6e5;
}

.book.color-theme-1 .outline-list a.active {
  background-color: #fef6e5;
  color: #f4f0e8 !important;
}

.book.color-theme-1 #page-outline::-webkit-scrollbar-thumb {
  background-color: #b0a293;
}

.book.color-theme-1 .page-navigation {
  border-top-color: #cb851e;
}

.book.color-theme-1 .page-nav-link {
  border-color: #dcd3c5;
  color: #5c4b38;
  background-color: transparent;
}

.book.color-theme-1 .page-nav-link:hover {
  background-color: #f4f0e8;
  border-color: #cb851e;
}

.book.color-theme-1 .page-nav-link .nav-label {
  color: #5c4b38;
}

.book.color-theme-1 .page-nav-link .nav-title {
  color: #5c4b38;
}

.book.color-theme-1 .page-nav-link:hover .nav-title {
  color: #5c4b38;
}

.book.color-theme-1 .page-nav-link.prev::before,
.book.color-theme-1 .page-nav-link.next::after {
  color: #cb851e;
}
.book.color-theme-1 .page-nav-link:hover::before,
.book.color-theme-1 .page-nav-link:hover::after {
  color: #cb851e;
}

/* =========================[ Night ]=============================== */

html.color-theme-2,
body.color-theme-2 {
  background: #1e1e1e;
}


.book.color-theme-2 .book-summary ul.summary li a:hover {
  background-color: #2a2a2a !important; /* abu-abu gelap */
  color: #ffffff !important; /* teks jadi putih */
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.book.color-theme-2 ::-webkit-scrollbar-track {
  display: none;
}
.book.color-theme-2 ::-webkit-scrollbar-thumb {
  background-color: transparent;
}
html.book.color-theme-2:hover ::-webkit-scrollbar-track {
  display: block;
  background: #2c2c2c;
}
html.book.color-theme-2:hover ::-webkit-scrollbar-thumb {
  background-color: #686868;
}
html.book.color-theme-2:hover ::-webkit-scrollbar-thumb:hover {
  background-color: #8e8e8e;
}

body.book.color-theme-2 {
  scrollbar-color: transparent;
}
html.book.color-theme-2:hover body {
  scrollbar-color: #686868 #2c2c2c;
}

.color-theme-2 .book-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8e8e8;
}

.book.color-theme-2 .custom-card {
  background-color: #1e1e1e;
  border-color: #333;
  color: #f0f0f0 !important;
}
.book.color-theme-2 .custom-card i {
  color: #bbb;
}
.book.color-theme-2 .custom-card::after {
  color: #666;
}
.book.color-theme-2 .custom-card:hover {
  background-color: #262626;
}
.book.color-theme-2 .custom-card:hover i,
.book.color-theme-2 .custom-card:hover::after {
  color: #d2dfff;
}

.book.color-theme-2 .book-header .font-settings {
  color: #e0e0e0;
}

/* .book.color-theme-2 .book-summary {
  overflow-y: auto !important;
} */

.book.color-theme-2 .book-summary::-webkit-scrollbar-thumb {
  background-color: transparent !important;
}

.book.color-theme-2 .book-summary:hover::-webkit-scrollbar-thumb {
  background-color: #4a5056 !important;
}

.book.color-theme-2 .book-summary:hover::-webkit-scrollbar-thumb:hover {
  background-color: #6c757d !important;
}
.book.color-theme-2 ul.articles::before {
  background-color: #444;
}

.book.color-theme-2 ul.articles > li.chapter .summary-icon {
  background-color: #121212;
  color: #cba880;
}
.book.color-theme-2 .book-summary {
  background: #1e1e1e;
  color: #696969;
}

.book.color-theme-2 .book-summary ul.summary li a {
  color: #696969 !important;
  /* font-family: "Inter", sans-serif;
  font-weight: 300 !important; */
}

.book.color-theme-2 .book-summary ul.summary li.active > a,
.book.color-theme-2 .book-summary ul.summary li a:hover {
  color: #d1d1d1 !important;
}

.book.color-theme-2 .summary-group-header {
  color: white !important;
}

.book.color-theme-2 table {
  /* width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px; */
  background-color: #1e1e1e;
  color: #ecf0f1;
}

.book.color-theme-2 th {
  /* font-weight: bold; */
  background-color: #2c2c2c;
  /* padding: 10px; */
  border: 1px solid #444;
}

.book.color-theme-2 tr:nth-child(odd) td {
  background-color: #1e1e1e;
  border: 1px solid #444;
  /* padding: 10px; */
}

.book.color-theme-2 tr:nth-child(even) td {
  background-color: #2a2a2a;
  border: 1px solid #444;
  /* padding: 10px; */
}

.book.color-theme-2 .search-results-title {
  color: #e9ecef;
  /* text-decoration: none; */
  border-bottom-color: #3a3f44;
}

.book.color-theme-2 {
  background-color: #1e1e1e !important;
  color: #e0e0e0 !important;
  /* font-family: "Segoe UI", "Inter", sans-serif;
  transition: background-color 0.3s ease; */
}

.book.color-theme-2 .book-body {
  background-color: #1e1e1e !important;
}

.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
  background: #1e1e1e;
  /* box-shadow: none; */
}

.book.color-theme-2 .search-results-list li:hover {
  /* transform: translateY(-4px);
  text-decoration: none; */
  background-color: #24272b;
  border-color: #3a3f44;
  border-left-color: #ffb758;
  /* box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15); */
}

.book.color-theme-2 .search-results-list li a {
  color: #dbe0e4;
}

.book.color-theme-2 .search-results-list li:hover a {
  color: #db8d34;
  /* text-decoration: none; */
}

.book.color-theme-2 .search-results-list li p {
  color: #9aa5b1;
}

.book.color-theme-2 {
  background-color: #1e1e1e !important;
  color: #e0e0e0 !important;
  /* font-family: "Segoe UI", "Inter", sans-serif;
  transition: background-color 0.3s ease; */
}
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
  background: #1e1e1e;
  /* box-shadow: none; */
}

.book.color-theme-2 .book-summary {
  background: #1e1e1e !important;
}

.book.color-theme-2 .book-summary #book-search-input {
  background: #1e1e1e;
  color: white;
}

.book.color-theme-2 .book-summary ul.summary li:not(.active) > a {
  color: #696969 !important;
  /* font-family: "Inter", sans-serif;
  font-weight: lighter !important; */
}

.book.color-theme-2 .book-summary ul.summary li:not(.active) > a:hover {
  color: #ffffff !important;
  /* background: rgba(88, 166, 255, 0.1) !important;
  border-radius: 8px; */
}

.book.color-theme-2 .book-summary ul.summary li.active > a,
.book.color-theme-2 .book-summary .chapter.active > a,
.book.color-theme-2 .book-summary .chapter.active > .chapter-title > a {
  color: #ffb758 !important;
  font-weight: bold;
  /*
  background: rgba(88, 166, 255, 0.15) !important;
  border-radius: 8px;
  font-family: "Inter", sans-serif; */
}

.book.color-theme-2 .doc-title {
  border-bottom: 1px solid #333333;
}
.book.color-theme-2 .doc-title h1 {
  color: #ffffff;
  /* border-bottom: none;
  padding-bottom: 0; */
}

.book.color-theme-2 #book-search-input input[type="text"],
.book.color-theme-2 .custom-search-box input[type="text"],
.book.color-theme-2 .search-box-with-icon input {
  background-color: #1f1f1f !important;
  color: #eee !important;
  border: 1px solid rgb(187, 187, 187) !important;
  border-radius: 4px !important;
 /*
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease; */
}

.book.color-theme-2 #book-search-input input[type="text"]:focus,
.book.color-theme-2 .custom-search-box input[type="text"]:focus,
.book.color-theme-2 .search-box-with-icon input:focus {
  background-color: #2a2a2a !important;
  border-color: #ffb758 !important;
  /* box-shadow: 0 4px 14px rgba(78, 165, 249, 0.25) !important;
  outline: none !important; */
}

.book.color-theme-2 .search-box-with-icon i.fa-search {
  color: #aaa !important;
}

.book.color-theme-2 .font-settings .dropdown-menu {
  background-color: #252525 !important;
  /* border: 1px solid #333 !important;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); */
  color: #ddd !important;
}

.book.color-theme-2 .font-settings .dropdown-menu li a {
  color: #ddd !important;
  /* padding: 10px 16px;
  display: block; */
  /* transition: background 0.2s ease; */
}

.book.color-theme-2 .font-settings .dropdown-menu li a:hover {
  background-color: #333 !important;
  /* border-radius: 4px; */
}

.book.color-theme-2 #page-outline {
  background-color: #1e1e1e;
}

.book.color-theme-2 .outline-title {
  color: #e9ecef;
}

.book.color-theme-2 .outline-list a {
  color: #adb5bd !important;
}

.book.color-theme-2 .outline-list a:hover {
  color: #ffd380 !important;
  background-color: rgba(0, 123, 255, 0.15);
}

.book.color-theme-2 .outline-list a.active {
  background-color: #bf6900;
  color: #ffffff !important;
}

.book.color-theme-2 #page-outline::-webkit-scrollbar-thumb {
  background-color: #495057;
}

.book.color-theme-2 .page-navigation {
  border-top-color: #aab3bb;
}

.book.color-theme-2 .page-nav-link {
  border-color: #aab3bb;
  background-color: transparent;
}

.book.color-theme-2 .page-nav-link:hover {
  background-color: #1e1e1e;
  border-color: #ffb758;
}

.book.color-theme-2 .page-nav-link .nav-label {
  color: #aab3bb;
}

.book.color-theme-2 .page-nav-link .nav-title {
  color: #dbe0e4;
}

.book.color-theme-2 .page-nav-link:hover .nav-title {
  color: #ffb758;
}

.book.color-theme-2 .page-nav-link.prev::before,
.book.color-theme-2 .page-nav-link.next::after {
  color: #9da6b0;
}

.book.color-theme-2 .page-nav-link:hover::before,
.book.color-theme-2 .page-nav-link:hover::after {
  color: #ffb758;
}

/* ========================================================== */

/* Icon */

.summary li.header::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f02d"; /* fa-book */
  margin-right: 6px;
  color: #555;
}

/* Judul tertentu bisa dibedakan */
.summary li.header:contains("Pengenalan")::before {
  content: "\f07b"; /* fa-folder */
  color: #855901;
}

/* Tambahkan ikon emoji untuk uji coba awal */
.summary li.header::before {
  content: "📌";
  margin-right: 8px;
}

li.summary span.fa {
  margin-right: 8px;
}

/* ===== Hover untuk daftar outline di sisi kanan (dark mode) ===== */
.book.color-theme-2 .outline-list a:hover {
  background-color: #2a2a2a !important; /* abu-abu gelap */
  color: #ba9650 !important;            /* teks jadi putih */
  border-radius: 6px;                   /* biar konsisten */
  transition: background-color 0.2s ease;
}

/* ===== Hover Sidebar (Dark Mode) ===== */
.book.color-theme-2 .book-summary ul.summary li a:hover {
  background-color: #2a2a2a !important; /* abu-abu gelap */
  color: #ffffff !important;            /* teks putih */
  border-radius: 6px;                   /* biar halus */
  transition: background-color 0.2s ease;
}


