body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f8f8f8;
  padding-bottom: 80px;
}

form, table {
  max-width: 1000px;
  margin: 20px auto;
}

form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #1e5128;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px auto;
  max-width: 1000px;
  padding: 0 10px;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filters select {
  font-size: 13px;
  padding: 4px 6px;
}

#resetFiltersBtn {
  background-color: #555;
  color: white;
  border: none;
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 4px;
  cursor: pointer;
  height: 28px;
  line-height: 1;
  width: auto;
}

.csv-button-container {
  margin-left: auto;
}

#csvBtn {
  background-color: #1e5128;
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  min-width: 100px;
  text-align: center;
}

.inventory-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.inventory-table th,
.inventory-table td {
  padding: 12px;
  border: 1px solid #ccc;
  text-align: center;
}

.inventory-table th {
  background-color: #1e5128;
  color: white;
}

.edit-btn {
  background-color: #007bff;
  color: white;
}

.delete-btn {
  background-color: #dc3545;
  color: white;
}

.edit-btn,
.delete-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

footer {
  height: 60px;
  padding: 0;
}

footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 12px;
  color: white;
  text-decoration: none;
  padding: 4px 0;
}

footer img {
  height: 24px;
  margin: 0 auto 2px;
  display: block;
}

/* Scoped header (prevents conflicts with generic header { } rules) */
.gp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background-color: #1e5128;
  color: #fff;
}
.gp-brand { font-size: 20px; font-weight: 700; line-height: 1; }
.gp-signout {
  background: #c62828; color: #fff; border: 0;
  padding: 10px 16px; border-radius: 6px; font-size: 14px; cursor: pointer;
}
