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

body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.net-worth-container {
  max-width: 700px;
  width: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px #fff4;
}

h2, h3 {
  text-align: center;
  margin-bottom: 15px;
}

.input-section {
  margin-bottom: 20px;
}

#assets-list, #liabilities-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.entry {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.entry input[type="text"],
.entry input[type="number"] {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  font-size: 14px;
  width: 150px;
}

.entry button.remove-btn {
  background: #ff4c4c;
  border: none;
  padding: 6px 10px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.entry button.remove-btn:hover {
  background: #ff1a1a;
}

button {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 0 auto;
  display: block;
}

button:hover {
  background: #ddd;
}

.chart-container {
  margin-top: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

#result {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

footer {
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
  text-align: center;
}