body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1b1b1b);
  color: #eee;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

.container {
  width: 90%;
  max-width: 1100px;
  background: #181818;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  margin: 20px auto;
}

.brand {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.brand span {
  color: #4caf50;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

form input, form select {
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #eee;
}

button {
  background: #4caf50;
  border: none;
  padding: 10px;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #45a049;
}

button.delete-project {
  background: #f44336;
}

#projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  #projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #projects {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project {
  background: #252525;
  padding: 15px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 0.5s ease forwards;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.balance {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}

.money.plus { color: #4caf50; }
.money.minus { color: #f44336; }

.transaction-form {
  display: flex;
  flex-direction: column;
}

.transaction-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.transaction-list li {
  display: flex;
  justify-content: space-between;
  background: #1a1a1a;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.transaction-list li.plus span { color: #4caf50; }
.transaction-list li.minus span { color: #f44336; }

.delete-btn {
  background: #f44336;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px 6px;
}

button.delete-btn:hover {
  background: #e53935;
}

#filter {
  width: 50%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  background: #222;
  color: #eee;
}
