    body {
      font-family: Arial, sans-serif;
      margin: 0;
      background: #f5f5f5;
      color: #222;
    }

    header {
      background: #fc4c02;
      color: white;
      padding: 24px;
      text-align: center;
    }

    main {
      max-width: 1100px;
      margin: 30px auto;
      padding: 0 20px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 30px;
    }

    .card {
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .card h2 {
      margin: 0 0 10px;
      font-size: 16px;
      color: #555;
    }

    .card p {
      margin: 0;
      font-size: 28px;
      font-weight: bold;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    th, td {
      padding: 12px 14px;
      border-bottom: 1px solid #ddd;
      text-align: left;
    }

    th {
      background: #222;
      color: white;
    }

    tr:hover {
      background: #f2f2f2;
    }

    .error {
      background: #ffe6e6;
      color: #900;
      padding: 16px;
      border-radius: 8px;
      margin-bottom: 20px;
      display: none;
    }
    .chart-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bar-label {
  font-weight: bold;
}

.bar-container {
  background: #e6e6e6;
  height: 22px;
  border-radius: 12px;
  overflow: hidden;
}

.bar {
  background: #fc4c02;
  height: 100%;
  border-radius: 12px;
}

.bar-value {
  text-align: right;
}
.monthly-table {
  margin-bottom: 30px;
}
.goal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.goal-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.goal-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #555;
}

.goal-card p {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: bold;
}

.progress-container {
  background: #e6e6e6;
  height: 24px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar {
  background: #fc4c02;
  height: 100%;
  width: 0%;
  border-radius: 12px;
}

.progress-percent {
  margin-top: 10px;
  font-size: 14px !important;
  color: #555;
}