/* =========================
   FONT
========================= */
@font-face {
  font-family: 'Blokk';
  src: url('../fonts/blokk/BLOKKRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* =========================
   CONTAINER
========================= */
.component {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px;
  line-height: 1.6;
}

.component .filler {
  font-family: "Blokk", Arial, sans-serif;
  color: #d3d3d3;
}

/* =========================
   TABLE MODERN
========================= */
.table-users {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;

  /* modern shadow */
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* HEADER */
.table-users th {
  background: linear-gradient(135deg, #14a3d7, #0E86D4);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 14px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* BODY */
.table-users td {
  padding: 14px;
  border-top: 1px solid #eee;
  color: #333;
}

/* STRIPED ROW */
.table-users tbody tr:nth-child(even) {
  background: #f9fafb;
}

/* HOVER */
.table-users tbody tr:hover {
  background: rgba(14, 134, 212, 0.08);
  transition: 0.2s;
}

/* ERROR CELL */
.table-users td.err {
  background: #e992b9;
  color: #fff;
  text-align: center;
  font-size: 12px;
  border-radius: 6px;
}

/* USER NAME */
td.user-name {
  text-transform: capitalize;
  font-weight: 500;
}

/* =========================
   STICKY TABLE (IMPROVED)
========================= */
.sticky-wrap {
  width: 100%;
  overflow: auto;
  position: relative;
  border-radius: 12px;
}

.sticky-wrap table {
  min-width: 600px; /* supaya bisa scroll di HP */
}

/* Sticky header */
.sticky-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Sticky column */
.sticky-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 5;
}

/* Intersection */
.sticky-intersect {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 20;
  background: #0E86D4;
  color: #fff;
}

/* =========================
   SCROLL FIX
========================= */
.sticky-wrap.overflow-y {
  max-height: 50vh;
  overflow-y: auto;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .component {
    padding: 10px;
  }

  .table-users {
    font-size: 12px;
  }

  .table-users th,
  .table-users td {
    padding: 10px;
  }

  /* horizontal scroll */
  .sticky-wrap {
    overflow-x: auto;
  }
}

/* =========================
   EXTRA MODERN TOUCH
========================= */
.table-users {
  backdrop-filter: blur(6px);
}

.table-users th {
  text-transform: uppercase;
}

.table-users td {
  transition: background 0.2s ease;
}

/* =========================
   CUSTOM
========================= */
#slebew {
  color: #fff;
}