/* ===================== */
/* VIDEO HERO */
/* ===================== */
.video-hero {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  z-index: 2;
  text-shadow: 1px 1px 3px black;
}

/* ===================== */
/* MENU IKON */
/* ===================== */
.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto 10px auto;
}

.icon-circle:hover {
  transform: scale(1.1);
}

.menu-label {
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ===================== */
/* MARQUEE */
/* ===================== */
.marquee-box {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 2rem;
}

.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  will-change: transform;
  animation: slideOut 10s linear infinite;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
}

@keyframes slideOut {
  0% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(-250%);
  }
}

/* ===================== */
/* DASHBOARD */
/* ===================== */
.dashboard-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.info-box {
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  cursor: default;
  animation: fadeInUp 0.6s ease;
}

.info-box:hover {
  transform: scale(1.05);
}

.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease;
}

.card-title {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

canvas {
  max-width: 100%;
  max-height: 250px;
  margin-top: 1rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== */
/* SEMUA DATA - SIDEBAR */
/* ===================== */
.accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.accordion-button {
  font-weight: 600;
  background-color: #f8f9fa;
  color: #333;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #eaf4ff;
  color: #0d6efd;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.accordion-body {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.list-group-item {
  border: none;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  background: none;
}

.list-group-item a {
  text-decoration: none;
  color: #0d6efd;
  transition: all 0.2s ease;
}

.list-group-item a:hover {
  font-weight: 500;
  color: #084298;
}

/* SEMUA_DATA - TIRU DATA.GO.ID */
body {
  background-color: #fafafa;
}

.navbar-brand {
  font-weight: 700;
}

.navbar-nav .nav-link.active {
  color: #d90429 !important;
  border-bottom: 2px solid #d90429;
  font-weight: 600;
}

.dataset-card {
  box-shadow: 0 0 10px rgb(214 214 214 / 0.5);
  border: none;
  border-left: 4px solid #d90429;
  transition: box-shadow 0.3s ease;
  background-color: white;
}

.dataset-card:hover {
  box-shadow: 0 0 15px rgb(217 18 40 / 0.6);
}

.dataset-priority {
  background-color: #d90429;
  font-size: 0.75rem;
  padding: 0.25em 0.5em;
  border-radius: 0.375rem;
  color: white;
  font-weight: 600;
  margin-right: 0.75rem;
}

.dataset-status {
  background-color: #d1e7dd;
  font-size: 0.75rem;
  padding: 0.25em 0.5em;
  border-radius: 0.375rem;
  color: #0f5132;
  font-weight: 600;
}

.sidebar .form-select:focus {
  border-color: #d90429;
  box-shadow: 0 0 0 0.25rem rgb(217 18 40 / 0.25);
}

.sidebar .dropdown-item.active,
.sidebar .dropdown-item:active {
  background-color: #d90429;
  color: white;
}

.announcement {
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
}

.btn-search {
  background-color: #f8f9fa;
  border: none;
}

.btn-search:hover,
.btn-search:focus {
  background-color: #d90429;
  color: white;
  border: none;
  outline: none;
  box-shadow: none;
}

/* ===================== */
/* KARTU DATASET CUSTOM */
/* ===================== */
.data-card-custom {
  background-color: #fcfcfc;
  border-left: 4px solid #d90429;
  box-shadow: 0 0 10px rgba(220, 220, 220, 0.4);
  transition: all 0.3s ease;
}

.data-card-custom:hover {
  box-shadow: 0 0 12px rgba(217, 4, 41, 0.3);
}

.data-card-custom .badge {
  font-size: 0.75rem;
  padding: 0.3em 0.5em;
  border-radius: 0.4rem;
  font-weight: 600;
}

.data-card-custom {
  border-left: 4px solid #d90429;
}

body {
  background-color: #f8f9fa;
}

.search-input {
  border-radius: 30px;
  padding-left: 2.5rem;
}

.search-icon {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  color: #6c757d;
  pointer-events: none;
}

.section-header {
  background-color: #f1f3f5;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.card-detail {
  border-radius: 1rem;
}

.detail-button {
  background-color: #6c757d;
  border: none;
  border-radius: 0.375rem;
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
}

.detail-button:hover {
  background-color: #5a6268;
}

.icon-text {
  vertical-align: middle;
  color: #adb5bd;
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .search-input {
    padding-left: 2rem;
  }

  .section-header>div {
    font-size: 0.9rem;
  }
}

.pengolah-item {
  position: relative;
  transition: all 0.3s ease;
}

.pengolah-item:hover {
  background-color: rgba(0, 128, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hover pada box Pengolah Data */
.pengolah-item:hover {
  background-color: rgba(0, 128, 0, 0.1);
  /* hijau transparan */
  transform: translateY(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  /* lebih halus */
}

/* Badge angka di samping lebih transparan */
.pengolah-item .badge {
  opacity: 1;
  /* 70% terlihat */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pengolah-item:hover .badge {
  opacity: 0.7;
  /* saat hover lebih jelas */
  transform: scale(1.05);
  /* sedikit membesar saat hover */
}

/* Panah tetap muncul */
.pengolah-item::after {
  content: '➜';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
  /* hijau semi transparan */
}

.pengolah-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.card .col-md-3 img {
  max-height: 150px;
  width: auto;
}

/* HILANGKAN PANAH MERAH DI KIRI & KANAN */
.left,
.right,
.carousel-control.left,
.carousel-control.right {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}