body {
  background: linear-gradient(120deg, #161616 0%, #7b0000 90%);
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}
.container-narrow {
  max-width: 1200px; margin: 32px auto; padding: 28px 24px;
  background: rgba(26,0,0,0.97); border-radius: 18px;
  box-shadow: 0 0 38px 0 rgba(90,0,0,0.17); border: 1px solid #2a0000;
}
.main-row { display: flex; gap: 34px; align-items: flex-start; }
.left-pane { flex: 1 1 0%; min-width: 0; }
.right-pane { width: 340px; max-width: 100%; display: flex; flex-direction: column; gap: 17px; }
.card-box { background: #200606; border-radius: 12px; box-shadow: 0 0 8px #7b000049; padding: 13px 12px 7px 12px; border: 1px solid #7b000022; }
.section-title { color: #ff6161; font-size: 14px; font-weight: 600; margin-bottom: 7px; padding-left: 2px; }
.list-group-item {
  background-color: #24090b; border: 1px solid #7b000099; border-radius: 6px;
  margin-bottom: 5px; color: #fff; font-size: 11.2px; display: flex;
  align-items: center; justify-content: space-between; gap: 8px;
}
.list-group-item .badge { font-size: 10px; padding: 3px 8px; margin-left: 3px; }
.play-anim-btn {
  border: none; background: transparent; width: 27px; height: 27px; display: flex;
  align-items: center; justify-content: center; border-radius: 50%; transition: background .15s, box-shadow .15s;
  cursor: pointer; position: relative; outline: none;
}
.play-anim-btn:hover, .play-anim-btn.playing {
  background: #380000; box-shadow: 0 0 7px #ff616166;
}
.play-anim-btn svg { width: 17px; height: 17px; fill: #ff6161; transition: transform .15s; }
.play-anim-btn.playing svg { fill: #fff; transform: scale(1.15) rotate(-2deg); }
.icon-stop { display: none; }
.play-anim-btn.playing .icon-play { display: none !important; }
.play-anim-btn.playing .icon-stop { display: inline !important; }
.btn-download, .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 7px; border: 1px solid #b82f2f;
  color: #ff6161 !important; background: #24090b !important;
  box-shadow: 0 0 3px #7b000040; padding: 2px 10px; font-size: 12px; margin: 0 2px; transition: background .15s, color .15s;
}
.btn-download:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:hover,

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
}

table.dataTable td, table.dataTable th {
  font-size: 12px; height: 35px; border-bottom: 1px solid #420000; border-right: 1px solid #2c0000; border-left: 1px solid #2c0000;
  padding: 8px 12px; background-color: #180202; color: #fff;
}
table.dataTable { background-color: #250606; border-radius: 13px; box-shadow: 0 0 8px #7b000093; }
#footerPlayerContainer {
  width: 370px; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: rgba(25,18,18,0.96); border-radius: 18px; box-shadow: 0 0 16px #2a000099;
  padding: 9px 22px 8px 22px; opacity: 0.98; z-index: 1040; display: flex; align-items: center; justify-content: center;
}
#footerPlayerBar {
  width: 320px; height: 7px; background: #200606; border-radius: 8px;
  box-shadow: 0 0 3px #7b000044; margin: 0 15px 0 5px; position: relative; cursor: pointer; display: flex; align-items: center;
}
#footerPlayerBarProgress {
  height: 100%; border-radius: 8px; background: #ff6161; width: 0%;
  transition: width 0.16s cubic-bezier(.7,1.2,.55,1);
}
#footerPlayerTime { font-size: 11px; color: #fff; margin-left: 9px; min-width: 60px; text-align: right; letter-spacing: 0.3px; }
@media (max-width: 900px) {
  #footerPlayerContainer { width: 97vw; padding: 4px 2vw; }
  #footerPlayerBar { width: 94vw; }
}
@media (max-width: 600px) {
  .container-narrow { border-radius: 7px; padding: 1vw 2vw 9vw 2vw; }
  table.dataTable td, table.dataTable th { font-size: 10.3px; padding: 4px 3px; }
  .main-row { gap: 9px; }
  .card-box { padding: 8px 5px 7px 5px; }
  .section-title { font-size: 12px; }
}
.right-pane {
  width: 380px; max-width: 99vw; min-width: 240px;
  display: flex; flex-direction: column; gap: 22px;
}
.card-box {
  background: #200606;
  border-radius: 14px;
  box-shadow: 0 0 8px #7b000049;
  padding: 13px 14px 7px 14px;
  margin-bottom: 0;
  border: 1px solid #7b000022;
}
.section-title {
  color: #ff6161;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: 0.2px;
  padding-bottom: 4px;
  border-bottom: 1px solid #28090944;
}
.list-group-item {
  background-color: #24090b;
  border: 1px solid #7b000099;
  border-radius: 7px;
  margin-bottom: 6px;
  color: #fff;
  padding: 8px 10px 7px 10px !important;
  font-size: 11.7px;
  line-height: 1.28;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.list-title {
  flex: 1 1 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  font-size: 12.2px;
  min-width: 0;
}
.list-btns {
  display: flex;
  gap: 5px;
}
.badge {
  font-size: 10px;
  padding: 2px 8px 2px 8px;
  border-radius: 7px;
  margin-left: 7px;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 700px) {
  .right-pane { width: 99vw; min-width: 0; }
  .card-box { padding: 7px 5vw 6px 5vw; }
}
.navbar-nav .nav-link {
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px 7px 8px;
  border-radius: 7px;
  transition: background .13s, color .13s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.fw-bold {
  background: #7b0000 !important;
  color: #ff6161 !important;
}
@media (max-width: 700px) {
  .navbar-nav .nav-link { font-size: 12px; padding: 7px 10px 7px 5px; }
}

/* Pagination wrapper */
.dataTables_wrapper .dataTables_paginate {
  padding: 10px 0 !important;
  text-align: center !important;
  user-select: none !important;
  background: linear-gradient(90deg, #1a0000, #3b0000);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(139,0,0,0.5);
  margin-top: 20px;
}

/* Pagination list styling */
.dataTables_wrapper .dataTables_paginate ul.pagination {
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: nowrap !important;
}

/* Pagination item */
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item {
  margin: 0 !important;
}

/* Pagination links/buttons - kecil */
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item a.page-link {
  padding: 4px 10px !important;
  border-radius: 8px !important;
  border: 1.5px solid #b82f2f !important;
  background: linear-gradient(135deg, #3b0000, #24090b) !important;
  color: #ff7373 !important;
  font-weight: 600 !important;
  font-size: 8px !important;
  min-width: 20px !important;
  text-align: center !important;
  box-shadow: 0 1px 5px rgba(255, 99, 99, 0.3);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  cursor: pointer !important;
  display: inline-block !important;
  user-select: none;
}

.dataTables_paginate .pagination .page-item {
    margin-right: 3px;
}
/* Hover effect */
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item a.page-link:hover {
  background-color: #7b0000 !important;
  color: #fff !important;
  border-color: #ff6161 !important;
  box-shadow: 0 0 10px #ff6161;
}

/* Active page */
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item.active a.page-link {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #fff !important;
  font-weight: 800 !important;
  cursor: default !important;
  box-shadow: 0 0 12px #dc3545;
}

/* Disabled buttons */
.dataTables_wrapper .dataTables_paginate ul.pagination li.page-item.disabled a.page-link {
  color: #666 !important;
  background: #1a0000 !important;
  border-color: #2a0000 !important;
  cursor: default !important;
  opacity: 0.4 !important;
  box-shadow: none !important;
}
#filterBar input[type="search"] {
  background: #181011 !important;
  background-clip: padding-box !important;
  color: #fff !important;
  border-radius: 14px !important;
  border: 1.5px solid #ff6161 !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  padding: 7px 16px !important;
  min-width: 150px;
  outline: none !important;
  margin-left: 7px !important;
  box-shadow: 0 1px 7px #c2003040 !important;
  transition: border 0.14s, background 0.13s !important;
}
#filterBar input[type="search"]:focus {
  border-color: #fff !important;
  background: #27181b !important;
  color: #fff !important;
}
