* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    background: #f5f7fb;
    color: #1f2937;
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Arial,
      sans-serif;
  }
  
  .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px 60px;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
  }
  
  .header h1 {
    margin: 0 0 8px;
    font-size: 28px;
  }
  
  .header p {
    margin: 0;
    color: #6b7280;
  }
  
  .stats {
    display: grid;
    grid-template-columns:
      repeat(
        4,
        minmax(0, 1fr)
      );
    gap: 18px;
    margin-bottom: 20px;
  }
  
  .stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px;
    box-shadow:
      0 2px 10px
      rgba(0, 0, 0, 0.04);
  }
  
  .stat-label {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .stat-value {
    font-size: 28px;
    font-weight: 700;
  }
  
  .stat-value small {
    font-size: 14px;
    font-weight: 400;
  }
  
  .balance-card {
    border-left: 4px solid #2563eb;
  }
  
  .card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow:
      0 2px 10px
      rgba(0, 0, 0, 0.04);
  }
  
  .card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
  }
  
  .card-title span {
    margin-left: 8px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: normal;
  }
  
  .filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  input {
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    background: #e5e7eb;
    color: #374151;
    font-size: 14px;
  }
  
  .btn-primary {
    background: #2563eb;
    color: #ffffff;
  }
  
  .table-wrap {
    width: 100%;
    overflow-x: auto;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
  }
  
  th,
  td {
    padding: 13px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 14px;
  }
  
  th {
    background: #f9fafb;
    color: #6b7280;
    font-weight: 500;
  }
  
  .address {
    font-family: monospace;
    font-size: 13px;
  }
  
  .empty {
    text-align: center;
    color: #9ca3af;
    padding: 40px;
  }
  
  .badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 12px;
  }
  
  .success {
    background: #dcfce7;
    color: #166534;
  }
  
  .disabled {
    background: #fee2e2;
    color: #991b1b;
  }
  
  .pending {
    background: #fef3c7;
    color: #92400e;
  }
  
  .amount-plus {
    font-weight: 600;
    color: #16a34a;
  }
  
  .amount-minus {
    font-weight: 600;
    color: #dc2626;
  }
  
  
  /* 登录页面 */
  
  .login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .login-box {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 14px;
    padding: 35px;
    box-shadow:
      0 10px 35px
      rgba(0, 0, 0, 0.08);
  }
  
  .login-box h1 {
    text-align: center;
    margin: 0 0 10px;
  }
  
  .login-desc {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
  }
  
  .login-box label {
    display: block;
    margin: 16px 0 8px;
  }
  
  .login-box input {
    width: 100%;
  }
  
  .login-btn {
    width: 100%;
    margin-top: 25px;
  }
  
  .error {
    padding: 10px;
    border-radius: 6px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 14px;
  }
  
  
  @media (
    max-width: 900px
  ) {
  
    .stats {
      grid-template-columns:
        repeat(
          2,
          minmax(0, 1fr)
        );
    }
  
  }
  
  
  @media (
    max-width: 600px
  ) {
  
    .container {
      padding: 18px 12px 40px;
    }
  
    .header {
      align-items: flex-start;
    }
  
    .header h1 {
      font-size: 22px;
    }
  
    .stats {
      grid-template-columns: 1fr;
    }
  
    .filter-form {
      align-items: stretch;
    }
  
  }