/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom right, #f0f4ff, #e3f2fd);
  color: #333;
  padding: 20px;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

header p {
  color: #777;
  margin-bottom: 25px;
}

.summary {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: white;
  font-weight: bold;
}

.income {
  background: #4caf50;
}

.expenses {
  background: #f44336;
}

.balance {
  background: #2196f3;
}

.chart h2,
.transactions h2 {
  margin: 20px 0 10px;
}

.pie-placeholder {
  height: 200px;
  background: #e0f2f1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.transactions ul {
  list-style: none;
  padding: 0;
}

.transactions li {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.transactions li span {
  flex: 1;
  text-align: center;
  font-size: 0.95rem;
}

.add-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0077ff;
  color: white;
  border: none;
  font-size: 28px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
  cursor: pointer;
}

@media (max-width: 600px) {
  .summary {
    flex-direction: column;
  }
}