/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;
}

/* ================= BODY ================= */
body{
  min-height:100vh;
  background:linear-gradient(135deg,#f5ebe0,#e0d3c2); /* coklat muda */
  color:#4b2e1f; /* teks coklat */
  padding:20px;
}

/* ================= SIDEBAR ================= */
.sidebar{
  width:240px;
  height:100vh;
  position:fixed;
  left:0;
  top:0;
  background:linear-gradient(180deg,#a67c52,#8b5e3c); /* coklat muda */
  padding:25px 0;
  text-align:center;
}

.sidebar .logo{
  width:85px;
  border-radius:50%;
  margin-bottom:15px;
}

.sidebar h2{
  color:#fff8f0; /* coklat terang */
  margin-bottom:30px;
  font-size:20px;
  font-weight:700;
  letter-spacing:.5px;
}

.sidebar a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 20px;
  margin:6px 15px;
  color:#fff8f0; /* coklat terang */
  text-decoration:none;
  border-radius:16px;
  font-size:15px;
  font-weight:700;
  transition:.3s ease;
}

.sidebar a:hover,
.sidebar a.active{
  background:rgba(166,124,82,.2); /* highlight coklat muda */
  transform:translateX(6px);
}

/* ================= CONTENT ================= */
.content{
  margin-left:240px;
  padding:45px 30px;
  max-width:1100px;
  margin:auto;
}

/* ================= JUDUL ================= */
h2{
  text-align:center;
  font-size:34px;
  margin-bottom:40px;
  color:#5a2d1b; /* coklat */
  font-weight:700;
  letter-spacing:1px;
}

/* ================= CARD ================= */
.card{
  background:#f5ebe0; /* coklat muda */
  padding:35px;
  border-radius:26px;
  box-shadow:0 18px 40px rgba(90,45,27,.35); /* shadow coklat */
  max-width:600px;
  margin:auto;
}

/* ================= BUTTON ================= */
.btn-area{
  text-align:center;
  margin-top:25px;
  margin-bottom:25px;
}

.btn-kembali, .btn-terima, .btn-hapus{
  padding:10px 22px;
  background:linear-gradient(135deg,#c4a67c,#a67c52); /* coklat muda */
  color:#fff8f0; /* teks coklat terang */
  border-radius:20px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  margin:4px;
  transition:.3s;
}

.btn-kembali:hover, .btn-terima:hover, .btn-hapus:hover{
  opacity:.85;
  transform:scale(1.05);
}

/* ================= INPUT FORM ================= */
input[type=text], input[type=number]{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid #8b5e3c; /* border coklat */
  margin-top:6px;
  font-size:14px;
  color:#4b2e1f; /* teks coklat */
  background:#f5ebe0; /* input coklat muda */
}

/* ================= TABLE ================= */
.table-wrapper{
  max-width:1100px;
  margin:auto;
  overflow-x:auto;
  margin-top:20px;
}

.table-modern{
  width:100%;
  border-collapse:separate;
  border-spacing:0 16px;
}

.table-modern thead th{
  background:linear-gradient(135deg,#c4a67c,#a67c52); /* header coklat muda */
  color:#fff8f0; /* teks coklat terang */
  padding:16px;
  border-radius:16px;
  font-size:14px;
  font-weight:700;
  text-align:center;
}

.table-modern tbody tr{
  background:#f5ebe0; /* row coklat muda */
  border-radius:22px;
  box-shadow:0 18px 40px rgba(90,45,27,.35);
  transition:.35s ease;
}

.table-modern tbody tr:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 70px rgba(90,45,27,.55);
}

.table-modern td{
  padding:18px;
  text-align:center;
  font-size:14px;
  color:#4b2e1f; /* teks coklat */
}

/* ================= NOMOR BADGE ================= */
.no-badge{
  width:42px;
  height:42px;
  border-radius:50%;
  background:linear-gradient(135deg,#b86c3a,#a67c52); /* coklat muda */
  color:#fff8f0; /* teks coklat terang */
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:auto;
}

/* ================= EMPTY DATA ================= */
.empty-data{
  text-align:center;
  font-weight:700;
  padding:25px 0;
  color:#5a2d1b; /* coklat muda */
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .sidebar{
    position:relative;
    width:100%;
    height:auto;
  }
  .content{
    margin-left:0;
    padding:20px 15px;
  }

  .table-modern thead{display:none;}
  .table-modern tbody tr{display:block;margin-bottom:18px;}
  .table-modern td{
    display:flex;
    justify-content:space-between;
    padding:12px 15px;
  }
  .table-modern td::before{
    content:attr(data-label);
    font-weight:700;
    color:#5a2d1b; /* coklat muda */
    text-align:left;
  }
}
/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins','Segoe UI',Arial,sans-serif;
}

/* ================= BODY ================= */
body{
  min-height:100vh;
  background:linear-gradient(135deg,#f5ebe0,#e0d3c2); /* coklat muda */
  color:#4b2e1f; /* teks coklat */
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
}

/* ================= CONTENT ================= */
.content{
  width:100%;
  max-width:400px;
  margin:auto;
  padding:20px;
}

/* ================= JUDUL ================= */
h2{
  text-align:center;
  font-size:28px;
  margin-bottom:20px;
  color:#5a2d1b; /* coklat */
  font-weight:700;
}

/* ================= CARD ================= */
.card{
  background:#f5ebe0; /* coklat muda */
  padding:35px;
  border-radius:26px;
  box-shadow:0 18px 40px rgba(90,45,27,.35); /* shadow coklat */
}

/* ================= INPUT ================= */
input[type=text], input[type=password]{
  width:100%;
  padding:12px 15px;
  border-radius:12px;
  border:1px solid #5a2d1b; /* border coklat */
  margin-bottom:18px;
  font-size:14px;
  color:#4b2e1f; /* teks coklat */
  background:#fffaf6; /* input coklat muda */
}

/* ================= BUTTON ================= */
button{
  width:100%;
  padding:12px 0;
  border:none;
  border-radius:20px;
  background:linear-gradient(135deg,#8b4513,#5a2d1b); /* coklat muda */
  color:#fff2e6; /* teks coklat terang */
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:.3s;
  margin-bottom:10px;
}

button:hover{
  opacity:.85;
  transform:scale(1.05);
}

/* ================= TOMBOL KEMBALI ================= */
.btn-kembali{
  display:inline-block;
  text-align:center;
  padding:10px 20px;
  background:linear-gradient(135deg,#b86c3a,#5a2d1b); /* coklat muda */
  color:#fff2e6;
  border-radius:20px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  margin-top:10px;
  transition:.3s;
}

.btn-kembali:hover{
  opacity:.85;
  transform:scale(1.05);
}

/* ================= RESPONSIVE ================= */
@media(max-width:480px){
  .content{
    padding:15px;
  }
  .card{
    padding:25px;
  }
}
/* ===== TABEL STATISTIK FULL WIDTH ===== */
.table-wrap {
  margin-top: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
}

table {
  width: 100%; /* penuh lebar konten */
  border-collapse: collapse;
  background: #a9746e; /* coklat hangat */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: center;
  font-size: 16px;
}

thead {
  background: #87564f; /* coklat header lebih gelap */
}

th, td {
  padding: 20px 10px;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid #6b4b4b;
}

tbody tr:hover {
  background: #b4887a; /* efek hover baris */
  cursor: pointer;
}

/* Membuat header tetap terlihat dan lebih tinggi */
th {
  font-size: 18px;
}

/* Responsive untuk mobile */
@media screen and (max-width: 768px) {
  th, td {
    padding: 15px 8px;
    font-size: 14px;
  }
}
/* ===== CONTAINER ===== */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* ===== CARD ===== */
.card {
  background: #fff6f0;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex: 1 1 900px; /* fleksibel lebar */
  max-width: 600px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(30px);
  box-shadow: 0 100px 100px rgba(0,0,0,0.15);
}

/* ===== GRID CARD HORIZONTAL ===== */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===== JUDUL ===== */
.card h2, .card h3 {
  color: #5a1f15;
  margin-bottom: 12px;
}

/* ===== TABLE ===== */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table th {
  background: #f5d1c1;
  color: #5a1f15;
}

table tr:hover {
  background: #ffe8e0;
}
