/* ===============================
   THEME COLOR (MUDAH EDIT)
================================ */
:root{
  --primary:#002b3d;
  --secondary:#ff9800;
  --bg:#f4f7fb;
  --white:#ffffff;
  --border:#e5e7eb;
  --text:#1f2937;
  --success:#25D366;
  --badge:#e3f2fd;
  --danger:#e53935;
}

/* ===============================
   GLOBAL
================================ */
*{
  box-sizing:border-box;
}

body{
  margin:0;
  padding:20px;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* ===============================
   FILTER BOX
================================ */
.filter-box{
  background:var(--white);
  padding:16px;
  border-radius:14px;
  margin-bottom:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.filter-box form{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.filter-box input{
  flex:1;
  min-width:180px;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--border);
  font-size:14px;
}

.filter-box input:focus{
  outline:none;
  border-color:var(--secondary);
}

/* ===============================
   DROPLIST / DATALIST
   (HTML limit, tapi ini bantu UX)
================================ */
input[list]{
  background-color:#fff;
  cursor:pointer;
}

/* ===============================
   BUTTON FILTER
================================ */
.btn-search{
  background:var(--secondary);
  color:#fff;
  border:none;
  padding:10px 22px;
  border-radius:30px;
  font-weight:bold;
  cursor:pointer;
}

.btn-search:hover{
  opacity:.9;
}

.btn-reset{
  background:#d1d5db;
  color:#111;
  padding:10px 22px;
  border-radius:30px;
  text-decoration:none;
  font-weight:bold;
}

/* ===============================
   TABLE
================================ */
.table-wrap{
  background:var(--white);
  border-radius:14px;
  overflow-x:auto;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}

table{
  width:100%;
  border-collapse:collapse;
}

thead{
  background:var(--primary);
  color:#fff;
}

th{
  padding:14px;
  text-align:left;
  font-size:13px;
  letter-spacing:.5px;
}

td{
  padding:12px 14px;
  border-bottom:1px solid var(--border);
  font-size:14px;
}

tr:hover td{
  background:#f9fafb;
}

/* ===============================
   BADGE
================================ */
.badge{
  background:var(--badge);
  color:#0d47a1;
  padding:6px 14px;
  border-radius:20px;
  font-size:12px;
  font-weight:bold;
  display:inline-block;
}

/* ===============================
   HARGA
================================ */
.harga{
  color:var(--danger);
  font-weight:bold;
  white-space:nowrap;
}

/* ===============================
   BUTTON PESAN
================================ */
.btn{
  background:var(--success);
  border:none;
  color:#fff;
  padding:8px 18px;
  border-radius:30px;
  cursor:pointer;
  font-weight:bold;
}

.btn:hover{
  opacity:.9;
}

/* ===============================
   PAGINATION
================================ */
.pagination{
  margin-top:20px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}

.pagination a{
  padding:8px 14px;
  border-radius:8px;
  text-decoration:none;
  background:#fff;
  color:#333;
  border:1px solid var(--border);
  font-size:14px;
}

.pagination a.active{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}

.pagination a:hover{
  background:#e5e7eb;
}

/* ===============================
   MOBILE
================================ */
@media(max-width:768px){
  body{
    padding:10px;
  }

  th,td{
    font-size:13px;
  }

  .filter-box input{
    min-width:100%;
  }
}
