.trending-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.trending-tabs .tab {
  padding: 8px 20px;
  background: #222;
  color: #00eacb;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.trending-tabs .tab.active,
.trending-tabs .tab:hover {
  background: #00eacb;
  color: #121212;
}

.trending-list {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.manga-item {
  flex-shrink: 0;
  flex-basis: 120px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.manga-item:hover {
  transform: scale(1.05);
}

.img-container {
  width: 100%;
  padding-top: 133%;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #222;
}

.img-container img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9rem;
}

.manga-title {
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ================================
✅ Light Mode Override (Global)
================================ */
body.mp-light {
  background-color: #f5f5f5 !important;
  color: #111 !important;
}

body.mp-light a {
  color: #007acc !important;
}

body.mp-light .button {
  background-color: #007acc !important;
  color: #fff !important;
}

body.mp-light .button:hover {
  background-color: #005f9e !important;
}

body.mp-light input,
body.mp-light textarea {
  background-color: #fff !important;
  color: #111 !important;
  border-color: #ccc !important;
}

body.mp-light .chapter-header,
body.mp-light .chapter-footer,
body.mp-light .app-footer,
body.mp-light .app-header {
  background-color: #ffffff !important;
  color: #111 !important;
  border-color: #ddd !important;
}
