.recharge-orders-page {
  padding: 16px;
  background: #f5f5f5;
  min-height: 100vh;

  .orders-list {
    .order-card {
      margin-bottom: 12px;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      overflow: hidden;

      .order-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;

        .order-info {
          flex: 1;

          .order-no {
            font-size: 14px;
            color: #333;
            font-weight: 500;
            margin-bottom: 4px;
          }

          .order-time {
            font-size: 12px;
            color: #999;
            display: flex;
            align-items: center;
            gap: 4px;
          }
        }

        .order-amount {
          text-align: right;

          .amount-text {
            font-size: 18px;
            font-weight: 600;
            color: #52c41a;
            margin-bottom: 4px;
          }

          .status-tag {
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 10px;
          }
        }
      }

      .order-details {
        padding: 12px 16px;

        .detail-row {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 8px;
          font-size: 14px;

          &:last-child {
            margin-bottom: 0;
          }

          .label {
            color: #666;
          }

          .value {
            color: #333;
            font-weight: 500;
          }
        }

        .payment-method {
          display: flex;
          align-items: center;
          gap: 8px;
          margin-bottom: 8px;

          .method-icon {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #fff;
          }

          .method-text {
            font-size: 14px;
            color: #333;
          }
        }

        .balance-info {
          background: #f8f9fa;
          padding: 8px 12px;
          border-radius: 6px;
          font-size: 12px;
          color: #666;
          margin-top: 8px;
        }
      }

      .order-actions {
        padding: 12px 16px;
        border-top: 1px solid #f0f0f0;
        display: flex;
        gap: 8px;

        .action-btn {
          flex: 1;
          height: 32px;
          border-radius: 6px;
          font-size: 12px;
          border: none;
          cursor: pointer;
          transition: all 0.2s;

          &.primary {
            background: #1677ff;
            color: #fff;

            &:hover {
              background: #0958d9;
            }
          }

          &.secondary {
            background: #f5f5f5;
            color: #666;
            border: 1px solid #d9d9d9;

            &:hover {
              background: #e6e6e6;
            }
          }

          &.danger {
            background: #ff4d4f;
            color: #fff;

            &:hover {
              background: #cf1322;
            }
          }
        }
      }
    }
  }

  .empty-state {
    padding: 60px 20px;
    text-align: center;

    .empty-icon {
      font-size: 48px;
      color: #d9d9d9;
      margin-bottom: 16px;
    }

    .empty-text {
      font-size: 14px;
      color: #999;
    }
  }

  .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;

    .loading-text {
      margin-top: 12px;
      font-size: 14px;
      color: #666;
    }
  }

  .load-more {
    text-align: center;
    padding: 16px;
    color: #1677ff;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
    border-radius: 8px;
    margin-top: 12px;

    &:hover {
      background: #f0f8ff;
    }
  }

  .filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    .filter-tabs {
      display: flex;
      gap: 8px;

      .filter-tab {
        flex: 1;
        height: 32px;
        border-radius: 16px;
        font-size: 12px;
        border: 1px solid #d9d9d9;
        background: #fff;
        color: #666;
        cursor: pointer;
        transition: all 0.2s;

        &.active {
          background: #1677ff;
          color: #fff;
          border-color: #1677ff;
        }

        &:hover:not(.active) {
          border-color: #1677ff;
          color: #1677ff;
        }
      }
    }
  }
}
