   * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      background: #f5f7fa;
      padding: 0;
      min-height: 100vh;
    }
    
    .container {
      max-width: 1600px;
      margin: 0 auto;
      background: #f5f7fa;
    }
    
    .header {
      background: white;
      padding: 20px 30px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    
    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1600px;
      margin: 0 auto;
    }
    
    .header-left {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    
    .logo {
      width: 45px;
      height: 45px;
      border-radius: 50%;
    }
    
    .header-title {
      display: flex;
      flex-direction: column;
    }
    
    .header-title h1 {
      font-size: 1.5em;
      color: #1e293b;
      font-weight: 600;
      margin-bottom: 2px;
    }
    
    .header-title p {
      font-size: 0.9em;
      color: #64748b;
    }
    
    .filters {
      padding: 20px 30px;
      background: white;
      margin: 20px 30px;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    
    .filter-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin-bottom: 15px;
    }
    
    .filter-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .filter-group label {
      font-size: 0.85em;
      font-weight: 600;
      color: #475569;
    }
    
    select, input {
      padding: 10px 14px;
      border: 1.5px solid #e2e8f0;
      border-radius: 8px;
      font-size: 0.95em;
      transition: all 0.2s;
      background: white;
      color: #1e293b;
    }
    
    select:focus, input:focus {
      outline: none;
      border-color: #3b82f6;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }
    
    button {
      padding: 10px 20px;
      border: none;
      border-radius: 8px;
      font-size: 0.95em;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      background: #3b82f6;
      color: white;
    }
    
    button:hover {
      background: #2563eb;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    
    button:active {
      transform: translateY(0);
    }
    
    .action-buttons {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }
    
    .action-buttons button {
      flex: 1;
    }
    
    .content {
      padding: 0 30px 30px;
    }
    
    .stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
    }
    
    .stat-card {
      background: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      display: flex;
      align-items: center;
      gap: 15px;
    }
    
    .stat-icon {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
    }
    
    .stat-icon.blue {
      background: #dbeafe;
    }
    
    .stat-icon.green {
      background: #d1fae5;
    }
    
    .stat-icon.purple {
      background: #e0e7ff;
    }
    
    .stat-icon.orange {
      background: #fed7aa;
    }
    
    .stat-info h3 {
      font-size: 0.8em;
      color: #64748b;
      font-weight: 500;
      margin-bottom: 5px;
    }
    
    .stat-info .value {
      font-size: 1.2em;
      font-weight: 700;
      color: #1e293b;
    }
    
    .view-toggle {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      background: white;
      padding: 8px;
      border-radius: 10px;
      width: fit-content;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    
    .view-toggle button {
      padding: 8px 16px;
      background: transparent;
      color: #64748b;
      font-size: 0.9em;
    }
    
    .view-toggle button.active {
      background: #3b82f6;
      color: white;
    }
    
    /* Card View */
    .cards-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    
    .package-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: all 0.2s;
      position: relative;
    }
    
    .package-card:hover {
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
      transform: translateY(-2px);
    }
    
    .card-top-bar {
      height: 4px;
      background: linear-gradient(90deg, #3b82f6, #2563eb);
    }
    
    .card-top-bar.spv2 {
      background: linear-gradient(90deg, #f59e0b, #d97706);
    }
    
    .card-header {
      padding: 20px 20px 15px;
      border-bottom: 1px solid #f1f5f9;
    }
    
    .card-category {
      display: inline-block;
      padding: 4px 10px;
      background: #dbeafe;
      color: #1e40af;
      font-size: 0.75em;
      font-weight: 600;
      border-radius: 6px;
      margin-bottom: 10px;
    }
    
    .card-category.spv2 {
      background: #fef3c7;
      color: #92400e;
    }
    
    .card-package-id {
      font-size: 1.1em;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 8px;
    }
    
    .card-district {
      font-size: 0.85em;
      color: #64748b;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    
    .card-export-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      padding: 6px 12px;
      font-size: 0.75em;
      background: #10b981;
      border-radius: 6px;
    }
    
    .card-export-btn:hover {
      background: #059669;
    }
    
    .card-body {
      padding: 20px;
    }
    
    .card-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 10px 0;
      border-bottom: 1px solid #f1f5f9;
      gap: 15px;
    }
    
    .card-row:last-child {
      border-bottom: none;
    }
    
    .card-label {
      font-size: 0.8em;
      color: #64748b;
      font-weight: 500;
      white-space: nowrap;
      min-width: 100px;
    }
    
    .card-value {
      font-size: 0.85em;
      color: #1e293b;
      text-align: right;
      font-weight: 500;
      word-wrap: break-word;
      overflow-wrap: break-word;
      flex: 1;
    }
    
    .progress-section {
      margin-top: 15px;
      padding: 15px;
      background: #f8fafc;
      border-radius: 8px;
    }
    
    .progress-section h4 {
      font-size: 0.85em;
      color: #475569;
      margin-bottom: 12px;
      text-align: center;
      font-weight: 600;
    }
    
    .progress-item {
      margin-bottom: 12px;
    }
    
    .progress-item:last-child {
      margin-bottom: 0;
    }
    
    .progress-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 6px;
      font-size: 0.8em;
    }
    
    .progress-header .label {
      color: #64748b;
      font-weight: 500;
    }
    
    .progress-header .percent {
      color: #1e293b;
      font-weight: 600;
    }
    
    .progress-bar {
      width: 100%;
      height: 8px;
      background: #e2e8f0;
      border-radius: 10px;
      overflow: hidden;
    }
    
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #3b82f6, #2563eb);
      transition: width 0.5s ease;
      border-radius: 10px;
    }
    
    .progress-fill.financial {
      background: linear-gradient(90deg, #10b981, #059669);
    }
    
    .progress-fill.expenditure {
      background: linear-gradient(90deg, #f59e0b, #d97706);
    }
    
    /* Table View */
    .table-container {
      background: white;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      overflow: hidden;
      display: none;
    }
    
    .table-container.active {
      display: block;
    }
    
    .cards-container.active {
      display: grid;
    }
    
    .cards-container {
      display: none;
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
    }
    
    th {
      background: #f8fafc;
      color: #475569;
      padding: 14px 12px;
      text-align: left;
      font-weight: 600;
      position: sticky;
      top: 0;
      font-size: 0.8em;
      border-bottom: 2px solid #e2e8f0;
    }
    
    td {
      padding: 14px 12px;
      border-bottom: 1px solid #f1f5f9;
      font-size: 0.85em;
      color: #1e293b;
    }
    
    tr:hover {
      background: #f8fafc;
    }
    
    .loading {
      text-align: center;
      padding: 60px;
      font-size: 1.1em;
      color: #64748b;
    }
    
    .error {
      background: #fee2e2;
      color: #991b1b;
      padding: 15px 20px;
      border-radius: 8px;
      margin: 20px;
      border-left: 4px solid #dc2626;
    }
    
    /* Tablet - 2 cards */
    @media (max-width: 1200px) {
      .cards-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    /* Mobile - 1 card */
    @media (max-width: 768px) {
      body {
        padding: 0;
      }
      
      .header {
        padding: 15px 20px;
      }
      
      .filters {
        margin: 15px 20px;
        padding: 15px;
      }
      
      .filter-row {
        grid-template-columns: 1fr;
      }
      
      .content {
        padding: 0 20px 20px;
      }
      
      .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
      }
      
      .cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
      }
      
      .action-buttons {
        flex-direction: column;
      }
      
      .view-toggle {
        width: 100%;
      }
      
      .view-toggle button {
        flex: 1;
      }
    }
    
    @media print {
      .filters, .view-toggle, .action-buttons, .card-export-btn {
        display: none !important;
      }
    }