* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fa;
  color: #333;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 12px 20px;
  border: none;
  background: #e0e0e0;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.tab-btn.active {
  background: #3498db;
  color: white;
}

.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.tab-content.active {
  display: block;
}

/* Form */
label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

textarea {
  height: 100px;
  resize: vertical;
}

button[type="submit"] {
  margin-top: 15px;
  padding: 12px 20px;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

button[type="submit"]:hover {
  background: #219653;
}

#statusAduan {
  margin-top: 10px;
  color: #27ae60;
  font-weight: 500;
}

/* List & Table */
.aduan-item {
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 8px;
  background: white;
}

.aduan-item h4 {
  margin-bottom: 8px;
  color: #2c3e50;
}

.btn-respon {
  margin-top: 10px;
  padding: 8px 12px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.respon-form {
  margin-top: 15px;
  padding: 15px;
  background: #f0f8ff;
  border-radius: 8px;
}

.respon-form label {
  margin: 8px 0 4px;
}

.respon-form input, .respon-form textarea {
  width: 100%;
}

/* Statistik */
#chartContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

canvas {
  max-width: 400px;
  height: 300px !important;
}