body {
  font-family: sans-serif;
  padding: 20px;
}

div {
  margin-bottom: 10px;
}

input[type="text"],
input[type="submit"] {
  width: 100%;
  padding: 60px;
  font-size: 70px;
}

.weightEntry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border: 2px solid #ddd;
  margin-bottom: 10px;
  font-size: 40px;
}

.weightValue {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.weightValue span {
  cursor: pointer;
  padding: 10px 0;
}

.date {
  font-size: 30px !important;
  color: #666;
}

.weightEntry button {
  background: #ff4444;
  color: white;
  border: none;
  padding: 20px 30px;
  font-size: 50px;
  cursor: pointer;
  border-radius: 5px;
}

.weightEntry button:hover {
  background: #cc0000;
}

.csv-btn {
  background: #48bb78;
  color: white;
  border: none;
  padding: 30px;
  font-size: 40px;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
}

.csv-btn:hover {
  background: #38a169;
}

.card {
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.input-row input[type="text"] {
  flex: 1;
}

.input-row input[type="submit"] {
  width: auto;
}

.actions-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.primary-btn,
.secondary-btn {
  font-size: 32px;
  padding: 20px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.primary-btn {
  background: #1d4ed8;
  color: white;
}

.primary-btn:hover {
  background: #1e40af;
}

.secondary-btn {
  background: #f1f5f9;
  color: #0f172a;
}

.secondary-btn:hover {
  background: #e2e8f0;
}
