body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f8f9fa;
}

.navbar {
  background-color: #243763;
}

.navbar-brand,
.nav-link {
  color: #fff !important;
}

.hero {
  background: linear-gradient(135deg, #243763, #3949ab);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.hero input {
  max-width: 400px;
}

.section-title {
  border-left: 5px solid #243763;
  padding-left: 10px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #243763;
}

.card img {
  height: 180px;
  object-fit: cover;
}

footer {
  background: #1a2754;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/*list*/

.full-link {
  display: block;
  align-items: baseline;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.full-link:hover {
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background 0.2s ease;
}

.list-oneline-title {
  font-weight: bold;
  line-height: 1;
  margin-top: -.15em;
  white-space: nowrap;
}
/*
.list-oneline-desc {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-top: -.05em;
  padding-left: .5em;
  font-size: 90%;
}

.list-group-item {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
*/

/*
block list
*/

.loadRes .row {
  flex-wrap: nowrap !important;
  /* paksa satu baris */
}

.loadRes .col,
.loadRes .col-auto {
  white-space: nowrap;
  /* jangan bungkus baris */
  display: flex;
  align-items: center;
}

.div-full-link {
  display: flex;
  align-items: baseline;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.div-full-link:hover {
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background 0.2s ease;
}

.span-oneline-title {
  flex: 0 0 auto;
  font-weight: 650;
  margin-right: .5rem;
}

.span-oneline-description {
  flex: 1 1 auto;
  min-width: 0;
  /* wajib untuk flex ellipsis */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 90%;
}

/* Opsional: tampilkan tooltip saat hover agar pengguna bisa baca penuh */
.span-oneline-title[title],
.span-oneline-description[title] {
  cursor: help;
}

/*playlist*/

.playlist-item {
  cursor: pointer;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.playlist-item:hover {
  background: #f1f1f1;
}

.playlist-item.active {
  background: #e2e2e2;
  font-weight: bold;
}

/* === Playlist Scroll === */
.playlistContainer {
  max-height: 400px;
  /* tinggi maksimal, bisa diganti */
  overflow-y: auto;
  /* scroll vertikal */
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 5px;
  background: #fafafa;
}

iframe,
video {
  width: 100%;
  height: 360px;
  border-radius: 8px;
}

.yt-fallback-thumb {
  width: 100%;
  border-radius: 8px;
}

.yt-fallback-btn {
  margin-top: 10px;
}

