* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f7f9;
  color: #1f2937;
}

header {
  background: #126e51;
  color: white;
  padding: 28px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

header h1 {
  font-size: 30px;
  margin-bottom: 7px;
}

header p {
  opacity: 0.9;
}

button {
  border: 0;
  background: white;
  color: #126e51;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

main {
  width: 86%;
  max-width: 1200px;
  margin: 28px auto;
}

.summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.card, .panel {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.06);
}

.card span {
  display: block;
  color: #64748b;
  margin-bottom: 10px;
}

.card strong {
  display: block;
  font-size: 30px;
  margin-bottom: 5px;
}

.card small {
  color: #94a3b8;
}

.alert-card strong {
  color: #d97706;
}

.panel {
  margin-bottom: 24px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 5px;
}

.panel-title p, #updated {
  color: #64748b;
  font-size: 14px;
}

.bins {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.bin {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
}

.bin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.status {
  padding: 6px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.normal { background: #dcfce7; color: #166534; }
.warning { background: #fef3c7; color: #92400e; }
.danger { background: #fee2e2; color: #991b1b; }

.bar {
  height: 13px;
  background: #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: #126e51;
  border-radius: 20px;
}

.bin p {
  margin-top: 10px;
  color: #64748b;
}

.collection {
  display: grid;
  gap: 12px;
}

.collection div {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  display: flex;
  justify-content: space-between;
}

.done { color: #15803d; }
.pending { color: #b45309; }
.urgent { color: #dc2626; }

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.benefits div {
  background: #f0fdf4;
  padding: 16px;
  border-radius: 9px;
}

footer {
  text-align: center;
  padding: 25px;
  color: #64748b;
}

@media (max-width: 800px) {
  .summary, .bins, .benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {
  .summary, .bins, .benefits {
    grid-template-columns: 1fr;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
  }
}
