/* Comic Detail Header Section */
.comic-detail-header {
  padding: 25px 0;
}

.comic-detail-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.comic-detail-header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comic-detail-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

/* Breadcrumb */
.comic-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.comic-detail-breadcrumb .breadcrumb-link {
  color: #abb7c4;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.comic-detail-breadcrumb .breadcrumb-link:hover {
  color: var(--primary-color);
}

.comic-detail-breadcrumb .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

.comic-detail-breadcrumb .breadcrumb-current {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* Header Right Actions */
.comic-detail-header-right {
  display: flex;
  gap: 12px;
}

.bookmark-icon-btn,
.settings-icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.settings-icon-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.bookmark-icon-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Responsive */
@media (max-width: 820px) {
  .comic-detail-header {
    padding: 20px 0;
  }

  .comic-detail-title {
    font-size: 20px;
  }

  .bookmark-icon-btn,
  .settings-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .comic-detail-header {
    padding: 15px 0;
  }

  .comic-detail-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .comic-detail-header-left {
    width: 100%;
    gap: 8px;
  }

  .comic-detail-title {
    font-size: 18px;
  }

  .comic-detail-breadcrumb {
    font-size: 12px;
  }

  .comic-detail-breadcrumb .breadcrumb-link,
  .comic-detail-breadcrumb .breadcrumb-current,
  .comic-detail-breadcrumb .breadcrumb-separator {
    font-size: 12px;
  }

  .comic-detail-header-right {
    width: 100%;
    justify-content: flex-start;
  }

  .bookmark-icon-btn,
  .settings-icon-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* Comic Detail Content */

.wrapper-comic-content-detail {
  max-width: 800px;
}

.comic-detail-content {
  padding-top: 20px;
}

/* Chapter Navigation */
.chapter-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.chapter-navigation:last-child {
  margin-bottom: 0;
  margin-top: 30px;
}

.chapter-select {
  width: 100%;
  max-width: 150px;
  padding: 12px 20px;
  background-color: #f5f5f5;
  color: #1a1a1a;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.chapter-select option {
  text-align: center;
  padding: 8px 10px;
  font-family: inherit;
}

.chapter-select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.nav-buttons-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.nav-button {
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-button:hover {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.nav-button.hidden {
  display: none;
}

.nav-button i {
  font-size: 14px;
}

/* Comic Images */
.comic-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

.comic-images img {
  height: auto;
  display: block;
  width: 100%;
}

/* Responsive */
@media (max-width: 820px) {
  .chapter-navigation {
    padding: 15px;
  }
}

@media (max-width: 430px) {
  .chapter-navigation {
    padding: 12px;
  }

  .nav-buttons-wrapper {
    width: 100%;
  }

  .wrapper-comic-content-detail {
    padding: 0 !important;
  }
}
