* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    :root {
      --background: #f8f9fa;
      --foreground: #1a1a1a;
      --muted: #f1f3f5;
      --muted-foreground: #6c757d;
      --card: #ffffff;
      --card-foreground: #1a1a1a;
      --border: #e9ecef;
      --primary: #6366f1;
      --primary-foreground: #ffffff;
      --secondary: #f1f3f5;
      --secondary-foreground: #1a1a1a;
      --accent: #f1f3f5;
      --accent-foreground: #1a1a1a;
      --destructive: #ff6b6b;
      --destructive-foreground: #ffffff;
      --green: #22c55e;
      --yellow: #fbbf24;
      --orange: #f97316;
      --red: #ef4444;
      --blue: #3b82f6;
    }

    body {
      background-color: var(--background);
      color: var(--foreground);
      min-height: 100vh;
      line-height: 1.5;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1.5rem;
    }

    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 2rem;
    }

    .header-title {
      font-size: 1.875rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    a {
        text-decoration: none;
        color: var(--foreground);
    }

    .header-subtitle {
      color: var(--muted-foreground);
      margin-top: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .header-actions {
      text-align: right;
    }

    .grid {
      display: grid;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .grid-cols-1 {
      grid-template-columns: 1fr;
    }

    .card {
      background-color: var(--card);
      border-radius: 0.5rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .card-header {
      padding: 1rem 1.5rem;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .card-title {
      font-size: 0.875rem;
      font-weight: 600;
    }

    .card-description {
      font-size: 0.875rem;
      color: var(--muted-foreground);
      margin-top: 0.25rem;
    }

    .card-content {
      padding: 1.5rem;
    }

    .stat-value {
      font-size: 1.5rem;
      font-weight: 700;
    }

    .stat-value.green {
      color: var(--green);
    }

    .stat-value.red {
      color: var(--red);
    }

    .stat-value.blue {
      color: var(--blue);
    }

    .stat-value.orange {
      color: var(--orange);
    }

    .stat-label {
      font-size: 0.75rem;
      color: var(--muted-foreground);
      margin-top: 0.25rem;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      border-radius: 9999px;
      padding: 0.25rem 0.75rem;
      font-size: 0.75rem;
      font-weight: 500;
      margin-top: 0.5rem;
      background-color: var(--secondary);
      color: var(--secondary-foreground);
    }

    .badge-dot {
      width: 0.5rem;
      height: 0.5rem;
      border-radius: 9999px;
      margin-right: 0.5rem;
    }

    .badge-dot.green {
      background-color: var(--green);
    }

    .badge-dot.yellow {
      background-color: var(--yellow);
    }

    .badge-dot.orange {
      background-color: var(--orange);
    }

    .badge-dot.red {
      background-color: var(--red);
    }

    .badge.destructive {
      background-color: var(--destructive);
      color: var(--destructive-foreground);
    }

    /* Button styles */
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 0.375rem;
      font-size: 0.875rem;
      font-weight: 500;
      height: 2.5rem;
      padding-left: 1rem;
      padding-right: 1rem;
      background-color: var(--primary);
      color: var(--primary-foreground);
      cursor: pointer;
      border: none;
      transition: background-color 0.2s;
    }

    .button:hover {
      background-color: #5558e0;
    }

    .button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .table-container {
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }

    th, td {
      text-align: left;
      padding: 0.5rem;
    }

    th {
      font-weight: 600;
    }

    tr {
      border-bottom: 1px solid var(--border);
    }

    tr:hover {
      background-color: var(--muted);
    }

    .font-mono {
      font-family: monospace;
    }

    .text-green {
      color: var(--green);
    }

    .text-red {
      color: var(--red);
    }

    .text-bold {
      font-weight: 700;
    }

    .loading, .error {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      text-align: center;
    }

    .loading-icon, .error-icon {
      width: 2rem;
      height: 2rem;
      margin-bottom: 1rem;
    }

    .loading-icon {
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }

    .empty-state {
      text-align: center;
      padding: 2rem 0;
      color: var(--muted-foreground);
    }

    .chart-container {
      position: relative;
      height: 300px;
      width: 100%;
    }

    @media (min-width: 768px) {
      .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .icon {
      width: 1rem;
      height: 1rem;
      display: inline-block;
      vertical-align: middle;
    }

    .icon.large {
      width: 1.5rem;
      height: 1.5rem;
    }

    .flex {
      display: flex;
    }

    .gap-1 {
      gap: 0.25rem;
    }