 * {
      box-sizing: border-box;
      font-family: Arial, Helvetica, sans-serif;
    }

    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #43cea2, #185a9d);
    }

    .container {
      background: #fff;
      width: 360px;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

    h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    .balance {
      text-align: center;
      margin-bottom: 20px;
    }

    .balance h3 {
      margin: 0;
      font-size: 18px;
      color: #555;
    }

    .balance h1 {
      margin: 5px 0;
      color: #2c3e50;
    }

    .summary {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .summary div {
      width: 48%;
      padding: 10px;
      border-radius: 6px;
      text-align: center;
    }

    .income {
      background: #e8f8f5;
      color: #27ae60;
    }

    .expense {
      background: #fdecea;
      color: #e74c3c;
    }

    form {
      margin-bottom: 20px;
    }

    input {
      width: 100%;
      padding: 8px;
      margin-bottom: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    button {
      width: 100%;
      padding: 10px;
      background: #3498db;
      color: #fff;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }

    button:hover {
      opacity: 0.9;
    }

    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      max-height: 200px;
      overflow-y: auto;
    }

    li {
      background: #f4f4f4;
      padding: 10px;
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-left: 5px solid;
      border-radius: 4px;
    }

    li.plus {
      border-color: #2ecc71;
    }

    li.minus {
      border-color: #e74c3c;
    }

    .delete-btn {
      background: transparent;
      border: none;
      color: #999;
      cursor: pointer;
      font-size: 18px;
    }

    .delete-btn:hover {
      color: #e74c3c;
    }