/* Google Fonts Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #fff;
  color: #3d3d3d;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding-left: 2rem; 
  padding-right: 2rem;
}

/* Header & Nav */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  box-shadow: 0 1px 4px rgba(60,64,67,.07);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 30;
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #111;
}
.nav {
  display: flex;
  gap: 1.2rem;
}
.nav a {
  font-weight: 600;
  color: #6b7280;
  padding: 0.5rem 1rem;
  border-radius: .75rem;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.active {
  background: #f3f4f6;
  color: #111;
}
.cta {
  background: #111;
  color: #fff;
  border-radius: .75rem;
  padding: 0.55rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s;
}
.cta:hover, .cta:focus {
  background: #313131;
  color: #fafafa;
}

/* Main Headings */
h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #121212;
}
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #121212;
}
h3, h4 {
  color: #444;
  font-weight: 700;
}

/* Section Spacing */
section {
  padding: 3rem 0 2rem 0;
}

/* Card */
.card {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 4px 24px 0 rgba(40, 47, 62, 0.07);
  padding: 2rem;
  margin-bottom: 2.2rem;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 10px 40px 0 rgba(40, 47, 62, 0.12);
}

/* Table */




/* Style dasar untuk tabel dengan kelas table-minimal */
.table-minimal {
  width: 100%;
  border-collapse: collapse; /* supaya border antar sel menyambung rapi */
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

/* Pengaturan style untuk header dan sel */
.table-minimal th, .table-minimal td {
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  /* border-bottom dihapus agar garis antar baris hilang */
  border-bottom: none;
}

/* Style khusus untuk header tabel */
.table-minimal th {
  background-color: #c7d9f1; /* biru muda */
  color: #1a3e7a; /* warna teks header agak gelap supaya kontras */
  font-weight: bold;
  border-bottom: 4px solid #1a3e7a; /* garis bawah tebal pada header saja */
}

/* Hilangkan zebra striping jika ada */
.table-minimal tbody tr:nth-child(even) {
  background-color: transparent;
}

/* Efek highlight ketika hover pada baris */
.table-minimal tbody tr:hover {
  background-color: #e2e8f0;
  cursor: pointer; /* opsional, agar mouse terlihat pointer */
}






/* Button */
.btn {
  font-weight: 700;
  border-radius: .75rem;
  padding: .7rem 1.5rem;
  background: #111;
  color: #fff;
  border: none;
  transition: background .2s;
  cursor: pointer;
}
.btn.outline {
  background: #fff;
  color: #111;
  border: 2px solid #e5e7eb;
}
.btn.outline:hover {
  background: #f9fafb;
  color: #111;
}
.btn.success {
  background: #22c55e;
  color: #fff;
}
.btn.warning {
  background: #f59e42;
  color: #fff;
}
.btn:active {
  background: #222;
}

/* Form Minimal */
.form-group {
  margin-bottom: 1.75rem;
}
label {
  font-size: 1.05rem;
  color: #222;
  font-weight: 600;
}
input[type="text"], input[type="password"], input[type="number"], textarea, select {
  width: 100%;
  padding: .95rem 1.1rem;
  margin-top: .35rem;
  border-radius: .75rem;
  border: 1.5px solid #e5e7eb;
  font-size: 1.08rem;
  color: #222;
  background: #fafbfc;
  font-family: inherit;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #6366f1;
  outline: none;
}
input[type="submit"], button[type="submit"] {
  font-weight: 700;
  border-radius: .75rem;
  padding: .85rem 2rem;
  background: #111;
  color: #fff;
  border: none;
  font-size: 1rem;
  transition: background .2s;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 0.36em 1.3em;
  font-size: 0.98em;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge.belum    { background: #fef2f2; color: #ff2020; }
.badge.sudah    { background: #ecfdf5; color: #22c55e; }
.badge.kirim    { background: #edf6fd; color: #00b3ff; }

::-webkit-scrollbar { width: 7px;}
::-webkit-scrollbar-thumb { background: #f3f4f6; border-radius: 5px;}

/* Responsive */
@media (max-width: 900px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  h1 { font-size: 2rem;}
}
@media (max-width: 600px) {
  .header { padding: 1rem; }
  h1 { font-size: 1.35rem;}
  .card, .table-minimal th, .table-minimal td { padding: 1rem; }
}

/* Nice animation */
.transition { transition: all 0.22s cubic-bezier(.38,1.03,.58,.99); }
