/* ----------------------
   Responsive container
------------------------ */
.view-content .table-responsive {
  overflow-x: auto;
  margin-bottom: 20px;
}

/* ----------------------
   Styling table
------------------------ */
.view-content table.cols-0 {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* ----------------------
   Table header
------------------------ */
.view-content table.cols-0 th {
  background-color: #4CAF50 !important; /* hijau header */
  color: white !important;
  padding: 12px 15px !important;
  font-weight: bold !important;
  text-align: left !important;
}

/* ----------------------
   Row ganjil/genap halus
------------------------ */
.view-content table.cols-0 tbody tr:nth-child(odd) td {
  background-color: #fafafa !important; /* soft putih */
}

.view-content table.cols-0 tbody tr:nth-child(even) td {
  background-color: #f3f6f9 !important; /* soft abu-abu */
}

/* ----------------------
   Hover effect seluruh row
------------------------ */
.view-content table.cols-0 tbody tr:hover td {
  background-color: #d0e7ff !important; /* warna biru lembut */
  transition: background-color 0.3s ease !important;
}

/* ----------------------
   Cell styling
------------------------ */
.view-content table.cols-0 td {
  padding: 10px 15px !important;
  border-bottom: 1px solid #e0e0e0 !important;
  transition: background-color 0.3s ease !important;
}

/* ----------------------
   Link styling
------------------------ */
.view-content table.cols-0 td a {
  text-decoration: none !important;
  color: #007bff !important;
  transition: color 0.3s ease !important;
}

.view-content table.cols-0 td a:hover {
  color: #ff4d4f !important; /* merah saat hover */
}

/* ----------------------
   Responsive untuk layar kecil
------------------------ */
@media (max-width: 768px) {
  .view-content table.cols-0 th, 
  .view-content table.cols-0 td {
    padding: 8px 10px !important;
    font-size: 14px !important;
  }
}


/* TABS */
/* Container Quicktabs */
ul.quicktabs-tabs {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0 0 0 0;
  list-style: none;
  border-bottom: 2px solid #e0e0e0 !important; /* garis utama di bawah tabs */
}

/* Tab items */
ul.quicktabs-tabs li {
  margin: 0;
  padding: 0;
}

/* Link dalam tab */
ul.quicktabs-tabs li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  color: #555;
  background-color: #f9f9f9;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  position: relative;
}

/* Tab aktif */
ul.quicktabs-tabs li.active a {
  color: #007acc;
  background-color: #fff; /* samakan dengan background konten */
}

/* Highlight garis bawah untuk tab aktif */
ul.quicktabs-tabs li.active a::after {
  content: "";
  position: absolute;
  bottom: -2px; /* sedikit overlap supaya terlihat menyatu */
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #007acc; /* warna garis highlight */
  border-radius: 2px 2px 0 0;
}

/* Hover effect */
ul.quicktabs-tabs li a:hover {
  background-color: #e6f2ff;
  color: #007acc;
}

/* Fokus keyboard */
ul.quicktabs-tabs li a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.3);
}

/* Responsif */
@media (max-width: 768px) {
  ul.quicktabs-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  ul.quicktabs-tabs li a {
    white-space: nowrap;
  }
}
