body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

h2, h3 {
  text-align: center;
}
.logo-header {
    text-align: center;
    margin-bottom: 0px;
}

.logo-header img {
    max-width: 180px;  
    width: 100%;
    height: auto;
}

.form-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.form-card label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.form-card input, .form-card select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  background: rgba(0, 187, 65, 0.867);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background: rgba(2, 146, 64, 0.733);
}

.result-box {
  background: white;
  padding: 15px;
  font-size: 24px;
  text-align: center;
  border-radius: 8px;
  margin-top: 10px;
  font-weight: bold;
}

#bahanWrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Kartu bahan */
.bahan-card {
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.bahan-card h4 {
  margin: 0;
}

.bahan-row {
  margin-top: 8px;
  font-size: 14px;
}

/* Tombol hapus */
.hapus-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  background: #d9534f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.hapus-btn:hover {
  background: #c9302c;
}

/* Tablet */
@media (min-width: 600px) {
  #bahanWrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop */
@media (min-width: 900px) {
  #bahanWrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
