/* ----------------------
   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: linear-gradient(90deg, #400 0%, rgb(124, 0, 0) 100%) !important;
  color: #fff !important;
  padding: 12px 15px !important;
  font-weight: bold !important;
  text-align: left !important;
  letter-spacing: 0.3px;
}

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

.view-content table.cols-0 tbody tr:nth-child(even) td {
  background-color: #fdf3f3 !important; /* sedikit lebih merah muda */
}

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

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

/* ----------------------
   Link styling
------------------------ */
.view-content table.cols-0 td a {
  text-decoration: none !important;
  color: rgb(124, 0, 0) !important;
  font-weight: 500;
  transition: color 0.3s ease !important;
}

.view-content table.cols-0 td a:hover {
  color: #a00 !important; /* merah tua 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: 3px solid rgba(124, 0, 0, 0.25) !important;
}

/* 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: #600; /* merah gelap tapi tidak pekat */
  background-color: #fff4f4;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  position: relative;
}

/* Tab aktif */
ul.quicktabs-tabs li.active a {
  color: #fff !important;
  background: linear-gradient(90deg, #400 0%, rgb(124, 0, 0) 100%);
}

/* Highlight garis bawah untuk tab aktif */
ul.quicktabs-tabs li.active a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgb(124, 0, 0);
  border-radius: 2px 2px 0 0;
}

/* Hover effect */
ul.quicktabs-tabs li a:hover {
  background-color: #ffeaea;
  color: rgb(124, 0, 0);
}

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

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